One person has been taken to hospital after a lorry came off a motorway and crashed on to a railway line.
Train services between Glasgow Central and Carlisle via Dumfries have been disrupted following the incident, which happened near Gretna just before 8am on Friday.
The Scottish Fire and Rescue Service sent four appliances and a specialist unit to the scene close to Junction 22 on the A74(M), while the ambulance service sent an ambulance and a paramedic response unit.
The Scottish Ambulance Service said one person has been taken to Dumfries and Galloway Royal Infirmary.
ScotRail said services between Glasgow Central and Carlisle via Dumfries are likely to be disrupted for the rest of the day.
Services to and from Glasgow will terminate and start back from Dumfries as stations between Dumfries and Carlisle cannot be served by train.
Phil Campbell, ScotRail customer operations director, said: “ScotRail services between Glasgow Central and Carlisle via Dumfries are currently disrupted following an incident between Gretna and Carlisle.
“To keep people moving, customers with valid train tickets can travel on alternative routes where possible, with replacement buses also in operation. Anyone delayed by 30 minutes or more can claim compensation through our Delay Repay Guarantee.”
ScotRail said customers can travel on Avanti West Coast and Transpennine Express services between Glasgow, Lockerbie and Carlisle.
Network Rail said West Coast Main Line services are not affected by the incident.
In a post on X, it added: “We’re still working with the emergency services dealing with an obstruction blocking the railway between Carlisle and Gretna, closing the Carlisle-Dumfries line.”