From the time of Eyubi Effendi until the end of the grand vizierate of Ibrahim Pasha (1730), the empire experienced periodical relief from excessive financial distress under the series of remarkable grand viziers who directed the affairs of state during that time, but the recovery was not permanent.
The humane and tolerant measures provided for in the " nizam-i-jedid," or new regulations for the better treatment of the Christians enacted by Mustafa Kuprili during his grand vizierate (1689-1691), did for a time improve the position of the rayas.
His successor in the grand vizierate, Kiamil Pasha, was soon called upon to deal with Armenian unrest, consequent on the non-execution of the reforms provided for in the Treaty of Berlin and the Cyprus Convention, which first found vent about 1890.
In 1656 he was appointed governor of Tripoli; but before he had set out to his new post he was nominated to the grand vizierate at the instance of powerful friends.
Had he so desired, Kuprili might have taken advantage of the revolts of the Janissaries to place himself on the throne; instead, he recommended the sultan to appoint his son as his successor, and so founded a dynasty of able statesmen who occupied the grand vizierate almost without interruption for half a century.