A suspect who was being held in a California jail on charges connected to a 2022 mass shooting in the state capital died in his cell Saturday, according to police and his attorney.

The 29-year-old male inmate died while in custody at the Sacramento County Main Jail around 2:15 a.m., the Sacramento County Sheriff’s Office said in a statement posted on social media.

The San Francisco Chronicle reported public defender Norman Dawson identified the man as Smiley Martin, his client who was awaiting trial on three felony charges stemming from an April 3, 2022, shooting in Sacramento that killed six people and wounded 12 others, including two of the alleged shooters.

Jail deputies were conducting a cell check and found an unresponsive inmate. The deputies and then fire department personnel attempted life-saving procedures but he was pronounced dead, the sheriff’s office said.

The Sacramento County Coroner’s Office will determine the cause of death and release the man’s name after notification of his next of kin, according to the sheriff’s office, which said it will investigate.