Train services at a station hit by disruption due to an unsafe building are set to return to normal.
An exclusion zone was put in place at Ayr station earlier this year following concerns about the safety of the old hotel building nearby.
READ MORE: Ayr Station Hotel : Could crumbling symbol of age of steam hit the buffers for good?
The move led to a challenging time for passengers, with cancellations and alterations to services between Glasgow Central and Ayr, Girvan, Stranraer and Kilmarnock.
The ScotRail Alliance said the necessary work to contain the unsafe structure has now been successfully completed by South Ayrshire Council.
As a result, the train operator said it can now access Ayr Townhead Depot and begin to operate trains through the station safely.
A full service is expected to return on Thursday, the ScotRail Alliance said.
The body's sustainability and safety assurance director David Lister said: "We know it has been a challenging time for our customers, so we are really pleased to be able to restore a full service at Ayr.
"South Ayrshire Council, colleagues at ScotRail and Network Rail, and our taskforce partners have done fantastically well to get all services to and from Ayr back to normal in what was an extremely challenging situation."
The temporary station facilities and ticket office will remain in place.
Bill Reeve, chair of the Ayr Station Taskforce Group, said: "This is welcome news for passengers and the business communities in and around Ayrshire, who can now enjoy the full restoration of longer trains between the town and Glasgow Central, as well as fully restored services to Girvan and Stranraer.
"We'd like to thank passengers for their patience during this challenging time, as well as the partners within the taskforce for their commitment to finding a safe solution as quickly as possible."
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules here