Suleiman II
After these, on 8 November 1687, it was decided to depose Sultan Mehmed IV and to enthrone his brother Suleiman II as the new Sultan. Mehmed was deposed by the combined forces of Yeğen Osman and the Janissaries. Mehmed was then imprisoned in Topkapı Palace. However, he was permitted to leave the Palace from time to time, as he died in Edirne Palace in 1693. He was buried in Turhan Sultan's tomb, near his mother's mosque in Constantinople. In 1691, a couple of years before his death, a plot was discovered in which the senior clerics of the empire planned to reinstate Mehmed on the throne in response to the ill health and imminent death of his successor, Suleiman II.