Train with about 300 people on board was heading towards western Ukraine when it struck a goods train travelling in the opposite direction.

Four people have been killed and more than two dozen injured after a passenger train crashed into a goods train in the Czech city of Pardubice, about 100 kilometres (60 miles) east of the capital Prague.

The head-on collision took place after 11pm (21:00 GMT) on Wednesday, as the train with more than 300 passengers was heading east towards Ukraine, officials said.

ā€œI can confirm that four people suffered injuries incompatible with life,ā€ Alena Kisiala, a spokeswoman for local emergency services, told broadcaster Czech TV.

The train was on its way from Prague to the western Ukrainian town of Chop close to the border with Slovakia, and many foreigners were among those on board. Of the 24 people injured, three were reported to be in serious condition.

The Czech Republicā€™s Prime Minister Petr Fiala offered his condolences for what he described as a ā€œgreat disasterā€ on social media platform X.

ā€œWe are all thinking of the victims and the injured,ā€ he wrote.

Dozens of police, fire and emergency service units were sent to the scene of the accident, helping evacuate passengers from the carriages.

Footage shared on news website idnes.cz showed at least one carriage off the track, while other photos suggested the front of the train had been crushed.

Services between Prague and the smaller cities of Brno and Ostrava were suspended for several hours.

Czech Television quoted a fire brigade spokesperson saying the goods train was carrying the industrial chemical calcium carbide, although the first two wagons were empty, so there was no leak.

An investigation is under way into the cause of the collision.