The attackers kicked in the front door to the southwest Houston home, roughed up the resident, then placed him in an upstairs closet.

But that holding place was where the resident kept his gun.

He would soon use it on one of the intruders, exchanging gunfire and sending the man to the hospital Tuesday afternoon, Houston police said.

The resident told police he was upstairs at the home in the 8200 block of Braeburn Valley Drive, south of Houston Baptist University, when three men kicked in the front door about 2 p.m. Tuesday.

The intruders attacked him and placed him in a closet, so they could ransack the home, said Sgt. Jerri Brandon with the Houston Police Department.

When he thought the intruders were gone, the man left the closet, armed with a gun that he kept there, he told police.

Downstairs, he encountered one of the men and the two exchanged gunfire, police said.

The resident, who lives at the home with his parents, was not injured.

1 wounded, others flee

The intruder, who appeared to be in his 20s, was shot in the shoulder and leg. He ran down the street and collapsed, police said.

The other two men fled in an older model Chevrolet Tahoe, police said. The homeowner told police that he did not know the attackers.

Craig Gaddis, who lives three houses down, said he heard three shots and walked out to find a man sprawled out on a nearby sidewalk. Another neighbor who also walked out called 911.

Gaddis, a shipping and receiving consultant who owns several handguns, said thieves kicked in the door on a nearby home about a week ago and burglars hit another home around the corner about three weeks ago.

With whats happening, my neighbors and I are aware theyre all connected, Gaddis, 45, said of the break-ins. What happened today is exactly what guns are supposed to do - to protect your home and defend your life and your family.