(CNN) -- Somali pirates released a German cargo ship Saturday that they have held since May, the German Foreign Ministry said.
The MV Victoria was able to set sail on its own with all of its crew after being released, a ministry spokesman said.
It was not clear whether a ransom was paid.
Pirates hijacked the vessel May 5 as it was sailing to Jeddah, Saudi Arabia, with 10,000 tons of rice, Andrew Mwangura of the Seafarers' Assistance Program told CNN affiliate network ITN.
All the crew members are Romanian, he said.
Thank God that these crewmembers are now free to resume their lives and return to their homes and loved ones. Please continue to pray for the many other ships and their crews still in the hands of pirates.