Iran's president Hassan Rouhani said on Sunday that the top foreign policy priority for his new government was to protect the nuclear deal from being torn up by the United States.
"The most important job of our foreign minister is first to stand behind the JCPOA, and not to allow the US and other enemies to succeed," Mr Rouhani told parliament, using the technical name for the 2015 deal that eased sanctions in exchange for curbs to Iran's nuclear programme.
"Standing up for the JCPOA means standing up to Iran's enemies," he added on the last day of debates over his cabinet selections.
Mr Rouhani indicated a week ago that Iran was ready to walk out on the nuclear deal if the US continued to apply fresh sanctions.
US president Donald Trump repeatedly threatened to tear up the deal during his campaign, and it has come under mounting pressure after Tehran carried out missile tests and Washington imposed new sanctions — with each accusing the other of violating the spirit of the agreement.
But Mr Rouhani has insisted the deal remains Iran's preferred way forward, not least to help rebuild the country's struggling economy and create jobs.
"The second responsibility of the foreign ministry … is to get involved in economic activities. It should help attract foreign investment and technology," Mr Rouhani said, adding that Iran needed US$200 billion (Dh734.5bn) in investments for the oil and gas sector alone.
The Iranian parliament approved 16 of Mr Rouhani's 17 cabinet picks, rejecting his suggested minister of energy, a reformist named Habibollah Bitaraf.
Foreign minister Mohammad Javad Zarif, who was the charismatic face of Iran's nuclear negotiations, retained his position, as did oil minister Bijan Namdar Zanganeh, who recently struck a billion-dollar deal with French giant Total.
Mr Rouhani, a political moderate, worked hard behind the scenes to secure support for his choices, including from the supreme leader and the military.
He began his second term earlier this month after winning a resounding victory over a hardline challenger in May, vowing to continue his outreach to the world and improve civil liberties at home.
But he has angered reformists by again failing to appoint a single woman minister, and looks no closer to securing the release of jailed opposition leaders — one of whom, Mehdi Karroubi, briefly went on hunger strike last week to demand a trial after six years under house arrest.
Mr Rouhani has yet to appoint a minister of science, research and technology, which conservatives consider to be a sensitive post.