Texas Walmart shooting: 20 killed in El Paso gun rampage at supermarket

At least 20 people have been killed and 26 injured in a shooting at a Walmart and nearby shopping centre in El Paso, Texas.

A gunman went on the rampage at the supermarket, which was packed with up to 3,000 people, including many buying back-to-school supplies, on Saturday. Shoppers at the Cielo Vista Mall were also caught up in the violence.

Sergeant Robert Gomez said a man in his 20s had been detained near the mall and police did not fire a shot. He said the gunman used a rifle in the attack.

Two law enforcement officials identified the suspect as 21-year-old Patrick Crusius from the Dallas area, according to US media. It is alleged he had previously written an anti-immigration manifesto.

El Paso police chief Greg Allen said authorities were examining the manifesto which indicated "there is a potential nexus to a hate crime".

Texas governor Greg Abbott confirmed 20 people had died in the attack, saying it was "one of the deadliest days" in the state's history. It is the eighth worst mass shooting in modern US history.

"The scene was a horrific one," said Mr Allen, adding that many of the wounded had life-threatening injuries.

Officers said most of the victims had been shot at Walmart, adding that the mall had also been "secured".

Mr Abbott said of the massacre: "This is disgusting, intolerable, it's not Texan, and we are going to aggressively prosecute it both as capital of murder but also as a hate crime - which is exactly what it appears to be without having seen all the evidence yet."

During the attack, shoppers fled for their lives, including Kianna Long, who was at the Walmart with her husband when they heard gunfire.

"People were panicking and running, saying that there was a shooter," she said. "They were running close to the floor, people were dropping on the floor."

The couple ran through a stock room at the back of the store before sheltering with other customers in a steel container.

Mexico's president Andres Manuel Lopez Obrador said three of those who died were from his country.

Doctors said 23 people had been taken to hospitals.

The University Medical Centre of El Paso treated 12 patients, including two who were transferred to the El Paso Children's Hospital. Elsewhere, the Del Sol Medical Centre was treating 11 people.

One of the patients at the University Medical Centre of El Paso later died.

Multiple security forces were deployed to the scene of the attack, including police and state troopers as well as Homeland Security and border agents.

Police had urged people to stay away from the complex after receiving reports of multiple attackers at the mall.

But Sergeant Gomez said authorities had ruled out more gunmen being involved.

US President Donald Trump tweeted about the "terrible shootings" and pledged the support of the federal government to the state's governor.

Governor Abbott described the shooting as a "heinous and senseless act of violence".

"Our hearts go out to the victims of this horrific shooting and to the entire community in this time of loss", he said in a statement.

"We have deployed troopers, special agents, Texas Rangers, tactical teams, and aircraft to the scene in a support role.

"The state of Texas will do everything it can to ensure justice is delivered to the perpetrators of this heinous act."

Presidential candidate and former Texas congressman Beto O'Rourke said he was distraught by the news of the mass shooting in his hometown of El Paso.

Speaking to reporters in Las Vegas, he said he planned to return home immediately to be with his family and asked "for everyone's strength for El Paso right now... everyone's resolve to make sure that this does not continue to happen in this country."

Walmart said in a statement: "We're in shock over the tragic events at Cielo Vista Mall.

"We're praying for the victims, the community and our associates, as well as the first responders."

The mall complex is near Interstate 10 and on El Paso's east side.

El Paso, which has around 680,000 residents, is in West Texas and is located across the border from Juarez, Mexico.