With the withdrawal of German troops after the war, an independent Ukraine was declared in the capital city under Symon Petliura. It was then briefly occupied by the White armies before the Soviets once more took control in 1920. In May 1920, during the Russo-Polish War it was briefly captured by the Polish Army but they were driven out by the Red Army.