Police said an Albuquerque man who had a warrant out for his arrest gave his brother's name to authorities, but his plan to avoid capture backfired.

His brother also had an active arrest warrant, Albuquerque Police told KRQE.

>> Read more trending news 

Charles Gardner, 30, was being questioned by authorities Saturday night after he was caught sleeping in a vehicle in a Walmart parking lot. Knowing that he had an outstanding warrant, Gardner gave police his brother's name. When authorities checked records, they found an outstanding warrant for his brother.

Gardner resisted arrest and an officer used a Taser on him, police said. Gardner is charged with aggravated assault on a police officer, according to police records.