A man has been taken to hospital with suspected serious injuries after a train carrying around a dozen passengers hit a car at an unmanned level crossing, police have said.
The crash happened just outside Stranraer, Dumfries and Galloway, shortly before 2pm on Sunday.
Police said the driver of the car was taken to the Southern General Hospital in Glasgow.
The train passengers are being taken to a triage centre in Stranraer, where their condition will be assessed, although they are not thought to have serious injuries. It is thought that the car driver was the only person inside the vehicle.
Dumfries and Galloway Constabulary said the incident happened on the Kilmarnock to Stranraer line and involved a train with two carriages.
Fire, police and ambulance crews attended the scene in the Dunragit area. The crash blocked the train line and damaged the car extensively, police said.
A force spokesman said: "Just before 2pm a train collided with a car at a level crossing just outside Stranraer.
"The driver of the car has been taken to the local hospital but is now going to the Southern General Hospital with what are believed to be fairly serious injuries.
"The train passengers, which are about a dozen, are on the way to Stranraer to be checked over. An investigation will be carried out into what happened."
It is thought the train passengers were being taken to a triage centre set up at a local community hall, where they will then be assessed to see if they need any further treatment.