Following the Polish summer retreat towards the Vistula, the division pursued the Polish forces. On August 9 it captured Wyszków and then advanced north of Bug, Narew and Vistula towards Łomża. The town fell to the Soviets, but a successful counter-attack on Łomża carried out by Polish 59th "Greater Polish" Infantry Regiment recaptured the town. The Soviet division lost many of their prisoners of war. Following the Battle of Warsaw, the 6th Rifle Division was defeated. Recreated as part of the Soviet defenses along the Niemen river, it took part in the Second Battle of the Niemen River. Defeated east of Wilejka by Polish cavalry, it was surrounded and completely eliminated. The Poles captured its headquarters, tabor, 13 field kitchens and the remaining two pieces of artillery, as well as all commanding officers of the division's regiments.