(CNN) -- Somali pirates have released a British chemical tanker after receiving a ransom payment, the European Union Naval Force said Friday.
The St. James Park tanker was safely on its way after ransom was delivered Thursday, the force said. It had been anchored in Garacad, Somalia.
Officials did not say how much ransom was paid or where the ship was headed.
The ship was on its way to Thailand on December 28, 2009, when pirates hijacked it in the Gulf of Aden, a body of water between Somalia and Yemen, the naval force said.
Twenty-six crew members were onboard -- including Bulgarians, Filipinos, Georgians, Indians, Poles, Romanians, Russians, Turks and Ukrainians, according to the naval force.