BEIRUT (Reuters) - Iran put a ballistic missile on display as thousands marched on Saturday to mark the anniversary of the 1979 seizure of the U.S. embassy, with a senior official accusing President Donald Trump of a “crazy” return to confrontation with Tehran.

Turnout for the annual Iranian street rallies commemorating the embassy takeover, a pivotal event of the Islamic Revolution, appeared higher than in recent years when Trump’s predecessor Barack Obama pursued detente with Tehran.

Last month, Trump broke ranks with European allies, Russia and China by refusing to re-certify Iran’s compliance with its 2015 nuclear deal with world powers, reached during Obama’s tenure. Under that deal, most international sanctions on Iran were lifted in exchange for Tehran curbing nuclear activity seen to pose a risk of being put to developing atomic bombs.

Iran has reaffirmed its commitment to the deal and U.N. inspectors have verified Tehran is complying with its terms, but Iranian Supreme Leader Ayatollah Ali Khamenei has threatened to “shred” the pact if the United States pulls out.

“All the governments confirm that the American president is a crazy individual who is taking others toward the direction of suicide,” Ali Shamkhani, secretary of the Supreme National Security Council, told a rally in Tehran, state media reported.

“Trump’s policies against the people of Iran have brought them out into the streets today,” Shamkhani said.

He did not identify the governments he had in mind. The other parties to the nuclear deal - Russia, China, Britain, France and Germany - have voiced disquiet at Trump’s opposition to it, fearing this could stir new Middle East instability.

FILE PHOTO: Iran's national flags are seen on a square in Tehran February 10, 2012, a day before the anniversary of the Islamic Revolution. REUTERS/Morteza Nikoubazl/File Photo

But the Europeans share U.S. concern over Iran’s ballistic missile program and “destabilizing” regional behavior.

NOT NEGOTIABLE

Senior Iranian officials have repeatedly said that the Islamic Republic’s missile program is solely defensive in nature and is not negotiable.

In a sign of defiance, a Ghadr ballistic missile with a range of 2,000 km (1,240 miles) was put on display near the ex-U.S. embassy in Tehran, now a cultural center, during Saturday’s street demonstration, Tasnim news agency said.

“That America thinks Iran is going to put aside its military power is a childish dream,” said Brigadier General Hossein Salami, deputy head of its elite Revolutionary Guards which oversees the missile development, according to Tasnim.

Fars news agency posted pictures of demonstrators nearby burning an effigy of Trump and holding up signs saying “Death to America”.

Iran and the United States severed diplomatic relations soon after the 1979 revolution, during which hardline students seized the embassy and took 52 Americans hostage for 444 days.

Shamkhani spoke a few days after Khamenei said the United States was the “number one enemy” of the Islamic Republic.

U.S.-Iranian tensions have risen anew at a time when Tehran has been improving political and military ties with Russia.

Russian President Vladimir Putin visited Tehran on Wednesday. Khamenei told him that Tehran and Moscow must step up cooperation to isolate the United States and help defuse conflict in the Middle East.

Iran and Russia are both fighting on the side of Syrian President Bashar al Assad against rebels, some of them U.S.-backed, and Islamist militants trying to overthrow him.