Police and other security forces detained the man on Saturday in Bernau, a town just outside Berlin.