(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.

Read More