A man who was wounded in a shooting as he alledgedly burglarized a home near Lukfin last week has been arrested after he walked out of a Houston hospital.

Cody Barnhill, 33, is in custody in Angelina County in connection with the burglary Thursday afternoon, said Lt. Pete Maskunas of the Angelina County Sheriff's Office.

Maskunas said the resident shot Barnhill in the side during the burglary and Barnhill fled. The resident was not hurt.

Later that day, Maskunas said, police officers were dispatched to a La Quinta Inn in Clute about a man with a gunshot wound. When they arrived, they found the wounded man, identified as Barnhill, and he was flown by LifeFlight medical helicopter to Memorial Hermann-The Texas Medical Center.

Makunas said Barnhill had surgery and was placed in ICU. He later walked out of the hospital, ignoring medical staff advice that he remain in the facility.

The Angelina Sheriff's Office was notified he was gone. Then a Clute police officer spotted Barnhill driving in a car Saturday and pulled the car over. He was taken into custody.

Maskunas said Angelina Sheriff's Office investigators went to Clute and picked up Barnhill.