Iran's supreme leader has criticised new US sanctions on Tehran signed by President Donald Trump and vowed his country would continue its missile programme despite international pressure.
Washington will "use any excuse to make a fuss" against Iran, said Ayatollah Ali Khamenei, speaking at a ceremony marking the formal endorsement of President Hassan Rouhani for his second term in office.
"You launch a satellite-carrying missile, they make noise," he said, describing the Iranian launch as a "scientific and technical job that is routine and necessary."
"The response to the hostility is to become stronger," Mr Khamenei added, as he described the US government as "the top aggressor and the most shameless" enemy of Iran.
"Some have sharply applied hostility (against Iran), like those who today are in office in the US," Mr Khamenei said, without mentioning Mr Trump or the US president's signing of the legislation on Wednesday.
The law also imposed new sanctions on Russia and North Korea.
According to a letter sent to the UN Security Council and obtained by the Associated Press, the US and three Western allies called Iran's recent launch of a satellite-carrying rocket "a threatening and provocative step" that is "inconsistent" with a UN resolution endorsing the 2015 nuclear deal with world powers.
Iran last week launched the country's most advanced satellite-carrying rocket into space, marking the most significant step forward for the Islamic nation's young space programme.
In the letter to the Security Council, the US, France, Germany and the United Kingdom complained that the Simorgh space launch vehicle, if configured as a ballistic missile, would have the range and "payload capacity to carry a nuclear warhead".
Iran maintains the 2015 nuclear deal that put caps on its uranium enrichment programme - a possible pathway to nuclear weapons - and the Security Council resolution endorsing that deal do not ban the country from ballistic missile activity.
Russia, one of the five world powers that brokered the nuclear deal, has agreed with Tehran.
On Tuesday, Iran's parliament speaker Ali Larijani announced that Tehran has officially complained to the UN Security Council over the latest US sanctions.
Mr Khamenei, who has the final say on all state matters, said Iran should continue to stand powerful in the face of its enemies.
"International engagement should not lead to ignoring hostility of the enemies," Mr Khamenei said at the ceremony, broadcast live on state TV.
He added that "despite all the sanctions and enmities, the Islamic Republic is stronger" than before.
Mr Rouhani, who will be formally sworn into office on Saturday in parliament, said the nuclear deal has been a sign of "good faith" by Iran and that it brought the nation respite from "most difficult" UN sanctions.
"Transition from the most difficult sanctions was achieved through a combination of the power of diplomacy and deterrent defensive power," said Mr Rouhani.
He said that in his second term in office, Iran will "insist on constructive engagement with the world more than before".
Earlier, the state TV website quoted deputy foreign minister and senior nuclear negotiator Abbas Araghchi as saying that Iran will come up with a "smart" reaction to the latest US sanctions.
Mr Araghchi reiterated Iran's stance that the US legislation signed by Mr Trump amounts to a "hostile" breach of the landmark 2015 nuclear deal.
Tehran has prepared measures that Iran would take against the US action, he added without elaborating, except to say some of the measures will "improve" Iran's armed forces.
The US legislation imposes mandatory penalties on people involved in Iran's ballistic missile programme and anyone who does business with them.
It would also apply terrorism sanctions to Iran's prestigious Revolutionary Guard and enforce an arms embargo.