A police officer is fighting for his life in Germany after being shot by a right-wing extremist during a weapons raid.

The officer was one of four injured in a gun battle with a suspect named as Wolfgang P at a house in Georgensgmünd on Wednesday morning.

Officials said police were executing a warrant to confiscate legally-owned firearms after the 49-year-old refused mandatory inspections by local authorities.

A team of specialist officers launched the operation at 6am local time (5am BST) and were immediately met by gunfire.

Johann Rast, the chief of Central Franconia Police, told a press conference police found the suspect in a bedroom.

“He was hiding behind the door and shot through the closed door,” he said. “It is not yet clear how many shots were fired.”

Three hit an officer who remains in a critical condition, striking his helmet, elbow and edge of his protective vest. Another officer was shot in the arm, while two others were injured by flying glass.

Wolfgang P is believed to have been alerted to the police’s approach by blue lights and sirens, having a gun and bulletproof vest next to his bed.

The suspect was injured and taken into custody, with an arsenal of 30 weapons seized in subsequent searches of his home.

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

Officials said he calls himself a “Reichsbürger”, part of a far-right movement that claims the current German state is illegitimate and is alleged to have neo-Nazi links.

Joachim Herrmann, the Bavarian interior minister, described his shock at the shooting and said it was “clear” that Wolfgang P fired before police officers.

“To be part of the Reichsbürger movement is to be a right-wing extremist,” he added.

“We must take a closer look at the movement. The Reichsbürgers are not being dismissed as a group of nutters.

“It is obvious that these people, who are so consumed by their ideological beliefs, are willing to use violence against police.”

Mr Herrmann said the movement has been under “intensive observation” by state intelligence services because of elements' “far-right aims”, and that surveillance would increase.

Police uncovered a neo-Nazi plot to attack a refugee centre in Bavaria last year (EPA)

Reichsbürgers adhere to their own self-declared government, known as the KRR, which issue their own version of official documents such as driving licences, while followers frequently spurn federal taxes or fines.

They are mainly known for aggravating German authorities by pursuing obscure legal claims rather than violence, but a member was wounded during a gun battle as he was evicted from his home in August.

Wolfgang P, who is unemployed and previously operated a martial arts school, had reportedly written “scurrilous letters” on the movement after joining in the summer. He remains in police custody.

A recent report by Berlin's state intelligence service describes the Reichsbürgers as “an extremely diverse range of small groups and individuals who believe in an ideological mixture of conspiracy theories, anti-Semitic and anti-democratic views, and who have been behaving increasingly aggressively for some time".

Germany remains on a state of high alert following a series of terror attacks by Isis supporters, including a suicide bombing in Ansbach and axe attack on a train.

But there is also growing concern over far-right movements, which have been gathering increasing support during tensions over the refugee crisis and sexual assaults in Cologne.