The German government has called for calm after the arrest of an asylum seeker over the rape and murder of a woman prompted a backlash against the country’s “open door” asylum policy.

Following news that an Afghan 17-year-old had been accused of the murder of the 19-year-old woman, anti-immigrant party Alternative for Germany (AfD) publicly warned against the "uncontrolled arrival" of immigrants.

Meanwhile, the head of a police union claimed the murder could have been prevented had the country been "better prepared" for immigration.

In response to the anti-migrant backlash, Vice Chancellor Sigmar Gabriel said the alleged incident should not be used to whip up hatred against all refugees.

Mr Gabriel told Bild newspaper: “Such horrible murders already happened before the first Afghan or Syrian refugee arrived here. We will not allow incitement after such violent crimes, no matter who commits them.”

Interior Minister for German state Baden-Württemberg, Thomas Strobl, meanwhile, said the suspect must answer before the law “regardless of his nationality”.

“The alleged offender must now - regardless of his nationality, regardless of the question since when he has lived in Germany - be in court and answer before the law,” said Mr Strobl.

In response to the arrest of the asylum seeker, AfD co-chief Jörg Meuthen, whose party has grown with the rising discontent over the presence of refugees in Germany, said: “We are shocked by this crime and at the same time we see that our warnings about the uncontrolled arrival of hundreds of thousands of young men from Islamic-patriarchal cultures are written off as populist.”

Rainer Wendt, head of the DPoIG police union, claimed the teenager's killing could have been prevented, telling Bild: “We wouldn't have this victim, and so many others, if our country had been better prepared for the dangers that always go along with massive immigration.”

The BZ daily in Berlin said neo-Nazis in Germany were “rubbing their hands with glee” in response to news of the incident, viewing it as an opportunity to spread their propaganda.

The publication wrote: “This terrible case is a perfect incentive for their propaganda: every refugee is a potential criminal and terrorist!”

On social media issued sarcastic 'thank yous' to Chancellor Angela Merkel, whose open-door asylum policy brought a record number of migrants and refugees into Germany last year.

Maria Ladenburger, the daughter of a high-ranking EU legal official, was raped and murdered in Frieburg as she cycled home, and was later found drowned on a river bank.

The DNA of the Afghan migrant was found at the scene and he was identified on CCTV, according to the authorities in Frieburg.

The suspect, who came to Germany in 2015, is on remand and will stand trial next year after charges are brought at the conclusion of the police investigation.

Germany reacts to Cologne New Year's Eve attacks Show all 13 1 /13 Germany reacts to Cologne New Year's Eve attacks Germany reacts to Cologne New Year's Eve attacks Women protest against sexism outside Cologne Cathedral on 5 January after the assaults Oliver Berg/EPA Germany reacts to Cologne New Year's Eve attacks Women protest against sexism in Cologne following the rash of sex attacks on New Year's Eve Wolfgang Rattay/Reuters Germany reacts to Cologne New Year's Eve attacks Police initially failed to mention the assaults in report the following morning EPA Germany reacts to Cologne New Year's Eve attacks Police officers patrol in front of the main station of Cologne, Germany AP Germany reacts to Cologne New Year's Eve attacks German far-right supporters demonstrate at Cologne`s train station (Reuters) Reuters Germany reacts to Cologne New Year's Eve attacks Supporters of anti-immigration right-wing movement Pegida in Cologne, Germany, January 9, 2016. Reuters Germany reacts to Cologne New Year's Eve attacks Police used pepper spray to control supporters of Pegida, Hogesa (Hooligans against Salafists) and other right-wing populist groups as they protested against the New Year's Eve sex attacks on 9 January, 2016 in Cologne, Germany Reuters Germany reacts to Cologne New Year's Eve attacks Police use a water cannon during a protest march by supporters of anti-immigration right-wing movement Pegida in Cologne, Germany, January 9, 2016 Reuters Germany reacts to Cologne New Year's Eve attacks Police use pepper spray against supporters of anti-immigration right-wing movement Pegida, in Cologne, Germany, January 9, 2016. Reuters Germany reacts to Cologne New Year's Eve attacks Artist Mira Moiré protests naked in Cologne against the mass sex attacks on New Year's Eve AP Germany reacts to Cologne New Year's Eve attacks A demonstrator holds a sign in German that reads 'No violence against women' during a demonstration in the wake of the sexual assaults on New Year's Eve, outside the cathedeal in Cologne, Germany, 09 January 2016. EPA Germany reacts to Cologne New Year's Eve attacks Counter demonstrators hold up a sign reading "Against sexism, against racism" as they protest against a demonstration of the islamophobic movement PEGIDA at the train station in Cologne, Germany, on January 9, 2016. AFP/Getty Images Germany reacts to Cologne New Year's Eve attacks Demonstration by a women’s group on Saturday (AP) AP

Recent figures show anti-migrant sentiment has been growing in Germany over recent years.

Attacks on asylum seekers' accommodation increased more than fivefold from 2014 to 2015, according to national crime statistics, while crimes targeting the homes of asylum-seekers also swelled, quadrupling to 1,031, including four attempted murders, eight explosives offences, 60 assaults and 94 arsons.