During the war against the Bolshevist Russia, Żeligowski, a personal friend of Polish Marshal Józef Piłsudski, was quickly promoted to general and given the command over an operational group of his name, composed of his 10th division and additional units, mostly of partisan origin. As such, he soon became the commanding officer of the entire "Lithuanian-Belarusian Front", operating in the area of Polesie and the Pinsk Marshes. During the Battle of Warsaw in 1920 his unit was attached to the 3rd Polish Army and took part in the pursuit of fleeing Bolshevik and Soviet forces at the Battle of the Niemen.