Police arrested the suspect Monday in connection to Saturday's gang-related shooting that took place in Walmart's parking lot.
Juan Manuel Sanchez, 22, was arrested and transported to the Jim Wells County jail about 5 p.m. Monday and was charged with aggravated assault with deadly weapon.
Police said Sanchez confessed to the shooting during the interview with investigators on Monday.
Police responded to shots fired on Saturday morning at Walmart. Multiple shots were fired into a vehicle and 25-year-old Mark Esparza was shot in the leg as he was sitting inside the car.
Several shell casings were located on the scene and police said it matched the bullet fragments removed from Esparza's leg.
The 9mm gun used in the shooting has not been recovered, but police said they are in the process of locating the weapon.
Esparza was transported to a Corpus Christi hospital and released with non-life threatening injuries, officials said.
Sanchez was arrested at the P.S. Anderson Park on March 23 and was charged with possession of marijuana, theft of a firearm and possession of handgun. He posted bond and was released within a few days.
Police said the Walmart shooting was likely gang-related.
“The investigators did an excellent job in gathering all the evidence,” Police Chief Daniel Bueno said. “I'm pleased with the outcome of the investigators' work.”