The Darvel and Strathaven Railway linked, with the Darvel Branch to the former Glasgow, Paisley, Kilmarnock and Ayr Railway in Scotland to allow trains to travel between Kilmarnock and Lanarkshire.