A freight train derailed near Inverness as Storm Ali sweeps across the north and north-east of Scotland.
High winds and heavy rain are continuing to batter the country during the first named storm of the season.
The rail line between Inverness and Perth was closed after a train derailed near Culloden overnight.
Replacement buses were put on by Scotrail as engineers scrambled to get the locomotive back on the track and moving again.
NEW: The line between #Inverness & Perth is closed, due to a freight train becoming derailed at low speed near Culloden overnight. More info ASAP. ^CT
@BBCTravelScot @STVNews @TrafficScotland— ScotRail (@ScotRail) September 19, 2018
At around 1.40am a northbound service struck tree branches and left the track near the Culloden viaduct.
No trains are running between Inverness and Perth but ScotRail said they expect the line to reopen in the early afternoon.
A spokesman said: “Specialist engineers and lifting equipment are on their way to the site and we will re-rail the engine and reopen the line as soon as possible.”
Our pictures show it is the train’s engine which has derailed.
Further south, the Tay Road Bridge is shut to all traffic having recorded winds of nearly 92mph.
HIGH WINDS – BRIDGE CLOSED TO ALL TRAFFIC, AND CENTRAL WALKWAY CLOSED. ( 13:13 – 19/09/18 )
— Tay Road Bridge (@tay_road_bridge) September 19, 2018
The Skye Bridge, Forth Road Bridge, Clackmannanshire Bridge and Queensferry Crossing all have restrictions in place.
All rail services between Glasgow Queen Street and Edinburgh have been suspended due to the weather.
The Met Office updated its amber weather warning of wind, saying there is a high likelihood of impacts across a swathe of the UK.
Power cuts and flying debris are possible as the storm sweeps through the country.
The weather alert, which is in place until 6pm on Wednesday, warns that flying debris is likely and could lead to injuries or danger to life.
There is also potential for damage to buildings, fallen trees, travel cancellations, more road closures and large waves in coastal areas.
It covers the southern half of Scotland and the north-east coast.
A less severe yellow warning for wind is in place across the whole of Scotland until Wednesday night.
Motorists have been urged to be careful on the roads.
AMBER WEATHER WARNING
Due to Storm Ali, there is a lot of debris on the roads through the North East. If you do need to travel, please remember to take your time and make yourself visible. #ABZTravel pic.twitter.com/udIv02rPM8
— NorthEastPolice (@NorthEPolice) September 19, 2018
North-east road policing inspector Neil Morrison said: “Conditions are very blustery at the moment and the high winds are expected to remain in our area until later this evening.
“I would urge all motorists to drive carefully and with caution, especially on country roads where potential hazards could be around corners.
“Reduce your speed and leave plenty of space between you and the vehicle in front.”