The 25-year-old Bakersfield man who died in Kern County Sheriff's Office custody on June 17 was killed by methamphetamine intoxication, the county coroner's office announced Sunday.

Wilfredo Ramos was in the back of a patrol car in the 1900 block of South J Street after being arrested on suspicion of illegal drug use and resisting arrest.

Deputies noticed he was having trouble breathing and subsequently found Ramos had two plastic baggies with illegal drugs stuffed in his throat.

He died a short time later at Bakersfield Memorial Hospital.

An autopsy was performed June 18 followed by additional studies.

His death was ruled accidental.