JABLANICA, Bosnia-Herzegovina — Two freight trains collided head-on in southern Bosnia early Thursday, killing two people and seriously injuring one more.

Police said the crash occurred at the train station in the town of Jablanica.

Bosnian media said a fourth person, an engine driver, was unhurt after jumping from one of the trains moments before the collision.

The trains, one packed with cargo and one empty, were traveling to and from the Adriatic Sea port of Ploce.

Photos from the scene show both engines came off the tracks during the crash.

The cause of the crash is being investigated. Bosnian media said that one train went through a red light.