Pittsburg police and state parole agents had been searching for the suspect, 29-year-old Isaac McCuan, in connection with the shooting death of 25-year-old Pittsburg resident Giovanni Bey.
Bey was shot on Aug. 1 inside a home in the 2200 block of San Remo Way where he was renting a room.
Police said shortly after the shooting that they believed Bey had been trying to join a local gang and had been told to assault someone to show his alliance to the gang.
Investigators believe there was a misunderstanding about how the order was given and that Bey had refused to beat the person up.
McCuan, who police said belonged to the same gang, allegedly went over to Bey's house to confront him and ended up shooting him, police said.
Bey died from a gunshot wound to his chest, according to the coroner's office.
Shortly after the shooting, police identified McCuan as the suspect and obtained a no-bail warrant for his arrest.
According to police, McCuan has an extensive criminal history that includes assault, gang-related crimes, property crimes and firearms offenses.
On Wednesday, police in Drumright, Okla., arrested McCuan in connection with a residential burglary that had just happened in their city.
McCuan initially lied about who he was, but fingerprints confirmed his identity, Addington said.