A German policewoman was shot in the head when a man grabbed her gun at a suburban station in Munich.
The woman was seriously hurt and two bystanders were also wounded in the shooting at Unterföhring S-Bahn station, police said.
Police shot and injured the gunman, who is now in custody. Police said it was not a terrorist incident.
A major police operation is under way in the northern suburb of Unterföhring, and rail services have been disrupted.
The bystanders and the suspect arrested were not gravely hurt.
Police said there was no further danger to the public.