Kilmarnock had one of the earliest tram railways in the world, running to Troon over the (recently restored) Laigh Milton viaduct. The Glasgow and South Western Railway also set up their works here, producing nearly 400 locomotives by the time it was absorbed by the London, Midland and Scottish Railway in 1923. Some work continued, but heavy repairs were sent to St. Rollox. Locomotive repairs finished in 1952, and the works closed in 1959. Nevertheless locomotives are still made by Hunslett-Barclay, as well as the maintenance of existing diesel and electric multiple units.