In 1827 Sharif Muhammad ibn Abd al-Mu'in was appointed to the Emirate, becoming the first Emir from the Dhawu Awn and bringing an end to the centuries-long dominance of the Dhawu Zayd. He reigned until 1851, when he was replaced by Sharif Abd al-Muttalib ibn Ghalib of the Dhawu Zayd. After being deposed he was sent along with his family and sons to reside in the Ottoman capital of Constantinople. It was there that Hussein was born to Muhammad's son Ali in 1270 AH (1853/1854). Muhammad was reappointed to the Emirate in 1856, and Hussein, then aged two or three, accompanied his father and grandfather back to Mecca. However, Muhammad died in 1858 and was succeeded by his eldest son Sharif Abd Allah Pasha. A few years later, in 1278 AH (1861/1862), Ali was recalled to Istanbul while Hussein remained in the Hejaz under the care of his uncle Abd Allah.