Donald Trump has purported to stand in solidarity with the “brave, long suffering people of Iran”, days after threatening to commit war crimes by destroying their cultural sites.

In a series of tweets written in Farsi and English, he claimed to have been an ally of the Iranian people throughout his presidency, despite having introduced measures to stop them entering the US with his so-called Muslim travel ban and subjecting them to harsh economic sanctions.

Days after committing what was widely seen as an act of war, Mr Trump urged the regime to uphold the human rights of hundreds of angry demonstrators, who turned out in Tehran to protest the “unintentional” shooting down of a Ukrainian plane.

The tragedy cost all 176 passengers their lives and, until Friday, the government knowingly denied responsibility.

The cover-up appears to have thrust into disarray the rare moment of national unity that followed the Trump-ordered assassination of Iran’s top general, Qassem Soleimani, which is thought to have seen millions take part in unprecedented memorial proceedings.

Iran plane crash: Ukraine Boeing 737 comes down near Tehran Show all 18 1 /18 Iran plane crash: Ukraine Boeing 737 comes down near Tehran Iran plane crash: Ukraine Boeing 737 comes down near Tehran People stand near the wreckage after a Ukrainian plane carrying 176 passengers crashed near Imam Khomeini airport in Tehran ISNA/AFP via Getty Iran plane crash: Ukraine Boeing 737 comes down near Tehran People and rescue teams are pictured amid bodies and debris All 176 people on board a Ukrainian passenger plane were killed when it crashed shortly after taking off, Iranian state media reported ISNA/AFP via Getty Iran plane crash: Ukraine Boeing 737 comes down near Tehran One of the engines State news agency IRNA said 167 passengers and nine crew members were on board the aircraft operated by Ukraine International Airlines Iran Press via Reuters Iran plane crash: Ukraine Boeing 737 comes down near Tehran Rescue teams work at the scene AFP via Getty Iran plane crash: Ukraine Boeing 737 comes down near Tehran Passengers' belongings West Asia News Agency via Reuters Iran plane crash: Ukraine Boeing 737 comes down near Tehran Members of the International Red Crescent collect bodies of victims EPA Iran plane crash: Ukraine Boeing 737 comes down near Tehran Rescue teams work amidst debris AFP via Getty Iran plane crash: Ukraine Boeing 737 comes down near Tehran A relative of a victim reacts at Boryspil International Airport, outside Kiev Reuters Iran plane crash: Ukraine Boeing 737 comes down near Tehran Rescue workers search the scene where a Ukrainian plane crashed in Shahedshahr, southwest of the capital Tehran, Iran, Wednesday, Jan. 8, 2020. A Ukrainian airplane with more than 170 people crashed on Wednesday shortly after takeoff from Tehran's main airport, killing all onboard. (AP Photo/Ebrahim Noroozi) Ebrahim Noroozi AP Iran plane crash: Ukraine Boeing 737 comes down near Tehran TOPSHOT - People and rescue teams are pictured amid the wreckage after a Ukrainian plane carrying 176 passengers crashed near Imam Khomeini airport in the Iranian capital Tehran early in the morning on January 8, 2020, killing everyone on board. - The Boeing 737 had left Tehran's international airport bound for Kiev, semi-official news agency ISNA said, adding that 10 ambulances were sent to the crash site. (Photo by Rouhollah VAHDATI / ISNA / AFP) (Photo by ROUHOLLAH VAHDATI/ISNA/AFP via Getty Images) ROUHOLLAH VAHDATI ISNA/AFP via Getty Iran plane crash: Ukraine Boeing 737 comes down near Tehran Rescue workers carry the body of a victim of an Ukrainian plane crash in Shahedshahr, southwest of the capital Tehran, Iran, Wednesday, Jan. 8, 2020. A Ukrainian airplane carrying 176 people crashed on Wednesday shortly after takeoff from Tehran's main airport, killing all onboard. (AP Photo/Ebrahim Noroozi) Ebrahim Noroozi AP Iran plane crash: Ukraine Boeing 737 comes down near Tehran Part of the wreckage Iran Press via Reuters Iran plane crash: Ukraine Boeing 737 comes down near Tehran Debris of a plane belonging to Ukraine International Airlines, that crashed after taking off from Iran's Imam Khomeini airport, is seen on the outskirts of Tehran, Iran January 8, 2020. Nazanin Tabatabaee/WANA (West Asia News Agency) via REUTERS ATTENTION EDITORS - THIS IMAGE HAS BEEN SUPPLIED BY A THIRD PARTY WANA NEWS AGENCY West Asia News Agency via Reuters Iran plane crash: Ukraine Boeing 737 comes down near Tehran Rescue workers search the scene where an Ukrainian plane crashed in Shahedshahr, southwest of the capital Tehran, Iran, Wednesday, Jan. 8, 2020. A Ukrainian airplane carrying 176 people crashed on Wednesday shortly after takeoff from Tehran's main airport, killing all onboard. (AP Photo/Ebrahim Noroozi) Ebrahim Noroozi AP Iran plane crash: Ukraine Boeing 737 comes down near Tehran Rescue team work at the scene where an Ukrainian plane crashed in Shahedshahr, southwest of the capital Tehran, Iran, Wednesday, Jan. 8, 2020. A Ukrainian airplane carrying 176 people crashed on Wednesday shortly after takeoff from Tehran's main airport, killing all onboard. (AP Photo/Ebrahim Noroozi) Ebrahim Noroozi AP Iran plane crash: Ukraine Boeing 737 comes down near Tehran CORRECTS YEAR - Debris is seen from a plane crash on the outskirts of Tehran, Iran, Wednesday, Jan. 8, 2020. A Ukrainian airplane carrying at least 170 people crashed on Wednesday shortly after takeoff from Tehranâ€™s main airport, killing all onboard, state TV reported. (AP Photos/Mohammad Nasiri) Mohammad Nasiri AP Iran plane crash: Ukraine Boeing 737 comes down near Tehran Officials inspect the wreckage EPA Iran plane crash: Ukraine Boeing 737 comes down near Tehran Debris is seen from an Ukrainian plane which crashed as rescue workers search the scene in Shahedshahr, southwest of the capital Tehran, Iran, Wednesday, Jan. 8, 2020. A Ukrainian airplane carrying 176 people crashed on Wednesday shortly after takeoff from Tehran's main airport, killing all onboard. (AP Photo/Ebrahim Noroozi) Ebrahim Noroozi AP

