A gunman who D.C. police said robbed and shot an 18-year-old student on her way to school Tuesday morning in Anacostia took a computer bag filled with books but ditched it as he fled, according to authorities.

Cmdr. George Kucik, head of the criminal investigation division, said officers found the bag with the books still inside. But he said detectives do not know if the robber had expected something more valuable.

The shooting occurred about 8:45 a.m. in the 1400 block of Morris Road SE. Kucik said the gunman approached the victim from behind as she was walking and said, “Give me your bag.”

“When she turned around, he shot her in the leg,” Kucik said, noting the gunman was wearing a red jacket with white stripes and had a red ski mask covering most of his face.

After getting the bag, Kucik said the gunman ran up West Street toward Howard Road. He was being sought on Tuesday.

The victim was being treated at a local hospital; police said her injuries were not considered serious.

A spokeswoman for the D.C. school system, Melissa Salmanowitz, said the victim was on her way to Phelps Architecture, Construction and Engineering High School on Benning Road in Northeast, about five miles from the shooting scene.

This post has been updated.