In time, real power came to rest with the pasha's corps of janissaries. In 1611 the ''deys'' staged a coup against the pasha, and Dey Sulayman Safar was appointed as head of government. For the next hundred years, a series of ''deys'' effectively ruled Tripolitania. The two most important Deys were Mehmed Saqizli (r. 1631–49) and Osman Saqizli (r. 1649–72), both also Pasha, who ruled effectively the region. The latter conquered also Cyrenaica.