A 20-year-old man arrested in connection with a data breach that affected thousands of people in Germany has confessed to police, the country's federal prosecutor, Georg Ungefuk, told reporters at a press conference in Wiesbaden on Tuesday.
Hundreds of politicians and public figures were among those affected by the attack, with personal data and documents released online.
Continents and regions
Crime, law enforcement and corrections
Government and public administration
Law and legal system
Admissions and confessions
Trial and procedure
"During questioning, the defendant stated that he had acted alone in the data spying and unauthorized data releases," Ungefuk said.
The suspect was arrested in the German state of Hesse on Sunday as part of a joint investigation by Frankfurt's Attorney General, the Central Office for the Suppression of Cybercrime (ZIT) and the Federal Criminal Investigation Office.
''The investigations have so far revealed no evidence of any third-party involvement," reads a statement from Germany's federal crime office (BKA) released on Tuesday.
"On his motivation, the defendant stated that he acted out of annoyance at public statements made by the politicians, journalists and public figures concerned."
The man was released on Monday evening due to a lack of grounds for detention, according to the statement, but evidence such as computers is still being evaluated.
In response to the data breach, Germany's interior minister Horst Seehofer told reporters that he would work to put safer measures in place to protect data in future, including a new IT security law.
A draft bill could be presented to cabinet within a few months, Seehofer said during a press conference, but the exact timings are still to be confirmed.
Seehofer reiterated that challenges would remain despite this new law.
''We cannot promise absolute, total security, especially in the field of cyber security," he said.
Details of the data breach were provided by government spokeswoman Martina Fietz on Friday.
Fietz told reporters that German lawmakers at all levels, including from the European parliament, German parliament, and local politicians, had been affected.
The data included credit card details, phone numbers and email addresses, one political party told CNN.
Several German media outlets reported that German Chancellor Angela Merkel was affected by the breach, but Fietz said no sensitive information from Merkel's office had been published.
This is not the first time German politicians have been targeted.
A cyberattack targeted parts of the German government network, including the foreign ministry, early last year, Reuters reported.
And in 2015, pro-Russian hackers claimed responsibility for a series of cyberattacks that brought down government websites.
On Friday, Fietz told reporters that it was "too early at this stage to compare this incident to that in previous years."