One of the politicians elected to the German parliament for the far-right Alternative For Germany (AfD) party has resigned the whip before even taking her seat.

Frauke Petry, one of the co-chairs of the party, told reporters in Berlin she would not sit in the party's group in the Bundestag, effectively making her an independent MP.

"I decided after careful reflection that I will not sit with the (AfD) parliamentary group," she told reporters in Berlin, before abruptly leaving the room.

The surprise move shocked Ms Petry's AfD colleagues when it was made at a press conference on Monday morning, with other politicians present indicating that they were not expecting it.

It is not yet clear whether Ms Petry will remain a member of the party outside parliament.

The newly-elected MP hails from the far-right wing of the AfD: she has called for German forces to use live ammunition to be used to prevent illegal border crossings, and wants to ban elements of Islam, such as minarets, from German towns.

She has previously been embroiled in power struggles with other members of the party, most notably over whether she should be its designated "lead candidate" in the election. She lost out in that race to Alexander Gauland, the group's most prominent face in the media.

Ms Petry had also publicly criticised Mr Gauland for various controversial statements he made on the campaign trail, including claims that Germany should be proud of its soldiers in the Second World War – a taboo in the country. Mr Gauland said after Ms Petry's departure that he did not think his statements were responsible for her decision.

Her refusal to join the party's parliamentary group lays bare the factional infighting and battles for control that have plagued the party since its foundation as an anti-euro movement in 2013.

German election 2017 Show all 14 1 /14 German election 2017 German election 2017 German Chancellor Angela Merkel (R) poses for a selfie with a boy before addressing an election campaign rally of the Christian Democratic Union (CDU) in Kappeln Odd Andersen/AFP German election 2017 German Social Democrat (SPD) and chancellor candidate Martin Schulz speaks during an election campaign stop on September 20, 2017 in Gelsenkirchen. Schulz trails Chancellor and Christian Democrat (CDU) Angela Merkel by double digits Sascha Schuermann/Getty Images German election 2017 Sahra Wagenknecht, top candidate of the left-wing Die Linke party for upcoming general elections, gives a speech during a session at the Bundestag (lower house of parliament) in Berlin on September 5 John MacDougall/AFP German election 2017 Top candidate for the Greens for the 2017 German federal elections, Cem Ozdemir, speaks during an election campaign rally of the Alliance '90/Greens in Stuttgart, southern Germany on September 20, 2017, during the final days before Germans head to the polls Thomas Kienzle/AFP German election 2017 Leader of the Free Democrats (FDP) and main candidate in the upcoming parliamentary elections, Christian Lindner gives a speech during the party congress in Berlin on September 17 Odd Andersen/AFP German election 2017 Alice Weidel and Alexander Gauland, co-lead candidates of the right-wing, populist Alternative for Germany (AfD) political party, speaking to the media on Islam, immigration and crime next to an AfD poster that reads: 'Crime Through Immigration, The Refugee Wave Leaves Behind Clues!' on September 18, in Berlin Tobias Schwarz/AFP German election 2017 People listen to German Chancellor and Christian Democrat (CDU) Angela Merkel speak at an election campaign stop on September 19, 2017 in Schwerin Getty German election 2017 Refugees from Syria prior to the arrival of German Chancellor and Christian Democrat (CDU) Angela Merkel at an election campaign stop on September 19, 2017 in Schwerin Sean Gallup/Getty Images German election 2017 The audience cheers whilst listening to German Social Democrat (SPD) and chancellor candidate Martin Schulz speaking during an election campaign stop on September 14 in Munich Joerg Koch/Getty Images German election 2017 German Chancellor Angela Merkel holds up a tomato as she addresses an election campaign rally of the Christian Democratic Union (CDU) in Lingen on September 13 AFP/Getty Images German election 2017 Alexander Gauland, top candidate of Germany's anti-Islam, anti-immigration AfD (Alternative fuer Deutschland) party for upcoming general elections, walks past supporters as he attends an election campaign event in Nuremberg Daniel Karmann/AFP German election 2017 British politician and former UKIP leader Nigel Farage speaks at an event held by the German right-wing, populist Alternative for Germany (AfD) political party as AfD leading member Beatrix von Storch looks on on September 8, 2017 in Berlin Sean Gallup/Getty Images German election 2017 Martin Schulz (C), chancellor candidate of the German Social Democrats (SPD), looks on in a fest tent at the Gillamoos amusement fair on September 4, 2017 in Abensberg, Germany. Politicians, among them elections candidates, from Germany's major political parties are attending the fair today in what is an an annual tradition Johannes Simon/Getty Images German election 2017 An Alternative for Germany (AfD) campaign poster is vandalised in Berlin. Germans go to the polls on September 24th, with the AfD widely expected to garner enough votes to enter the federal parliament. Campaign poster reads: 'New Germans? we'll make them ourselves.' AFP

The shock move comes following election results that saw the AfD take 12.6 per cent of the vote, becoming the first far-right party to win seats in the Bundestag for half a century.

It gained 94 seats – though after the MPs departure it will have just 93 taking the whip.