BALTIMORE (WJZ) —  Police are investigating a shooting outside of a school in northeast Baltimore that left a 19-year-old student hurt, city police confirmed Monday afternoon.

The shooting happened just before 2 p.m. in the 2200 block of Pinewood Avenue in northeast Baltimore. Three schools, Achievement Academy, Reginald F. Lewis High School and Success Academy share the campus.

READ MORE: Baltimore's Light Rail Trains Waylaid By Fallen Tree On Tracks

Police said the student was getting out of a vehicle when he was approached by a masked gunman shot in the leg. He then ran inside for help.

The student suffered non-life-threatening injuries, police said. Officers are still searching for the shooter.

READ MORE: National Weather Service: 13 Maryland Counties Under Severe Thunderstorm Watch

“There was some sort of altercation; right now robbery does not appear to be the motive. He does appear to have been targeted. Detectives do not know why,” said Baltimore Police Det. Nicole Monroe.

Police had originally said City School Police were investigating the shooting; they now say city shooting detectives have taken over the investigation.

The cause of the shooting remains under investigation, though police said it was not believed to be a robbery.

MORE NEWS: Firefighters Battle Two-Alarm Fire Amid Thunderstorm In Baltimore's Riverside Neighborhood

This story is breaking; stay with WJZ for updates.

Stetson Miller