Detectives arrested 22-year-old Brandon Briggs on Tuesday.
Police say Briggs shot a 27-year-old man at La Miranda Drive and Sante Fe Drive.
RELATED: 27-year-old man hospitalized after being shot in Merced, police say
Officials say there was some sort of argument before the shooting. The victim was hit in the leg and taken to a nearby hospital.
Briggs was carrying a gun when officers arrested him. He was booked into the Merced County jail for charges of attempted homicide and gang enhancements.
Investigators say 18-year-old Franky Moreno and 30-year-old Tanya Moreno were also involved in the shooting. Anyone with information on their whereabouts is asked to call the Merced Police Department.