Even then, Ottoman control was largely confined to cities, and the Zaidi imam's rule over Upper Yemen was formally recognized.
[6] In the late 19th century, the Zaidis rebelled against the Turks, and Imam Mohammed ibn Yahya laid the foundation of a hereditary dynasty.
[7] When he died in 1904, his successor Imam Yahya ibn Mohammed led the revolt against the Turks in 1904–1905, and forced them to grant important concessions to the Zaidis.
[6] Ahmet İzzet Pasha concluded a treaty with Imam Yahya in October 1911, by which he was recognised as temporal and spiritual head of the Zaidis, was given the right to appoint officials over them, and collect taxes from them.
[7] When World War I broke out, Imam Yahya remained nominally loyal to the Sultan, but tried to negotiate with Britain at the same time.