Rail transport in Pakistan began in 1855 during the British Raj, when several railway companies began laying track and operating in present-day Pakistan. The country's rail system has been nationalised as Pakistan Railways (originally the Pakistan Western Railway). The system was originally a patchwork of local rail lines operated by small private companies, including the Scinde, Punjab and Delhi Railways and the Indus Steam Flotilla. In 1870, the four companies were amalgamated as the Scinde, Punjab & Delhi Railway. Several other rail lines were built shortly thereafter, including the SindâSagar and TransâBaluchistan Railways and the SindâPishin, Indus Valley, Punjab Northern and Kandahar State Railways. These six companies and the Scinde, Punjab & Delhi Railway merged to form the North Western State Railway in 1886. It was later renamed as North-Western Railway in 1905, and few decades following the independence of Pakistan in 1947, the North Western Railway which mostly became part of Pakistani territory was renamed Pakistan Western Railway in 1961. It was later renamed as Pakistan Railways in 1974.