The shooting happened at the Plaza Maipu station in the southwestern part of Santiago.

Police say the gunman got on the last car of a subway train and opened fire. A witness reported the man fired at least nine shots.

Police say the gunman got off the train, left the station and walked to a nearby square, where he committed suicide.

Two passengers died on the train. Three others suffered serious wounds and a fourth was slightly injured.

Authorities are trying to determine the motive for the attack.