The suspect accused of killing 22 people at a Walmart in El Paso, Texas, has confessed that he was targeting “Mexicans”, say US media.
An arrest report obtained by some news outlets sheds light on his arrest and his interviews while in police custody.
Officials believe the alleged gunman, Patrick Crusius, is the author of an online post decrying Hispanic migrants.
The shooting came just hours before another mass shooting in Dayton, Ohio.
The two incidents have prompted a national debate about gun laws, with Republicans indicating they may be open to tightening background checks on buyers.
Federal officials say they are considering hate crime charges against Mr Crusius, who could face the death penalty if found guilty of the mass murder.
The Washington Post and Associated Press, which received the arrest report filed by El Paso Detective Adrian Garcia, reported that he document was written last Sunday, one day after the attack on the Walmart shoppers.
The document describes the suspect getting out of his car with his hands up and saying “I’m the shooter” when he was stopped by an officer.
According to Det Garcia, Mr Crusius waived his right to a lawyer, and told them that he had travelled from the suburbs of Dallas with an assault rifle and multiple magazines containing ammunition.
“The defendant stated once inside the store he opened fire using his AK-47 shooting multiple innocent victims,” Det Garcia wrote.
He surrendered without incident, and has been speaking co-operatively with police since the attack, according to investigators in El Paso.
El Paso sits on the US-Texas border, and has a large majority Latino population.
On Friday, President Donald Trump, who travelled to El Paso earlier this week, pledged to take a “serious” look at passing new gun control measures to strengthen the background check system.
The suspect in El Paso was able to legally purchase the assault rifle used in the attack, and carry it into the Walmart due to the states’s “open carry” gun laws.
On Thursday, lawyers for Mr Crusius told US media that his mother had called police weeks before the attack to say she was concerned about him owning a weapon.
There has also been increased scrutiny – and criticism – of the president’s language – he has repeatedly referred to an immigrant “invasion”.
The online manifesto being investigated by police used similar words.