an Entity references as follows:
The Ayr and Dalmellington Railway was a railway company in Scotland, which connected the growing ironworks community around Dalmellington with Ayr, in Ayrshire, Scotland. Its route was originally planned by the Ayrshire and Galloway Railway as part of a scheme to link Ayr with Castle Douglas, but lack of funds limited the construction to a very short section connecting the iron and coal pits of the Dalmellington Iron Company with its iron works, opening in 1849. The northern section of the line remains open as part of the Glasgow - Ayr - Stranraer route (2014).