HOUSTON -

A man was shot during a home invasion committed by three teenagers, investigators said.

Harris County Precinct 4 deputy constables said the teenagers forced their way into a home in the 8100 block of Ivan Reid near Wilson Reid in northwest Harris County through an unlocked garage door on Saturday night.

All three robbers, an 18-year-old male, a 15-year-old male and a 15-year-old female, were armed with guns, detectives said.

Investigators said the robbers demanded money and the two male teenagers started carting electronics out of the house.

The female robber put her gun on a coffee table and the resident picked it up and shot her, officials said.

Deputy constables said that when the two male robbers ran back into the house and shot and beat the resident.

Neighbor Christine Mason, who is a nurse, said the resident came out of the house looking for help.

"I opened my front door and he's coming across the yard saying, 'help, help,'" Mason said. "I did a quick assessment on him. He had been shot in the neck and a couple times on the side, but it looks like it was just grazes. He had a huge knot on his head."

Investigators said the resident suffered a total of five gunshot wounds. He was hospitalized in critical condition.

"He kept saying, 'I wish I wouldn't have left my garage door open,'" Mason said.

A woman and four children were also inside the home during the attack. They were not hurt.

"He went to the hospital not knowing where his kids were, but he was asking for them all the time," Mason said.

The three robbers ran off, but they were arrested a few hours later when they went to a hospital to get help for the female suspect, investigators said.