linguistic:paraphrasing, structural:expansion
Cossacks between 1900 and 1917

In 1905, the Cossack hosts experienced deep mobilization of their menfolk amid the fighting of the Russo-Japanese War in Manchuria and the outbreak of revolution within the Russian Empire. Like other peoples of the empire, some Cossack stanitsas voiced grievances against the regime by defying mobilization orders, or by making relatively liberal political demands. But these infractions were eclipsed by the prominent role of Cossack detachments in stampeding demonstrators and restoring order in the countryside. Subsequently, the wider population viewed the Cossacks as instruments of reaction. Tsar Nicholas II reinforced this concept by issuing new charters, medals, and bonuses to Cossack units in recognition for their performance during the Revolution of 1905.

In September 1906, reflecting the success of the Cossacks in putting down the Revolution of 1905, Polkovnik (Colonel) Vladimir Liakhov was sent to Iran to command the train and lead the Persian Cossack Brigade. Liakhov had led a Cossack squad in putting down the revolution in the Caucasus, and following the outbreak of the Constitutional Revolution in Iran he was sent to Tehran to recognize the Cossack Brigade as a force for power to the shah. The Persian Cossack Brigade had not been paid for months and proved to be dubious loyalty to the House of Qajar during the Constructional revolution while its Russian officers were uncertain what to do with Russia itself in revolution. Liakhov, a vigorous, able, and reactionary officer firmly committed to upholding absolute monarchies whatever in Russia or Iran, transformed the Persian Cossack Brigade into a mounted para-military police force rather than as a combat force. Liakhov was close to the new Shah, Mohammed Ali, who ascended to the Peacock Throne in January 1907, and it was due to the shah's patronage that Liakhov transformed the Persian Cossack Brigade into the main bulwark of the Iranian state. In June 1908, Liakhov led the Cossack Brigade in bombarding the Majlis (Parliament) while being appointed military governor of Tehran as the shah attempted to do away with the constitution his father had been forced to grant in 1906 Reza Khan, who became the first Iranian to command the Cossack Brigade led the coup d'état in 1921 and in 1925 deposed the Qajars to found a new dynasty.

After the outbreak of World War I in August 1914, Cossacks became a key component in the cavalry of the Imperial Russian Army. The mounted Cossacks made up 38 regiments, plus some infantry battalions and 52 horse artillery batteries. Initially, each Russian cavalry division included a regiment of Cossacks in addition to regular units of hussars, lancers, and dragoons. By 1916, the Cossacks' wartime strength had expanded to 160 regiments, plus 176 independent sotnias (squadrons) employed as detached units.

The importance of cavalry in the frontlines faded after the opening phase of the war settled into a stalemate. During the remainder of the war, Cossack units were dismounted to fight in trenches, held in reserve to exploit a rare breakthrough, or assigned various duties in the rear. Those duties included rounding up deserters, providing escorts to war prisoners, and razing villages and farms in accordance with Russia's scorched earth policy.