The youth who stabbed a soldier on Jerusalem’s light rail two weeks ago is a high school student who skipped school to carry out the attack, police said Monday.

The 18-year-old suspect from east Jerusalem, Muhammad Mansour Shuman, was remanded into police custody until the end of proceedings on Monday.

He was caught hours after he stabbed a 19-year-old female soldier several times on the city’s light rail on March 15. The soldier was moderately wounded. The attacker fled the scene and was later caught by security forces at the Qalandiya checkpoint, apparently trying to reach relatives in Ramallah.

The suspect’s attorney said the attacker suffered from mental problems.