El Paso, Texas (CNN) The man who authorities say killed 22 people at an El Paso Walmart told police that his targets were Mexicans, according to an arrest affidavit.

In the affidavit, El Paso Police Detective Adrian Garcia said 21-year-old suspect Patrick Crusius told him, "I'm the shooter."

"The defendant stated his target were Mexicans," according to the affidavit, which CNN has obtained and was first reported by The Washington Post.

CNN is reaching out to El Paso police and a defense attorney for Crusius for comment about Garcia's account.

Police said Crusius, besides killing 22 people, wounded 24 others in Saturday's shooting. He was arrested on the day of the attack, surrendering to a police officer at an intersection just north of the store.