BERLIN (AP) — Police say a man from Afghanistan who tried to reach German Chancellor Angela Merkel as she exited Parliament has been committed to a psychiatric clinic.

German TV stations showed the man shouting unintelligibly while being tackled by plainclothes police as Merkel walked out of the Bundestag following her election for a fourth term Wednesday. The man was tackled to the ground about 20 feet (6 meters) away from Merkel as she got into her car.

Berlin police said Thursday the 23-year-old, whose name hasn’t been released, has psychological problems but his actions “weren’t religiously or politically motivated.” The man is being investigated on suspicion of resisting arrest.