People arrive at MacArthur Elementary looking for family and friends as the school is being used a re-unification center during the aftermath of a shooting at the Walmart in the Cielo Vista Mall area Saturday, Aug. 3, in El Paso. (Via OlyDrop)
Xxx Walmart Shooting 001 Jpg Usa Tx
PHOTO: Briana Sanchez/El Paso Times/Imagn
People arrive at MacArthur Elementary looking for family and friends as the school is being used a re-unification center during the aftermath of a shooting at the Walmart in the Cielo Vista Mall area Saturday, Aug. 3, in El Paso. (Via OlyDrop) Xxx Walmart Shooting 001 Jpg Usa Tx
Now playing
02:58
At least 20 dead in El Paso shooting
Jake Tapper mass shootings
PHOTO: CNN
Jake Tapper mass shootings
Now playing
02:00
Tapper calls out Republicans who declined interview after shootings
Protest El Paso shooting
PHOTO: Twitter/Nicksuplina
Protest El Paso shooting
Now playing
01:06
Protesters spontaneously gather, chant 'not one more'
PHOTO: KFOX
Now playing
01:51
Beto O'Rourke slams Trump in wake of El Paso shooting
Now playing
01:45
CNN anchor on shootings: We needed a solution yesterday
Man hides under table El Paso Walmart
PHOTO: Sylvia Saucedo
Man hides under table El Paso Walmart
Now playing
00:50
Video shows man hiding as shots ring out inside Walmart
Texas Gov. Greg Abbott El Paso 08032019
PHOTO: KFOX
Texas Gov. Greg Abbott El Paso 08032019
Now playing
02:15
Gov. Abbott: Texas grieves for El Paso
PHOTO: KVIA
Now playing
02:22
El Paso witness: A kid ran in and told us about shooting
PHOTO: Canal66TV
Now playing
01:58
Video shows victims lying in Walmart parking lot
El Paso shooting
PHOTO: Snapchat
El Paso shooting
Now playing
01:10
Frantic video shows people fleeing a mall in El Paso
Law enforcement agencies respond to an active shooter at a Wal-Mart near Cielo Vista Mall in El Paso, Texas, Saturday, Aug. 3, 2019. - Police said there may be more than one suspect involved in an active shooter situation Saturday in El Paso, Texas. City police said on Twitter they had received "multi reports of multipe shooters." There was no immediate word on casualties. (Photo by Joel Angel JUAREZ / AFP)        (Photo credit should read JOEL ANGEL JUAREZ/AFP/Getty Images)
PHOTO: Joel Angel Juarez/AFP/Getty Images
Law enforcement agencies respond to an active shooter at a Wal-Mart near Cielo Vista Mall in El Paso, Texas, Saturday, Aug. 3, 2019. - Police said there may be more than one suspect involved in an active shooter situation Saturday in El Paso, Texas. City police said on Twitter they had received "multi reports of multipe shooters." There was no immediate word on casualties. (Photo by Joel Angel JUAREZ / AFP) (Photo credit should read JOEL ANGEL JUAREZ/AFP/Getty Images)
Now playing
02:06
Police: 20 dead in El Paso shooting
Crime scene tape surrounds the Mandalay Hotel (background) after a gunman killed at least 50 people and wounded more than 200 others when he opened fire on a country music concert in Las Vegas, Nevada on October 2, 2017. 
Police said the gunman, a 64-year-old local resident named as Stephen Paddock, had been killed after a SWAT team responded to reports of multiple gunfire from the 32nd floor of the Mandalay Bay, a hotel-casino next to the concert venue. / AFP PHOTO / Mark RALSTON        (Photo credit should read MARK RALSTON/AFP/Getty Images)
PHOTO: MARK RALSTON/AFP/Getty Images
Crime scene tape surrounds the Mandalay Hotel (background) after a gunman killed at least 50 people and wounded more than 200 others when he opened fire on a country music concert in Las Vegas, Nevada on October 2, 2017. Police said the gunman, a 64-year-old local resident named as Stephen Paddock, had been killed after a SWAT team responded to reports of multiple gunfire from the 32nd floor of the Mandalay Bay, a hotel-casino next to the concert venue. / AFP PHOTO / Mark RALSTON (Photo credit should read MARK RALSTON/AFP/Getty Images)
Now playing
01:25
These are the deadliest mass shootings in modern US history
(CNN) —  

Mexico’s government considers the shooting in El Paso, Texas, an act of terrorism against Mexican citizens and will be participating in the investigation, Secretary of Foreign Affairs Marcelo Ebrard said Monday.

During a press conference in El Paso, Ebrard said Mexico is also considering petitioning for the extradition of the man accused of killing 22 people, including eight Mexicans. Six Mexicans were among the 27 wounded, he said.

“We consider this to be an act of terror, obviously on US territory, but against Mexican citizens,” Ebrard told reporters after meeting with victims at the two medical centers in El Paso where they are being treated.

Ebrard said the government is also “analyzing actions regarding gun control.”

The comments came a day after Ebrard said the Mexican government was looking into taking legal action against the United States.

The 21-year-old white supremacist suspected of carrying out a deadly shooting at a Walmart in El Paso wanted to stop a “Hispanic invasion of Texas,” according to a political document police believe he wrote.

Authorities are reviewing a racist, anti-immigrant document they believe the suspect posted on the online message before the shooting. The 2,300-word document, which police called a “manifesto,” is filled with white supremacist language and racist hatred aimed at immigrants and Latinos. It blames immigrants and first-generation Americans for taking away jobs.

President Trump on Monday morning said the shooter’s manifesto was “consumed with racist hate.”

“In one voice, our nation must condemn racism, bigotry and white supremacy,” he said. “These sinister ideologies must be defeated. Hate has no place in America. Hatred warps the mind, ravages the heart and devours the soul.”

But he did not acknowledge his own divisive and racist rhetoric or address the suspect’s access to firearms, and instead focused on unrelated issues of mental health and violent video games.

Ebrard said the Mexican government listened to Trump’s statement and “share his condemnation of racisim and xenophobia.”

“We are different cultures but we need to live and respect each other, in Mexico and in the United States,” Ebrard said.

On Sunday at a press conference in Mexico City, Ebrard also said Mexico President Andrés Manuel López Obrador instructed him to take swift legal action in order to first protect the families who were affected and then “so that Mexico can demand that the United States protect the Mexican community in the United States.”

Ebrard urged the US to establish a “strong position against hate crimes” following the shooting. He also drew attention to gun control as a “crucial issue.” and announced that Mexico is investigating who is responsible behind the sale of “these assault weapons.”

CNN’s Helena DeMoura and Hira Humayun contributed to this report.