Less than a week later, riot police fired tear gas at thousands of protesters – some of whom destroyed pictures of Soleimani, demanded president Hassan Rouhani’s resignation and criticised supreme leader Ayatollah Ali Khamenei with chants of “death to the dictator”.

In a sign of just how widespread anger at the authorities handling of the plane crisis may be, moderate newspapers carried the “people’s demand” for those responsible for the plane crisis to resign while the semi-official Fars news agency reported the protests in a rare report on anti-government unrest.

In a seemingly brazen attempt to paint himself as a friend of the Iranian people – and further undermine the country’s leadership – Mr Trump tweeted in Farsi: “I’ve stood with you since the beginning of my presidency, and my administration will continue to stand with you. We are following your protests closely, and are inspired by your courage.

“The government of Iran must allow human rights groups to monitor and report facts from the ground on the ongoing protests by the Iranian people. There can not be another massacre of peaceful protesters, nor an internet shutdown. The world is watching.”

Anti-government protests, thought to be the largest demonstrations since the 1979 Islamic Revolution, had rocked Iran in the months leading up to Soleimani’s death.

Between 300 and 1,500 people are believed to have been killed and thousands detained in the government’s violent repression – which the now-martyred Revolutionary Guards’ elite Quds force commander was thought to have helped coordinate.

A government-imposed internet shutdown served to muddy details of the revolt and obscured the death toll. Protesters had initially gathered to oppose a hike in fuel prices, but the scope of their unprecedented anger soon grew to include corruption, poverty and their sense of an inability to change Iran’s status quo.

Donald Trump had placed Tehran under severe economic sanctions, which Washington described as a “maximum pressure campaign”.

The sanctions have placed immense strain on the country and its citizens, restricting access to basic healthcare and critical medications, and causing the cost of living to skyrocket. A UN envoy warned in mid-December of the risk of food shortages and the country becoming shut off from charitable and diplomatic international bodies.

Experts also suggested Mr Trump’s sanctions had played a role in the violent repression of protests.

“The regime, under tremendous outside pressure, decided to adopt an iron fist policy to make itself look strong and in control,” Sina Azodi, foreign policy advisor at the Washington risk assessor, Gulf State Analytics, previously told The Independent.

US announces new sanctions against Iran

“The premise is that under economic pressure state has further securitised and is willing to use more violence to ensure that it doesn’t lose control. Appearing weak in the face of protests could send the signal that the regime is crumbling under outside pressure – and it’s the last thing they want to do,”

Many criticised the US president’s temerity in professing solidarity with Iranian citizens.

“Only on planet Trump can you ban Iranians from visiting their family in the US, deny them access to life-saving drugs, threaten to bomb their cultural heritage, and then claim that you are in solidarity with them,” said London School of Economics’ Roham Alvandi, an associate professor of international history specialising in Iran.

Captioning the president’s words, the Atlantic Council’s Holly Dagres said: “Donald Trump: ‘We care about the Iranian people so much that my administration not only banned them from entering the United States, I also tweeted just the other day to destroy their cultural sites. I LOVE IRANIANS!’”

While his call for Iran to honour human rights was welcomed, he was also asked to offer tangible support by granting the regime's victims and critics a home in the US.

“Well said, Donald Trump. Please now stand with the victims, dissidents and opponents of this brutal regime by rescinding the travel ban,” said UN Watch’s executive director, Hillel Neuer.

“Yes, keep out all tied to the regime. But Iranian refugees are the most incredible people who have contributed enormously to life in America.”

Hours before Mr Trump’s message in Farsi, US officials announced he would sign an executive order authorising new sanctions “against any individual owning, operating, trading with or assisting sectors of the Iranian economy, including construction, manufacturing, textiles, and mining”.

They will remain in place until Iran “changes its behaviour”, Mr Trump said.