0330 GMT June 21, 2021
The fishermen were freed through the efforts of the Iranian Embassy and after going through the necessary legal procedures, Iran's official news agency, IRNA, reported on Friday.
The report added that the Iranian embassy had contacted the Kenyan police and foreign ministry and supplied them with food, clothing and other necessities as well as necessary medical attention.
Earlier, Kenya police spokesman George Kinoti said the Iranians, who were on board a fishing vessel, were safe.
"The National Police service maritime unit on their routine border patrol within the Indian Ocean saw six Iranian nationals who had been stranded at the sea for about three months,” Kinoti said.