Harris County Precinct 4 Constable Mark Herman tweeted a photo of Deputy Christopher Gaines being welcomed home by his family and other first responders.
Herman said that Gaines was released from Memorial Hermann, but he will have outpatient surgeries scheduled in the future.
The constable has been sharing daily updates about Gaines' progress.
Deputy update
On Wednesday, he posted a photo of Gaines walking in the hospital and receiving a visit from Lt. Governor Dan Patrick.
Gaines was shot during a shootout with a man Tuesday morning.
Two other deputies were also injured.
The suspect was hit several times and is in the hospital, charged with multiple counts of aggravated assault.
RELATED: Man charged after opening fire on Pct. 4 deputies in Atascocita
Man charged after deputies injured in shootout in Atascosita