A would-be car burglar got shot in the leg by the owner of a pickup truck who found him inside the vehicle early Monday morning near Pasadena, authorities said.

Sgt. Tom Harris of the Sheriff’s Temple Station said the suspect was in good condition at a hospital. A second suspect got away.

The station received a call of a burglary in progress around 6 a.m. in the 200 block of Michillinda Avenue, which is in the unincorporated county area near Pasadena.

“The homeowner catches him in the vehicle (and) warns him. The suspect comes at him,” Harris said. He didn’t have anymore details about the shooting.

Harris said the second suspect ran away. A detailed description of this suspect was not available.

Deputies arrested the wounded suspect. His name, age and city of residence weren’t available because he has not been booked yet.