MARTINEZ — Two alleged members of an East Contra Costa County Norteño subset gang were indicted on charges that they attacked another man while all three were incarcerated in the county jail, prosecutors said.

Brentwood resident Marco Salazar, 23, and Sacramento resident Joseph Malfitano, 37, were indicted in August on charges of attempted murder, street terrorism, and gang enhancements, prosecutors said. The charging documents allege that both defendants attacked the victim to benefit a Norteño gang called Crazy A– Latinos, or CAL.

The indictment alleges that on May 4, the defendants stabbed Edward Nachor in the neck, inside the Martinez Detention Facility. The district attorney’s news release does not list a motive for the attack.

Malfitano has nine prior convictions, mostly drug charges, including a count of bringing drugs into a jail, according to the indictment. He has also been convicted of identity theft and false impersonation.

In 2016, the CAL gang was one of two Norteño subsets targeted by a massive federal and state law enforcement operation, dubbed “Operation Omega Red,” which authorities said was aimed at curbing freeway shootings in Concord and Antioch. CAL originated in East Contra Costa County, according to gang expert testimony.

Malfitano, a former Antioch resident, was the plaintiff in a bizarre September 2016 lawsuit that accused a former Antioch police officer, B.J. Hewitt, of misconduct. The suit alleged that Hewitt arrested Malfitano for domestic violence that year, but then began a flirtatious relationship with Malfitano’s wife, which included Hewitt sending her a picture of himself, shirtless, with a towel wrapped around his lower body, and retrieving a gift card from evidence and returning it to Malfitano’s wife.

Police say Hewitt’s employment with Antioch police ended on Aug. 31, days before Malfitano’s lawsuit was filed. A police spokesman would not say whether Hewitt was fired or quit.

Malfitano filed an amended complaint in the lawsuit in early 2017, which included a grainy picture of the towel selfie. The suit was dismissed in June 2017, court records show.

The attack is one of several that have occurred in the Martinez jail in recent months. In June, another former jail inmate sued Contra Costa County, alleging that sheriff’s deputies within the jail were letting the Norteño gang get out of hand. The lawsuit, still in its early stages, was filed by a man who said he was severely beaten after attempting to drop out of the gang.

The lawsuit named Francisco Ramirez, Francisco Vargas and Thomas Leon, and two other unidentified alleged gang members, as the attackers. Ramirez was charged with attempted murder, torture and great bodily injury.

In March, a North Richmond gang member named Antwone Ladre Capone Johnson made a shank and stabbed his co-defendant, Derrick Cooper, in the neck inside the Martinez jail. Cooper survived the attack, and Johnson accepted a plea deal days later.