The railway line between Dundee and Kirkcaldy has reopened following a period of disruption after a train struck a cow.
Services were halted in both directions on Friday morning following the incident between the Tay Bridge and Leuchars.
Trains between Aberdeen and Edinburgh were affected and Scotrail arranged for customers with valid tickets to travel on some bus services.
A rescue train was brought in to move the one which was damaged when it struck the cow, and the animal was moved off the line.
NEW: A train has struck a cow near #Leuchars, services are unable to run in either direction through the area. ^Angus pic.twitter.com/gckkhHJ57K
— ScotRail (@ScotRail) October 18, 2019
The southbound line reopened first, followed by the northbound one an hour later.
UPDATE: We're now able to run services in both directions through #Leuchars. Our control room team are now working to return services to normal, but this will take a bit of time. ^Angus
— ScotRail (@ScotRail) October 18, 2019
Scotrail said it was working to return services to normal but warned it could take some time.
A Scotrail spokesperson said: “We apologise to customers who’ve been delayed as a result of this incident and understand their frustration when these things happen.
“Anyone delayed by 30 minutes or more is entitled to compensation under our Delay Repay scheme.
“To claim, simply keep hold of your ticket and visit the Scotrail website.