The Royal Westphalian Railway (German: Königlich-Westfälische Eisenbahn, KWE) built its main line from Hamm to Warburg in the early 1850s. In 1855, the KWE took over the Munster-Hamm Railway Company (Münster-Hammer Eisenbahn-Gesellschaft), together with its line to Munster, which it then extended further north to Rheine. It opened its line on 23 June 1856, reaching Rheine station on the same day as both of the two sections of the Hanoverian Western Railway were completed to the station: the line from Löhne and the Emsland Railway to the North Sea port of Emden.[2]