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: Maryland Woman Stabbed To Death Along Chicago's Loop

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.

“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.

READ MORE: Maryland Vaccine Lottery: Monday's VaxCash Winner Is From Bel Air

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

MORE NEWS: Weather Blog: Severe Weather Possible Monday Night

This story is breaking; stay with WJZ for updates.

Stetson Miller