The operator of a Marshall Islands-flagged cargo ship seized by Iran said the vessel has been released and that the crew are all in good condition.
Rickmers Ship Management said that the MV Maersk Tigris had been released following a court order.
It will now continue its scheduled voyage to Jebel Ali, in the United Arab Emirates, where it will be met by representatives from Rickmers and others.
Iranian forces seized the ship on April 28 as it traversed the Strait of Hormuz. It was taken to Bandar Abbas, the main port of Iran's navy, under escort by Iranian patrol boats.
Iran claimed that the Danish shipping company that chartered the ship, Maersk Line, owed money to an Iranian firm. Rickmers' statement did not mention whether any money was paid.