RANCHO CORDOVA (CBS13) – A sheriff’s deputy who was critically injured in a Rancho Cordova shootout last weekend was released from the hospital and has returned home, the Sacramento County Sheriff’s Department announced on Thursday.

Video released by the sheriff’s department shows Deputy Eric Schmidt receiving loud cheers and applause as he was escorted out of UC Davis.

“We will remain by Eric and his family’s side as his courageous battle back to health continues,” the department said on Facebook. “As always, we extend our deepest gratitude to the community for their outpouring of support.”

A bullet struck Schmidt in a major artery in the leg during a gunfight while responding to a call at a mobile home park in Rancho Cordova.

Schmidt was responding to a call from 58-year-old Betty Winn Spirk, who said her grandson that she had a restraining order against had a gun and was inside her home. Her grandson, 29-year-old Christopher Walker, was outside when deputies arrived and exchanged gunfire with law enforcement.

Walker died after being shot by deputies and suffering a self-inflicted gunshot wound, authorities said. Investigators said Winn Spirk was also shot by Walker multiple times and was pronounced dead at the scene.