Also in 1845 Brassey received contracts for the Caledonian Railway which linked the railway at Carlisle with Glasgow and Edinburgh, covering a total distance of 125 miles and passing over Beattock Summit.