Somali pirates have freed a Taiwanese ships held since May, just one day after two others from South Korea were released to the US Navy.
Andrew Mwangura, head of the East African Seafarers' Assistance Programme, said on Monday that the ship and its crew, eight Kenyans and four Taiwanese, were freed from a "pirate-held port" north of Mogadishu.
"The Ching Fong Hwa number 168 has been released today off Harardheere. It has been there since May," Mwangura told Reuters news agency. "We hear the crew is safe."
The United States Navy's Fifth Fleet confirmed the release.
A payment was reportedly made for the boat but Mwangura said he did not know about a ransom.
The Taiwanese vessel went free as five US warships were escorting two South Korean vessels to Yemen. The Korean ships, registered in Tanzania's Zanzibar islands and released on Sunday, had also been held for five months.
The waters off Somalia are some of the most dangerous shipping lanes in the world.
A South Korean foreign ministry statement, released late on Sunday, said all 24 crew from the two ships - 10 Chinese, four South Koreans, four Indonesians, three Indians and three Vietnamese - were safe.
It said: "The government strongly condemns this international act of piracy where innocent crew members were kidnapped and detained for a long time, and proclaims it will join in the international community's effort to stop such actions."
Armed men attacked the vessels, the Mavuno 1 and Mavuno 2, off the Somali coast on May 15 as they were travelling to Yemen.
A North Korean cargo ship, the MV Dai Hong Dan, was seized by armed men last week of Somalia's coast, but the crew managed to regain control of the vessel with assistance from the US navy.
Somali pirates are still holding two other ships: a Japanese-owned chemical tanker seized last week and a cargo ship registered in Comoros.
Piracy has been rife off Somalia's coast since Siad Barre, the country's former rule, was removed from power in 1991.
Many pirates claim to be "coastguards", protecting their waters against illegal fishing and dumping of toxic waste.