Мехмед VI
The Ottoman Empire lasted for 36 sultans in 21 generations, from Osman I to Mehmed VI for 623 years. (See List of sultans of the Ottoman Empire.)