<Tr> <Td> </Td> <Td> This section does not cite any sources . Please help improve this section by adding citations to reliable sources . Unsourced material may be challenged and removed . (October 2016) (Learn how and when to remove this template message) </Td> </Tr> <P> The system of administration introduced by Idris remained unchanged until the close of the Russo - Turkish War of 1828--29 . But the Kurds, owing to the remoteness of their country from the capital and the decline of Ottoman Empire, had greatly increased in influence and power, and had spread westwards over the country as far as Angora . </P> <P> After the war the Kurds attempted to free themselves from Ottoman control, and in 1834, after the Bedirkhan clan uprising, it became necessary to reduce them to subjection . This was done by Reshid Pasha . The principal towns were strongly garrisoned, and many of the Kurd beys were replaced by Turkish governors . A rising under Bedr Khan Bey in 1843 was firmly repressed, and after the Crimean War the Turks strengthened their hold on the country . </P> <P> The Russo - Turkish War of 1877--78 was followed by the attempt of Sheikh Obaidullah in 1880--1881 to found an independent Kurd principality under the protection of the Ottoman Empire . The attempt, at first encouraged by the Porte, as a reply to the projected creation of an Armenian state under the suzerainty of Russia, collapsed after Obaidullah's raid into Persia, when various circumstances led the central government to reassert its supreme authority . Until the Russo - Turkish War of 1828--1829 there had been little hostile feeling between the Kurds and the Armenians, and as late as 1877--1878 the mountaineers of both races had co-existed fairly well together . </P>

How did nationalism contribute to the rise of independence movements in the middle east