A German law enforcement officer admitted that he had issued an arrest warrant for an Iraqi suspect in connection with a fatal stab wound on Sunday.
The document was distributed online by right-wing groups holding anti-immigrant rallies in the city of Chemnitz
The officer was suspended and could now be prosecuted.
He leaked the documents because he wanted to end "speculation" about the stabbing weapons, his lawyer said.
The police were more prepared for trouble in Chemnitz on Thursday night, but a protest passed without major incident.
Following a knife-cut on Sunday, police arrested a 22-year-old Iraqi man and a 23-year-old Syrian and charged with manslaughter [1
He revealed details on the number of stab wounds and the full names of the suspects, the victim, the witnesses and the judge. It also contained the address of Iraq.
Saxon Attorney General Sebastian Gemkov described the leak as "irresponsible" and said it "would likely complicate the ongoing investigation and prosecution".
Who is the jailer?
The 39-year-old warden, who gave himself over, worked in a correctional facility in the eastern city of Dresden, reported Deutsche Welle.
According to a statement released by the man's lawyer on Facebook, he said he knew it. He probably lost his job, but at the time he did not realize that the publication of the arrest warrant was illegal.
He said he wanted to "put an end to speculation about the sequence of crimes".
What happened? in Chemnitz
In the early morning hours of Sunday there was a dispute between "different nationalities" on the edge of a street festival, according to the police.
The stabbing victim, a 35-year-old German-Cuban carpenter named Daniel H, was seriously injured and died in hospital. Two other people were injured
It remains unclear what triggered the brawl, but the police dismissed rumors that the victim had defended a woman from sexual violence.
News of the incident involving migrants has caused hundreds and then thousands of right-wing extremists and sympathizers
On Monday, around 6,000 took part in another far-right demonstration, while 1,000 people gathered at a rival anti-fascist rally, police said With. Fireworks and objects were flung on both sides and several people were injured.
The leak of arrest warrants has further fueled tensions.
Some Right-Wing Extremist Demonstrators Arrested Illegal Hitler Salute
How did the government react?
German Chancellor Angela Merkel has repeatedly condemned the far-right protests. "Hatred in the streets has nothing to do with our rule of law," she said.
Michael Kretschmer, the Saxon Prime Minister and close ally of Mrs. Merkel, has sworn to deal with extremists.
"The fact that we have a Syrian and an Iraqi suspect is no reason – no reason at all – for a general suspicion of all foreign residents," he said.
The protests revealed after the decision of Mrs. Merkel in 2015 splits in the German society more than one million migrants in the country
Since then the number of asylum seekers has dropped sharply. Nonetheless, right-wing groups such as the AfD, which for the first time won 12.6% of the vote and 94 seats in 2017, deplore Ms. Merkel's liberal immigration policy.