In 1865, four railways were absorbed, effective from 1 August; they were the Bridge of Weir Railway (from Elderslie, opened in 1864), the Maybole and Girvan Railway (described above; it had never made money and had run out of cash to finish the buildings and ancillary works on the line); the Castle Douglas and Dumfries Railway (CD&DR); and the Kirkcudbright Railway.