This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

(CNN) — President Donald Trump warned Sunday that the United States is watching Iran’s treatment of protesters for human rights violations after anti-government protests there turned deadly this weekend.

“Big protests in Iran,” Trump tweeted. “The people are finally getting wise as to how their money and wealth is being stolen and squandered on terrorism. Looks like they will not take it any longer. The USA is watching very closely for human rights violations!”

Earlier Sunday, the Iranian government issued a stern warning that protesters will “pay the price” for their actions, with Interior Minister Abdolreza Rahmani Fazli saying that what he categorized as the misuse of social networks by some individuals “are causing violence and fear” and that “such behavior will be smashed,” according to IRNA. Iran’s official news agency.

Iran’s government on Saturday warned its citizens against holding “illegal” public gatherings, following two days of rare anti-government protests which spread to a number of cities.

The protests — described as the largest public display of discontent since the 2009 Green Movement in Iran — have emerged against a backdrop of rising food and gasoline prices.

The unrest has prompted verbal sparring between Iran and the United States, with the White House and Trump on Friday urging Tehran to respect protesters’ rights.

“There are many reports of peaceful protests by Iranian citizens fed up with the regime’s corruption and its squandering of the nation’s wealth to fund terrorism abroad,” said White House press secretary Sarah Sanders. “The Iranian government should respect their people’s rights, including their right to express themselves. The world is watching.”

Trump subsequently tweeted the same message.

Many reports of peaceful protests by Iranian citizens fed up with regime’s corruption & its squandering of the nation’s wealth to fund terrorism abroad. Iranian govt should respect their people’s rights, including right to express themselves. The world is watching! #IranProtests — Donald J. Trump (@realDonaldTrump) December 30, 2017

In a pair of tweets on Saturday, Trump again addressed the protests, writing: “The entire world understands that the good people of Iran want change, and, other than the vast military power of the United States, that Iran’s people are what their leaders fear the most….”

Trump continued: “Oppressive regimes cannot endure forever, and the day will come when the Iranian people will face a choice. The world is watching!”

The entire world understands that the good people of Iran want change, and, other than the vast military power of the United States, that Iran’s people are what their leaders fear the most…. pic.twitter.com/W8rKN9B6RT — Donald J. Trump (@realDonaldTrump) December 30, 2017

Oppressive regimes cannot endure forever, and the day will come when the Iranian people will face a choice. The world is watching! pic.twitter.com/kvv1uAqcZ9 — Donald J. Trump (@realDonaldTrump) December 30, 2017

In the Saturday tweets, Trump posted videos of a speech he gave to the United Nations in September, in which he said, “The entire world understands that the good people of Iran want change.”

Trump campaigned for president with a hard-line stance on Iran, calling the country the “No. 1 terror state” during a debate with former Secretary of State Hillary Clinton. As President, he has tried to keep that hard-line stance and announced earlier this year that he plans to decertify the Iran nuclear agreement and push Congress to a new plan to deal with Iran’s nuclear program.

By weighing in on the protests, though, Trump is wading into a tricky issue that has befuddled presidents ever since the Iranian Revolution of 1979 ended relations between Washington and Tehran.

Former President Barack Obama’s response to protests in Iran in 2009 was timid initially, but grew more forceful. Although those protests eventually fizzled, Obama looked to deal with Iran by minting the nuclear agreement that Trump has tried to scrap.

Obama also looked to rekindle direct talks between Iran and the United States, including in 2013, when he became the first US president to speak with an Iranian president — Hassan Rouhani in this case — since 1979.

Former President George W. Bush dealt with Iran more forcefully, but to mixed results, labeling the country in 2002 as part of an “axis of evil” that included Iraq and North Korea. Bush’s stance was the result of a softer approach taken by former President Bill Clinton, who worked at length to foster relations with former President Mohammad Khatami.

The difficult issue that American presidents have had to confront is how to support anti-government protests in Iran without dooming those same demonstrations by allowing Tehran to paint them as closely aligned with the United States, an allegation seen in Iran as a slight.

Republican Sen. Lindsey Graham, of South Carolina, said the protests show that Obama’s policies failed the region.

“The people are not getting the benefit of sanctions relief,” he said on CBS’s “Face the Nation.” “They are more upset with their oppressors than ever. The money from sanctions relief is going to rebuilding the Iranian military and is destabilizing the Middle East.”

Graham also said Trump needs to do more to help the region.

“It’s not enough to watch,” Graham said. “President Trump is tweeting very sympathetically to the Iranian people. But you just can’t tweet here. You have to lay out a plan.”

Former Republican presidential candidate Mitt Romney praised the protests in Iran, calling the protesters “heroes” in a tweet Sunday.

Profoundly moving to watch those seeking freedom in Iran. Patriots afar remind us of the patriots who won our own freedom and also those who preserve it. Heroes all. — Mitt Romney (@MittRomney) December 31, 2017

“Profoundly moving to watch those seeking freedom in Iran,” Romney tweeted. “Patriots afar remind us of the patriots who won our own freedom and also those who preserve it. Heroes all.”

Ambassador to the United Nations Nikki Haley said in a statement that her hopes and prayers are with “the long-repressed Iranian people,” who “are now finding their voice.”

“The Iranian government is being tested by its own citizens,” she said in the statement. “We pray that freedom and human rights will carry the day.”