An attorney for the family of the man charged in the El Paso Walmart shooting rampage says the man's mother contacted police weeks before the rampage out of concern that her son had a rifle.

Attorney Chris Ayres told CNN that the call was made to police in Allen, a Dallas suburb, by the mother of Patrick Crusius, 21.

He and fellow attorney R. Jack Ayres also said the mother didn't identify herself or her son in the call.

Patrick Crusius' mother contacted police before her son opened fire at a Walmart store in El Paso on Saturday because she was concerned that her son owned an AK-style assault rifle

Twenty-one-year-old Patrick Crusius has been charged with capital murder in state court for the Saturday massacre, in which 22 people were killed and more than two dozen injured

They told CNN that his mother contacted police as she was concerned about her son owning a weapon given his age and lack of experience with a firearm.

During the call, she was transferred to a public safety officer who told her that her son, 21, was legally allowed to purchase the weapon, according to CNN.

Police did not seek any additional information from her before the call concluded, the attorneys claimed.

Sgt. Jon Felty, Allen police spokesman, said there was no record of such a call and he wasn't aware of such a call.

The accused shooter, a self-declared white supremacist, murdered 22 people last weekend at a Walmart which is heavily frequented by customers of Hispanic origin.

Chris Ayres claimed that the mother's inquiry was 'informational' in nature and the call was not made because she believed he posed a threat to anyone.

'This was not a volatile, explosive, erratic behaving kid. It's not like alarm bells were going off,' Ayres told CNN.

Demonstrators hold a banner to protest the visit of President Donald Trump to the border city after the mass shooting in El Paso, Texas on Wednesday

Gilberto Zuniga holds a sign to protest the visit of President Donald Trump who fault his own incendiary words as a contributing cause to the mass shootings

In a statement to the news outlet, police said they only ever had dealings with Crusius in relation to three minor incidents.

The first was in relation to a false burglar alarm at the family home, the second one occurred when Crusius was a passenger in a bus involved in a minor traffic accident.

He had also ran away from home but returned 30 minutes later, with police adding the incidents 'are the entirety of our dealings with Mr. Crusius, in any capacity, be it suspect, witness, reporting party, or in any other manner,' according to CNN.

A court-appointed lawyer for the man accused of shooting dozens of people in El Paso says he will do everything he can to ensure his client is not executed.

Twenty-one-year-old Patrick Crusius has been charged with capital murder in state court for the Saturday massacre, and may face federal hate-crime charges that could also come with a death sentence if he's convicted.

Attorney Mark Stevens told The Associated Press in an email Wednesday that he "will use every legal tool available to me to prevent" Crusius from being put to death.

Stevens, a veteran criminal defense attorney from San Antonio, said he will only represent Crusius in state court and declined to comment further on the case. A judge appointed him Monday.