San Antonio Officer Julio Cavazos, who was injured in a downtown shootout nearly a week ago, has been released from the hospital.

Cavazos, 36, was shot June 29 after he and his partner, Officer Miguel Moreno, approached two men near San Antonio College. As soon as they stepped out of their vehicle, one of the men opened fire.

A bullet struck Cavazos in the chin and moved into his chest cavity, officials said at the time. Moreno was shot in the head.

Despite being shot, Cavazos managed to pull Moreno, who had been fatally injured, behind the cover of their police vehicle before returning fire, hitting the gunman in the buttocks. The man, identified as Andrew C. Bice, then shot himself in the head, according to authorities.

Moreno died June 30.

“We are happy to report that Officer Julio Cavazos has been released from the hospital,” Sgt. Jesse Salame, a spokesman for the San Antonio Police Department, said Tuesday evening. “He and his family want to thank everyone for their prayers and support during this difficult time.”

Cavazos underwent at least one surgery before being released.

Since the shooting, the San Antonio community has rallied around its officers, leaving flowers and candles at police headquarters and dropping off gifts for Cavazos’ daughter’s sixth birthday.

On Wednesday, roughly 100 people plan to march from the Alamo to Public Safety Headquarters downtown to honor the officers, according to a Facebook event.

“We will be marching in honor of the two officers shot here in San Antonio, especially Officer Miguel Moreno who has fallen due to this tragic accident,” reads the event page.

Funeral arrangements for Moreno will take place Thursday and Friday, according to department officials.