The Isle of Man Railway (IMR) () is a narrow gauge steam-operated railway connecting Douglas with Castletown and Port Erin on the Isle of Man. The line is narrow gauge and long. It is the remainder of what was a much larger network (over ) that also served the western town of Peel, the northern town of Ramsey and the small mining village of Foxdale. Now in government ownership, it uses original rolling stock and locomotives and there are few concessions to modernity. History The line from Douglas to Port Erin is the last remaining line of the former Isle of Man Railway Company, formed in 1870. Its first line, from Douglas to Peel, opened on 1 July 1873, followed by the Port Erin line on 1 August 1874. Initially the Port Erin line had been planned to terminate at Castletown, but the construction of deep water docks at Port Erin caused an extension to the line. A few years after completion, the dock was destroyed by heavy seas and the idea of deep water vessels abandoned there. The remains of the breakwater are still visible at low tide. A third line was built in 1878–1879 by the Manx Northern Railway, from St John's (on the Douglas to Peel line) to Ramsey. A further short line was constructed from St John's to Foxdale in 1885 to serve the lead mines there. Although it was built by the nominally independent Foxdale Railway, it was leased to and operated by the Manx Northern. The loss of the mineral traffic from Foxdale and competition for the Douglas-Ramsey passenger traffic from the Manx Electric Railway placed the Manx Northern Railway in financial difficulties. It was taken over by the IMR in 1904. During the mid-1920s the IMR formed a bus subsidiary that operated most of the island's bus services, and helped the railway to remain profitable into the 1960s. The first serious examination of the long term viability of the railway came with the Howden Report in 1949, which recommended the closure of the Ramsey line, which was already losing money; the eventual closure of the Peel line, which was breaking even in the late 1940s; and the retention of the then profitable Port Erin line. Howden also reported that the existing equipment of the railway had an economic life of 10–25 years. Economies were made throughout the 1950s and early 1960s. These included