Following Russia's defeat in the Russo-Japanese War, Japan gained the rights to operate the Harbin–Lüshun (Ryojun) section of the CER; the line was then converted from Russian broad gauge to the 1067 mm Cape gauge used in Japan, to allow the use of rolling stock from Japan.