A man was wounded in a shooting as he slammed his front door on a would-be robber early Tuesday morning in north Harris County.

The shooting happened about 1 a.m. on Camden Parkway near Walters, officials said.

Officials said the man, whose name has not been released, was rushed to a nearby hospital. His condition was not released.

Officials said the victim may have been followed home by the suspect. When the suspect approached, the man went inside his home and slammed his door. But the suspect fired at least once through the closed door, hitting the man.

The suspect left after the gunfire. No description of the gunman was immediately available.

Officials said robbery appeared to be the motive in the case.

It was the second time in as many weeks that a victim was wounded when a suspect shot through a closed front door.

A 59-year-old woman was wounded when she thwarted two would-be robbers at her home about 11:30 p.m. Wednesday in the 5700 block of Vendi near Abruzzo, said Victor Senties, a spokesman for the Houston Police Department.

Senties said the woman had just come home from work and was walking toward her front door when two men confronted her. One of the men brandished a pistol and the pair ordered her to go inside the home.

As she opened the door, the security alarm sounded. The men told her to shut off the system. She went inside, but before the robbers could follow her she slammed the door.

Moments later, the gunman fired more than one shot through the closed door, hitting the woman in the leg.