The flanks were covered by small units formed from the Border Guard, the Cossacks, and the militia. Due to the defeats at the Battle of Tannenberg and the Masurian Lakes, the Russians redeployed almost half their forces to the Prussian front, leaving behind just 65,000 troops from the initial 100,000 to face the Ottoman army.