Railway line in Scotland
 ;templatestyles src="Routemap/styles.css"/ ;
The Glasgow, Dumfries and Carlisle Railway was a railway company in Scotland, which constructed the line from near Cumnock to Gretna Junction, forming the route from Glasgow to Carlisle via Dumfries, in association with other lines. Its promoters hoped it would form the only railway between central Scotland and England, but it lost out to rival companies. 
It opened in stages between 1846 and 1850, and on completion of its line it merged with the Glasgow, Paisley, Kilmarnock and Ayr Railway. The combined company took the name Glasgow &amp; South Western Railway (G&amp;SWR). The G&amp;SWR formed an alliance with the English Midland Railway and for many years express passenger trains ran between Glasgow and London over the routes. The line is open today, continuing to form part of the Glasgow - Kilmarnock - Dumfries - Carlisle line; but that has diminished in importance and is now a secondary route. Passenger services are operated by ScotRail.
History.
A line into Ayrshire, and later to England?
In the 18th century, tracked systems called plateways were constructed in areas of Scotland where minerals were extracted; the need was to convey the heavy product to a river or a harbour, in many cases over a relatively short distance, so that water-borne transport could take it to market. By 1830 the technology had progressed and railway lines using edge rails (in which the vehicle wheels, rather than the plate "rails" had flanges for guidance) became commonplace. The Monkland and Kirkintilloch Railway of 1826 may be regarded as the pioneer in showing the way forward.
The Liverpool &amp; Manchester Railway opened in 1830 and demonstrated that inter-city lines could be profitable, and that passenger carriage could be a prime source of business and not just an adjunct to mineral haulage. As railways in England began to develop into a network, business people in Scotland started to think not merely of internal railways, but of eventual connection with England. When the Grand Junction Railway was authorised in 1833, to link Birmingham (and therefore London) with Manchester, it was possible to consider that railways might soon link central Scotland and the south of England.
In 1835 a railway from Glasgow into Ayrshire was being actively promoted, and a survey to be commissioned from John Miller, and he proposed a route from to Ayr and Kilmarnock. There was a clear view that this could be the start of a line to Carlisle, there linking up with whatever English railway might reach that city. The line into Ayrshire received the royal assent on 15 July 1837, and was called the Glasgow, Paisley, Kilmarnock and Ayr Railway (GPK&amp;AR).
The company's first shareholders' meeting (while the line was still under construction) was told that "the Glasgow &amp; Ayrshire Railway (GPK&amp;AR) will at no very distant period form part of the great trunk line to England".
The GPK&amp;AR opened its line to Ayr in 1840, and to Kilmarnock on 4 April 1843. However the process of construction had been difficult, and getting money from subscribers had proved difficult due to the tight financial conditions prevailing; moreover other priorities arose for the company, in particular the building of branches in Ayrshire for tactical reasons: to discourage rival companies from entering the area that the GPK&amp;AR considered its own. Accordingly, the idea of the GPK&amp;AR extending to Carlisle took a lower priority.
It was not only the GPK&amp;AR who considered making a trunk line southwards: a strong body of opinion considered that a route directly over the hills of the Southern Uplands was superior, with a shorter mileage. This became known as the proposed "Annandale route" to Carlisle, but Kilmarnock was not an ideal starting point to go that way. The GPK&amp;AR's supporters intended a line from Kilmarnock via Dumfries, and this was the proposed "Nithsdale route". Although longer, this had much easier gradients—at the time engine power was considered to be inadequate for a hillier route—and would go through more populous districts, bringing in more intermediate business; in addition it would be cheaper to build. Meanwhile, many people supported an "east coast route" that would reach England from Edinburgh by way of Dunbar and Berwick.
Controversy over routes.
On 15 March 1841 a report on the relative merits of the routes was submitted by two commissioners appointed by Parliament, Professor Peter Barlow (of the Royal Military Academy at Woolwich) and Sir Frederick Smith, the first Inspector-General of Railways for the Board of Trade. There were sixteen variations of proposed route; the Commissioners were frustrated that "the information supplied to us [by the respective promoters] has been very incomplete" and in fact they were unable to get detailed figures of costs and possible income for the Nithsdale route.
The commissioners took the view that only one Anglo-Scottish line was viable: "We are led to believe ... that the amount of traffic which ... may be expected, is not such a would be likely to afford an adequate return for the construction of two distinct lines of railway, the one from Darlington to Edinburgh, and the other from Lancaster to Glasgow."
They declared that the Anandale route was to be preferred, but "the promoters must prove their bona fide intention to complete the English portion of the line, otherwise preference would be given to the East Coast route". However their report was not binding: it was hedged with numerous qualifications, and by no means closed the matter. In particular they stated that if they had considered two routes in Scotland practicable, they would have recommended the east coast route and the decidedly superior mechanical properties of the Nithsdale route might well have offset the greater length. In any case the railways in England did not yet extend north of Lancaster. The Commissioners' report had the effect of suspending the enthusiasm for cross-border railways for a period, and killing off a few fanciful schemes, but after three years when interest in such lines was resumed, the report was completely irrelevant.
Definite proposals at last.
So interest did resume, and on 9 March 1844 the provisional committee of the "Glasgow &amp; Carlisle Railway Company" (GD&amp;CR) met. There was considerable overlap in membership with the GPK&amp;AR, and the latter helped out with the committee's expenses at first. A critical need was to generate promises of subscriptions, and to distinguish this proposal from the Annandale route (now being identified as "the Caledonian Railway"), which was also being heavily promoted once again: the name was soon changed to "the Glasgow Dumfries and Carlisle Railway", reflecting also the interests of Dumfries and other more southerly subscribers. The capital would be £1.3 million.
This proposal went to Parliament as a bill in the 1845 session, but so did the Caledonian scheme. Locomotive power had improved in the recent few years, so that the gradients over Annandale were less significant; and the Annandale route could fork as it reached northwards and serve Edinburgh as well as Glasgow. Parliament was still unwilling to sanction two major lines, and on 31 July 1845 the "Caledonian Railway" won the battle: its Annandale route received the Royal Assent. However, in the same session the GPK&amp;AR got approval to extend southwards from Kilmarnock to Horsecleugh, south of the mining town of Old Cumnock.
The supporters of the Nithsdale scheme did not give up, and resolved to try again in the 1846 session. They dissolved the original GD&amp;CR and established a new one under the same name; the route would now join the Caledonian line at Gretna, rather than running independently to Carlisle. With several new branches added to the scheme, the capital was once again to be £1.3 million. However it emerged that the "British and Irish Union Railway" was proposing a line to connect Carlisle and Portpatrick, from where the short sea route to the north of Ireland started. The B&amp;IUR planned to run between Dumfries and Carlisle, along an alignment that the GD&amp;CR intended to use; the Caledonian Railway was also considering using this route. In fact in the 1846 session a huge number of railway schemes were being proposed, many of them fanciful, but most of them requiring attention to consider what strategies might be necessary to avoid loss of the GD&amp;CR's own scheme.
And finally, authorisation.
United Kingdom legislation
Most of these schemes fell away when the financial bubble burst, and on 13 August 1846 the Glasgow Dumfries and Carlisle Railway was authorised. Disastrously, the ;templatestyles src="Template:Visible anchor/styles.css" / ;Glasgow, Dumfries, and Carlisle Railway Act 1846 (9 &amp; 10 Vict. c. ccclxxii) gave the Caledonian Railway rights to a "perpetual lease" of the line between Gretna and Annan. The first ordinary meeting of shareholders took place on 8 September 1846, and it was agreed that an objective was eventual amalgamation with the GPK&amp;AR. Money was desperately short, and contracts were let for construction of the main line beyond what funds were available to pay; the numerous branches included in the act were still considered definite intentions, as was a long line from Dumfries to Portpatrick; there was no match between available money and the ambition of these schemes. The GPK&amp;AR was running its own railway and making a good profit, and it was persuaded to buy up unissued GD&amp;CR shares; immediate amalgamation was considered, but the GD&amp;CR was too demanding in its terms and the idea was postponed.
Relations with the Caledonian Railway were more often hostile than friendly, and it was a considerable relief when the GD&amp;CR obtained an act of Parliament on 9 June 1847 repealing the authorisation for the CR to lease the Gretna to Annan section.
Opening, in stages.
The GD&amp;CR proceeded with construction contracts in a state of considerable financial difficulty, and on 21 August 1848 a special train for directors and their friends was run from Dumfries to Annan. The line opened to the public from Dumfries to Gretna on 23 August 1848; operation and provision of rolling stock was in the hands of the GPK&amp;AR, who also underwrote any loss, or profit, on the operation. Running arrangements into Carlisle had not been finalised, so the passenger trains only ran as far as Gretna, from where passengers could change trains and continue in Caledonian Railway trains. At Dumfries the station was a temporary structure south of Annan Road.
On 15 October 1849, the line was opened from Dumfries to Closeburn, and on 20 May 1850, the final section was opened from Closeburn to Horsecleugh, where an end-on junction was made with the GPK&amp;AR, which opened from Auchinleck to that point on the same day. There was no station at Horsecleugh; it was probably an arbitrary boundary point. its location is thought to be at the Dumfries Road bridge.
The authorising acts of Parliament of 1846 and 1847 had confirmed that the GD&amp;CR would merge with the GPK&amp;AR on completion of the GD&amp;CR line; in fact the GPK&amp;AR as senior partner absorbed the GD&amp;CR, and changed its name to the Glasgow &amp; South Western Railway.
On 28 October 1850 therefore, the Glasgow and South Western railway started its existence, and the GD&amp;CR was dissolved.
The G&amp;SWR.
The new company had finally won its battle for a through line, though it had lost the race for primacy; the Caledonian Railway had a much shorter route to Glasgow and Edinburgh, and the North British Railway had been running through trains from Edinburgh to London on the east coast route via Berwick-upon-Tweed for two years.
On 26 June 1873 a line was opened from Barrhead to Kilmarnock, shortening the Glasgow to Kilmarnock run, and therefore the Glasgow to Carlisle run, considerably.
The new company needed an English partner to make a viable service to London, and eventually it found one, when the Midland Railway built its line to Carlisle, opening in 1875/6. From that time a firm alliance was formed, and express passenger trains to London ran over the Dumfries line and via Leeds on the Midland line, reaching London at St Pancras station.
The G&amp;SWR expanded south-westward from Glasgow, where more traffic—mineral as much as passenger—was available than in the moorlands of Nithsdale.
The G&amp;SWR continued in existence until the "grouping" of the main line railways in Great Britain, under the Railways Act 1921; the G&amp;SWR, together with the Caledonian Railway, became constituents of the London, Midland &amp; Scottish Railway (LMS).
In turn the LMS, together with other railways, was nationalised and the Scottish sections became British Railways, Scottish Region. The G&amp;SWR lines retained a