Mahmud Barzanji revolts were a series of armed uprisings by Kurdish Sheykh Mahmud Barzanji against the Iraqi authority in newly conquered British Mesopotamia and later the British Mandate in Iraq. Following his first insurrection in May 1919, Sheykh Mahmud was imprisoned and eventually exiled to India for a one-year period. When returning, he was once again appointed a governor, but shortly revolted again declaring himself as the ruler of the Kingdom of Kurdistan. The Kingdom of Kurdistan lasted from September 1922 - July 1924. With British forces greatly exceeding his in ammunition and training, the defeat finally subdued the region to central British Iraqi rule in 1924. Sheykh Mahmud retreated into mountains, and eventually reached terms with the independent Kingdom of Iraq in 1932, over his return from the underground. Sheykh Mahmud revolts are considered the first chapter of the modern Iraqi-Kurdish conflict.

Based on the above article, answer a question. What happened first - British Iraqi rule, or the Mahmud Barzanji revolts?
Mahmud Barzanji revolts