Iran's Foreign Minister Mohammad Javad Zarif, the urbane, U.S.-educated architect of its 2015 nuclear deal with world powers, announced his resignation unexpectedly on Monday on Instagram.
"Many thanks for the generosity of the dear and brave people of Iran and its authorities over the past 67 months. I sincerely apologise for the inability to continue serving and for all the shortcomings during my service. Be happy and worthy," he wrote on his Instagram page jzariftir.
He gave no specific reasons for his decision.
Zarif played the lead role in striking the deal under which Iran agreed to curbs on its nuclear programme in return for the lifting of international financial sanctions.
He came under attack from anti-Western hardliners in Iran after the United States pulled out of the agreement last May and reimposed sanctions.
A spokesman for the Iranian mission to the United Nations, Alireza Miryousefi, confirmed the announcement of the resignation. However there was no immediate word on whether President Hassan Rouhani would accept it.
Iran's semi-official Tasnim news agency said "some sources have confirmed Zarif's resignation".
Born in 1960, Zarif lived in the United States from the age of 17 as a student in San Francisco and Denver, and subsequently as a diplomat to the United Nations in New York, where he served as Iranian ambassador from 2002 to 2007.
He was appointed minister of foreign affairs in August 2013 after Rouhani won the presidency in a landslide on a promise to open up Iran to the outside world. Since taking charge of Iran's nuclear talks with major powers in late 2013, Zarif has been summoned to the parliament several times by hardline lawmakers to explain about the negotiations.
In February 2014 he caused an uproar with public comments condemning the Holocaust and was subsequently summoned to parliament. Holocaust denial has been a staple of public speeches in Iran for decades.
Some hardliners even threatened Zarif with bodily harm after the nuclear deal was signed. Iran's top authority, Supreme Leader Ayatollah Ali Khamenei, guardedly backed the deal.