Crowds chanted "Death to America, death to Israel" as hundreds of thousands of Iranians gathered at rallies to mark the 40th anniversary of the Islamic Revolution.
Iranians celebrated the 1979 overthrow of Shah Mohammad Reza Pahlavi, who was supported by the USA, "waving Iranian flags, chanting "Death to America" and burning US and Israeli flags", reported The Associated Press.
Monday's rallies included chants and banners declaring "Death to America" and "Death to Israel".
In a speech at Tehran's Azadi (Freedom) square, Rouhani said USA efforts to separate Iran from other countries would fail.
He said that while Iran will continue to have "constructive engagement" with the worldwide community, it will not ask for permission to produce any type of missile it wants.
In this February 11, 2016 file photograph, an Iranian woman holds the national flag during a rally commemorating the 37th anniversary of the Islamic revolution, in Tehran, Iran. They end on February 11, the day that the outgoing government collapsed.
U.S. President Donald Trump pulled out of Iran's 2015 nuclear deal with world powers previous year and re-imposed sanctions on Tehran, dealing a blow to the country's economy. "The enemies are now confessing to their defeat", said Rouhani. "However, this would be the last anniversary of the revolution that they celebrate". "They will not achieve their ill-omened aims".
Rouhani pledged to pursue Iran's missile programme to defend the country from external threats.
Dismissing calls that Iranian regional influence should be curbed, the deputy commander of Iran's Islamic Revolutionary Guards Corps (IRGC) was quoted as saying on February 11 that "the enemy can not ask us to leave the region". "I see a bright future for him and our nation", Hosseinpour said. "My mother, despite her illness, asked me to bring her out", he said.
As you can imagine, more people are reading The Jerusalem Post than ever before.
In Washington, US National Security adviser John Bolton, who in 2017 expressed the hope that Iran's "revolution will not reach its 40th birthday", tweeted that after 40 years, the "Islamic Republic of Iran has failed to fulfil its promises to uphold and safeguard the rights of its citizens".
Soldiers, students, clerics and black-clad women holding small children thronged streets across Iran, many carrying portraits of Khomeini, who died in 1989, and Iran's current Supreme Leader Ayatollah Ali Khamenei.
Last year, Iran cracked down on protests over poor living standards.
The Iranian people "will not stop saying "Death to America" as long as the USA acts malicious" toward Iran, Khamenei said, referring to Trump's State of the Union address in which the American president, among other things, said: "We will not avert our eyes from a regime that chants death to America".