Iran has voiced sympathy with the American people, particularly those affected by recent shootings in the United States.

Iran's Foreign Ministry spokesman Abbas Mousavi on Sunday wished a speedy recovery for those injured in the mass shootings in the states of Texas and Ohio.

'Domestic terrorism'

The attack on a Walmart and shopping center in El Paso, Texas, which left 20 people dead and dozens wounded, is being treated as a “domestic terrorism case.”

“We are treating it as a domestic terrorism case, and we’re going to do what we do to terrorists in this country,” said John F. Bash, the US attorney for the Western District of Texas. “Which is deliver swift and certain justice.”

The suspected shooter of the massacre has been charged with murder, which could carry the death penalty.

"The suspect has been charged for capital murder," police spokesman Sergeant Robert Gomez told a news conference.

Just hours after the El Paso mass shooting, at least nine people were slain hundreds of miles away in Dayton, Ohio.

There were reportedly six Mexicans among those killed in the El Paso attack, according to Mexican President Lopez Obrador.

US President Donald Trump (R), with by First Lady Melania Trump, gives a statement about the recent mass shootings in El Paso and Dayton before boarding to Washington at Morristown Airport on August 04, 2019. (Photo by AFP)

US President Donald Trump, whose staff were reportedly deleting his racist tweets, also voiced "condolences to all,” asserting that "hate has no place in our country."

When Trump deletes his tweets, they remain forever. https://t.co/fAxaLLmfkA — Jen (@ellewoodsgolfs) August 4, 2019

Mexico taking legal action

Mexico Foreign Minister Marcelo Ebrard has also said that his country is taking legal action in the wake of the shooting.

Items left at a makeshift memorial outside the Cielo Vista Mall Wal-Mart where a shooting left 20 people dead in El Paso, Texas, on August 4, 2019. (Photo by AFP)

"Regarding the incident that took place yesterday (August 03) in El Paso, Texas, Mexico expresses its absolute rejection and complete condemns this act of barbarity, which resulted in the loss of lives of innocent Mexicans. There have been nine people (Mexican citizens) injured,” said Ebrard.

“The president has instructed me to ensure that Mexico's indignation translates into, firstly protecting families that have been affected, and then with efficient, prompt, expeditious and forceful legal actions for Mexico to take a role and demand that conditions are established that protect the Mexican community in the United States. What happened is unacceptable and... the first legal actions that the Mexican government will take will be announced."

The US Justice Department is "seriously considering" bringing federal hate crime and federal firearm charges against the suspect.

El Paso is a community that shows up for one another—on our best days and our worst. I met Rosemary’s family on the plane back to El Paso. They asked that we visit her and share her story. She was shot in the chest but is doing well after surgery. She’s strong—just like our city. pic.twitter.com/qjy4ecJOCw — Beto O'Rourke (@BetoORourke) August 4, 2019

The 2020 Democratic presidential candidates, meanwhile, took the chance to call for stricter gun control in the United States.