A gunman shot a Temple University student early Saturday morning as the teen stood outside a North Philly home -- blocks from the college's main campus -- in an attempted armed robbery.

The 19-year-old victim was in stable condition at Hahnemann University Hospital Saturday morning after he was shot in the hip while standing outside a home, where a party was taking place, along the 1500 block of North 17th Street around 1 a.m., authorities said.

The suspect, a man in his early 20's, tried to get in the party but wasn't allowed inside, investigators told NBC10. He then approached the student and said, "give me everything you got," as he pulled up his shirt to reveal a silver semi-automatic handgun stuck in his waistband, according to a witness account.

The victim then charged at the gunman, who pulled out his weapon and fired, according to authorities.

"I heard a pop," said a 19-year-old student who was at a house party when the shooting occurred. "Then I just ran outside."

The student, who wanted to remain anonymous, told NBC10 he tried to help the victim.

"I applied the pressure on his wound," the student said. "I put both my hands right on his hip. Also some kid who was an EMT took out a sweatshirt and covered him up and then the officer showed up and carried him out."

Other Temple students received an alert from school officials that included a description of the suspect -- a male who was wearing a red-hooded sweatshirt, a red beanie hat and blue jeans, according to reports.

Police later confirmed the description.

The shooting occurred within a Temple police patrol area, which was expanded to North 18th Street in September.

NBC10.com

Dan Jovinelli, a sophomore at Temple who lives across the street from where the shooting took place, told NBC10 he's used to hearing gunfire.

"A little piece of you dies in the inside a little bit every time you hear it," Jovinelli said. "Living in this area it happens sometimes. This happened last year on Cecil B. Same type of situation. When I first moved to the area it was a little frightening. But you just want to make sure everyone is okay."

The victim, who did not want to be identified, told NBC10 he was "happy to be alive." He is expected to be released from the hospital Saturday night.

An investigation is underway.

