control over Transylvania was confirmed in a temporary peace. He also annexed Yanova (Jenö) on 1 August 1660 and Várad on 27 August. Revolt of Abaza Hasan Pasha Köprülü Mehmed Pasha's campaign against Transylvania was cut short by the large-scale revolt of several eastern provincial governors under the leadership of Abaza Hasan Pasha, then the governor of Aleppo. The rebels opposed Köprülü Mehmed's violent purges of the military and demanded that he be killed. However, Sultan Mehmed IV remained steadfast in his support for Köprülü and dispatched an army against the rebels under the command of Murtaza Pasha, who was then guarding the Safavid frontier. Despite assembling a force of 30,000 men and defeating Murtaza Pasha in battle, the harsh winter and fading morale eventually forced the rebels to capitulate. Abaza Hasan's revolt was finally brought to an end in February 1659 with the assassination of all the rebel commanders in Aleppo, despite promises that they would be spared. Ayazmakapi Fire In July 1660 there was a big fire in Istanbul (the Ayazmakapi Fire) causing great damage to persons and buildings, leading later to a food scarcity and plague. Köprülü Mehmed Pasha became personally involved in the reconstruction affairs. The honesty and integrity in conducting state affairs by Köprülü Mehmed Pasha is shown by an episode in this task. The burnt-out Jewish quarters from the Ayazmakapi Fire were decided to be compulsorily purchased by the state. Death and legacy Despite Köprülü's advanced age, he continued to display energy until the end of his life. When he fell mortally ill in 1661, the sultan came to his bedside. Köprülü convinced him to appoint his son, Köprülü Fazıl Ahmed Pasha, as the next grand vizier. He also allegedly advised the sultan never to take advice from a woman, never to appoint a minister who was too wealthy, to always keep the treasury full, and to always keep the army on the move. Köprülü died on 31 October 1661. He left behind a well-tuned administrative machine, having restored to the Ottoman Empire its reputation for military aggressiveness and its former prestige and power internally and externally. Köprülü Mehmed's victories in Transylvania would push the Ottoman border closer to Austria. Family While stationed in Köprü in Anatolia, he married Ayşe Hatun (Hanım), daughter of Yusuf Ağa, a notable originally from Kayacık, a village of Havza in Amasya. Yusuf Ağa was a voyvoda (tax-farmer) who