Mehmed VI Vahideddin, also known as Şahbaba among the Osmanoğlu family, was the 36th and last Sultan of the Ottoman Empire, reigning from 4 July 1918 until 1 November 1922, when the Ottoman Empire was dissolved after World War I and replaced by the Republic of Turkey on 29 October 1923.