Soviet power was established in the city on 26 October (8 November) 1917. On 10 April 1918, troops of the Imperial German Army occupied Belgorod. After the conclusion of the Brest-Litovsk peace treaty of 9 February 1918 the demarcation line passed to the north of the city. Belgorod became part of the newly proclaimed Ukrainian People's Republic (February to May 1918) and Ukrainian State headed by Hetman Pavlo Skoropadskyi.
