Two Greek suezmax tankers detained for nearly six months by Iran in a tit-for-tat battle over the seizure of sanctioned oil have been released.

The 157,400-dwt Delta Poseidon (built 2011) and 150,000-dwt Prudent Warrior (built 2017) both left the Iranian port of Bandar Abbas and were heading to the United Arab Emirates.

Greece’s shipping ministry said the final agreement to release the Delta Tankers and Polembros Shipping-managed vessels in exchange for an Iranian-flagged aframax was reached on Wednesday in Tehran.