Germany has been in a state of high tension after two attacks this summer claimed by the Islamic State, in which many people were injured and both assailants died.
Two other attacks unrelated to Islamic extremism, including a deadly mall shooting in Munich, have also stoked fears.