The growth of railways started later in Scotland than England. The first major line, the Edinburgh & Glasgow, was not opened until in 1842. The Caledonian Railway was established in 1845. Beginning at Carlisle, it went to Glasgow via Edinburgh. Another of its lines went from Carstairs to Edinburgh. In 1848 the Caledonian Railway provided the first through service from Scotland to London. All the locomotives used on the line were painted in what became known as caledonian blue.