Мехмед IV
Rivalries between the janissaries and the sekban ultimately resulted in a rebellion. After the janissaries had been defeated on the Rumelian front, they marched on Istanbul in 1687 to depose Mehmed IV. The latter appointed Yeğen Osman Aga, a self-made sekban commander, to hold the janissaries in check. Yeğen Osman failed to accomplish this however, and Mehmed IV was deposed.