A California sheriff’s deputy who collapsed during a 2013 SWAT tryout never regained consciousness — and succumbed to his injuries six years later, authorities said.

Carlos Cammon, 35, died at a local rehab facility late Friday, the Association of Orange County Deputy Sheriffs announced on Facebook.

Cammon was 29 years old and a six-year veteran of the Orange County Sheriff’s Department, working out of the Stanton station, at the time of the July 2013 tryout for the department’s SWAT team, Sheriff Don Barnes tweeted over the weekend.

Days after the incident, Cammon was placed on a ventilator at a Santa Ana Hospital for “severe dehydration and cardiac issues,” though he was expected to survive, the Orange County Register reported at the time.

Tony Dominguez, president of the Association of Orange County Deputy Sheriffs, told the Register Cammon overexerted himself during training — and that exertion, coupled with dehydration, caused him to go into complete organ failure.

“He’s pretty typical of a guy early in his career just wanting to do the most he could possibly do to serve the public,” Dominguez told the outlet. “That’s what he wanted most, to do a good job for the community he served, and ultimately he paid the price.”

Back in 2010, Cammon was commended for his service — he and three other deputies received the medal of courage for subduing a knife-wielding man assaulting a woman at an Orange restaurant when they were off duty, according to Barnes.

“Our Department family joins the Cammon family in grieving the loss of this brave young man,” Barnes said.

Cammon never married or had children, but was particularly close with his mom, Lenora “Cookie” Sturdivant, who stayed at his bedside almost every day following the incident, Dominguez told the Register.

“Mom never gave up hope and that’s what kept her going,” he said. “I think that’s what kept him going and all of us felt that maybe there was a glimmer of hope that he would come back, but unfortunately that didn’t happen.”