Police said they cleared S-Bahn station Unterfoehring station, near Munich where gunshots were fired.

Highlights A handgun was used at S-Bahn station Unterfoehring

German police said they had cleared the station

The sole male perpetrator was motivated by personal reasons

Situation on the spot secured by police forces. The area around the suburban train station #Unterfohring is being cordoned off. — Polizei München (@PolizeiMuenchen) June 13, 2017

Suburban train station #Unterfohring – Several persons wounded by gunshots. Police woman seriously wounded. One person has been arrested. — Polizei München (@PolizeiMuenchen) June 13, 2017

Several people were wounded when shots were fired at a commuter rail station near the southern German city of Munich on Tuesday and one person was detained, police said."Several people were injured by shots. A female police officer was badly wounded" at an S-Bahn station in Unterfoehring, a northeastern suburb of the Bavarian city, police tweeted, and that the scene was now "secured".Police has confirmed that there was 'no political or religious motive' behind the Munich shooting."The sole male perpetrator was motivated by personal reasons. There is no political or religious background here," Munich police spokesman Marcus da Gloria Martins told reporters.It was not immediately clear whether it was a police officer or an assailant who had fired. Police said they had cleared the station.German Police also tweeted following the incident.Martins said the man had tried to push at least one police officer in front of an incoming train at an S-Bahn station in Unterfoehring, a northeastern suburb of the Bavarian city.A scuffle ensued during which the assailant took an officer's gun and fired."The police officer was shot in the head and critically injured," Martins added.Two other people at the station were seriously injured but their lives were not believed to be in danger. They were being treated in local hospitals."The assailant was arrested. He was also injured. There are no indications of further perpetrators," according to another police tweet.Last July, an 18-year-old, David Ali Sonboly, shot dead nine people at a Munich shopping mall before turning the gun on himself, having spent a year planning the rampage.

And in March, an axe-wielding attacker wounded nine people in a bloody rampage at a railway station in the western city of Dusseldorf.(With inputs from AFP and Reuters)