BERLIN (AP) — Police say a man snatched a 5-year-old boy from his family and jumped in front of an approaching train with him at a station in western Germany. The child escaped with light injuries and the assailant was unhurt.

Authorities said the 23-year-old suspect, who arrived from India as an asylum-seeker several years ago and had a previous police record, was silent about his motives in Thursday's incident in Wuppertal. A judge decided Friday to send him to a psychiatric hospital.

The boy was waiting at the station with his parents and two younger siblings when the assailant grabbed him and jumped in front of an approaching train. The driver was unable to stop in time, but the two weren't seriously hurt because they ended up lying lengthwise under the train.