TEHRAN, Iran -- President Donald Trump's refusal to certify the Iran nuclear deal has sparked a new war of words between the Islamic Republic and America, fueling growing mistrust and a sense of nationalism among Iranians.

The speech has served to unite Iranians across the political spectrum -- fed also by anger over Trump's refusal to refer to the Persian Gulf, the waterway through which a third of all oil traded by sea passes, by name.

The reaction is undercutting those trying to change Iran's clerically overseen government from within, and likely will strengthen the hand of hard-liners who long have insisted the U.S. remains the same "Great Satan" denounced in the 1979 Islamic Revolution.

"Under the deal, it was supposed to be that we get concessions, not that we give more concessions," the hard-line newspaper Kayhan raged.

Iranian officials and media outlets on Saturday uniformly condemned Trump for accusing Iran of violating the spirit of the 2015 accord and calling on Congress to toughen the law governing U.S. participation. Trump said he was not ready to pull out of the deal but warned he would do so if it were not improved.

In a televised speech shortly after Trump made his announcement, Iranian President Hassan Rouhani said his country would remain in the deal, but criticized Trump's words, referring to them as "cursing and futile accusations."

Rouhani also said Iran would continue to build and test ballistic missiles, something allowed under the nuclear deal though Americans believe it violates the accord's spirit.

"We have always been determined, and today we are more determined," Rouhani said. "We will double our efforts from now on."

The Iranian president also offered a list of moments that showed the United States could not be trusted by the average Iranian, dating back to the 1953 CIA-backed coup that cemented U.S.-backed Shah Mohammad Reza Pahlavi's power.

Like many others in Iran, Rouhani focused on the fact that Trump used the term "Arabian Gulf" to refer to the Persian Gulf. Some traded online video clips of past American presidents calling it the Persian Gulf, while one semi-official news agency published a photo gallery with the title "Persian Gulf forever."

Posts with the hashtag PersianGulf and the Iranian flag circulated on social media.

The name of the body of water has become an emotive issue for Iranians who embrace their country's long history as the Persian Empire, especially as U.S. Gulf Arab allies and the American military now call it the "Arabian Gulf." Rouhani even suggested during his speech that Trump needed to "study geography."

"Everyone knew Trump's friendship was for sale to the highest bidder. We now know that his geography is, too," Iranian Foreign Minister Mohammad Javad Zarif wrote on Twitter.

Later in the day, Zarif said in a televised interview that "Trump and the U.S. are not in a position to certify Iran's compliance to its commitments" under the deal.

Zarif said the U.N. nuclear watchdog, the International Atomic Energy Agency, is the only authorized body for certification of the deal.

He also criticized Trump for calling Iran a rebellious government. Without using any name, he added: "Rebellious is the one who is not loyal to international regulations. The individual who tramples commitments of its country deserves the title more than anybody else."

Zarif reiterated that if Iran finds its interests are not guaranteed as the accord is implemented, then quitting the deal will be an option for Tehran. "Any time that the Islamic Republic feels activities are not enough in lifting sanctions, it can have its own options, and one of them is quitting the deal," he said.

Zarif went on, with sarcasm, to mention Bahrain, the United Arab Emirates and Saudi Arabia, all hereditarily ruled Gulf nations, saying: "No wonder supporters of Trump's inane Iran speech are those bastions of democracy in the Persian Gulf."

Reformist activist Mostafa Tajzadeh, who spent seven years in prison following the turmoil of the 2009 disputed re-election of President Mahmoud Ahmadinejad, also urged for a united stance against Trump.

"One nation, one message: No to .Trump. We're all in this together," Tajzadeh tweeted.

Recent surveys have said an increasing majority of Iranians are skeptical that the U.S. will live up to its obligations in the nuclear deal. Meanwhile, most have yet to see the benefits of the deal itself as Iran's economy still struggles to overcome rampant inflation, few jobs and bad loans to its banks.

"Iran has in no way violated the nuclear deal, and as far as we know it has always remained committed to its promises, but it has always been (the Americans) who have broken their promises and have had other options on the table," Tehran resident Hamed Ghassemi said.

The U.S. has also levied new sanctions against Iran's paramilitary Revolutionary Guard, whose forces fight the Islamic State group in Iraq, support embattled Syrian President Bashar Assad, have tense encounters with U.S. warships in the Persian Gulf and run the country's ballistic missile program.

However, the U.S. has balked at adding the Guard's name to a formal State Department list of foreign terrorist organizations. That could have proven problematic, especially with the Guard's vast economic holdings across Iran.

Gen. Masoud Jazayeri, a Guard commander and spokesman for Iran's joint armed forces staff, said late Friday that the country's military will continue boosting its power and influence.

"We tell the corrupt and evil government of the U.S. that we will continue promoting defensive power of the country, more determined and with more motive than before," Jazayeri was quoted as saying by the Guard's news website. "We do not spare a while for defending suppressed people in any point of the world."

------

Associated Press writer Nasser Karimi reported this story in Tehran and AP writer Jon Gambrell reported from Dubai, United Arab Emirates.