The Midland and Great Northern Joint Railway (M&GNJR) was a railway network in England, in the area connecting southern Lincolnshire, the Isle of Ely and north Norfolk. It developed from several local independent concerns and was incorporated in 1893. It was jointly owned by the Midland Railway and the Great Northern Railway, and those companies had long sponsored and operated the predecessor companies. The area directly served was agricultural and sparsely populated, but seaside holidays had developed and the M&GNJR ran many long-distance express trains to and from the territory of the parent companies, as well as summer local trains for holidaymakers. It had the longest mileage of any joint railway in the United Kingdom. In the grouping of 1923, the two joint owners of the M&GNJR were absorbed into two separate companies (the Midland into the London, Midland and Scottish Railway and the Great Northern into the London and North Eastern Railway). The M&GNJR maintained a distinct identity which only formally ended with nationalisation in 1948. After 1945 the profitability of the network declined steeply, worsened by the seasonality of the business. It was duplicated by other lines and the decision was taken to close it. Most of the network closed in 1959, although some limited sections continued in use. Only a short section near Sheringham is in commercial use today, but the North Norfolk Railway is active as a heritage line. First railways The area eventually served by the Midland and Great Northern Joint Railway, taken as south Lincolnshire and north Norfolk, was late to be supplied with railway connections due to being sparsely-populated fenland. The Great Northern Railway (GNR), running north through Huntingdon, Peterborough and on to Grantham, so forming the western edge of the area, was not authorised until 1846 and not opened until 1848 between Peterborough and Lincoln. The Eastern Counties Railway (ECR), authorised in 1836, aspired to reach Norwich and Yarmouth, but ran out of money and stopped short. In frustration local people obtained Parliamentary authority for the Yarmouth and Norwich Railway in 1842. Running via Reedham it opened to the public on 1 May 1844. In 1845 railway mania was underway, and a myriad of railway schemes was put before Parliament. Many of these foundered there, or were authorised but failed to generate investors' commitment. By 1850 the ECR had recovered from its financial difficulties of 1836 and had connected practically every town