Iraqi Republic Railways Company (IRR; ) is the national railway operator in Iraq. Network IRR comprises of . IRR has one international interchange, with Chemins de Fer Syriens (CFS) at Rabiya. The system runs from Rabiya southward through Mosul, Baiji, and Baghdad to Basra, with a branch line from Shouaiba Junction (near Basra) to the ports of Khor Az Zubair and Umm Qasr, westward from Baghdad through Ramadi and Haqlaniya to Al Qaim and Husayba, with a branch line from Al Qaim to Akashat, and east-west from Haqlaniya through Bayji to Kirkuk. History The first section of railway in what was then the Ottoman Empire province of Mesopotamia was a length of the Baghdad Railway between that city & Samarra opened in 1914. Work had started northwards from Baghdad with the aim of meeting the section being constructed across Turkey and Syria to Tel Kotchek and an extension northwards from Samarra to Baiji was opened in December 1918. From 1916 onwards an invading British Military force brought narrow gauge equipment, firstly gauge and later gauge from India to Southern Mesopotamia to construct various sections of line to support its offensive against the Turks. Britain defeated the Ottomans and Mesopotamia became a League of Nations mandate under British administration. In April 1920 the British military authorities transferred all railways to a British civilian administration, Mesopotamian Railways. The metre gauge line from Basra to Nasiriyah was the most important section constructed during the war in terms of its significance as part of later efforts to construct a national railway network. Soon after the end of World War I this was extended northwards from Ur Junction outside Nasiriyah up the Euphrates valley with the complete Basra to Baghdad route being opened on 16 January 1920. The other section of metre gauge line built during World War I that had ongoing significance was that from Baghdad East north eastwards to the Persian border. After the war the eastern end of this line was diverted to Khanaqin and the wartime built line north west from Jalula Junction was extended from Kingerban to Kirkuk in 1925. In 1932 Iraq became independent from the UK. In March 1936 the UK sold Mesopotamian Railways to Iraq, which renamed the company Iraqi State Railways. Work resumed on the extension of the Baghdad Railway between Tel Kotchek on the Syrian frontier and Baiji. The through route was opened and completed