A virus has crippled the computer network of the parliament in the German state of Saxony-Anhalt.
According to criminal investigators, an employee at the state parliament opened a spear-phishing email attachment on Wednesday that contained ransomware.
Read more: What is ransomware?
Employees and representatives were immediately instructed to take their computers and telephones offline as a "contingency measure," Katja Schmidt, a spokesperson for the parliament, told local MDR news.
The employee's computer was infected as well as part of the computer network.
Earlier in the day, the automatic doors to the state parliament building experienced problems. However, it was unclear if it was related to the cyberattack.
IT experts and state police are now investigating the source of the malware. The incident comes just over three weeks before the German federal election.
Read more: Experts warn of election cyberattacks threat in Germany
Authorities have been on high alert for potential meddling in the September 24 election following allegations of Russian interference in the 2016 US presidential election.
Over the past two years, the German parliament, the Bundestag and Chancellor Angela Merkel's CDU have all been targets of cyberattacks.
German intelligence suspects Russia of being behind the cyberattacks in order to steal information.
cw/cmk (dpa, MDR)