 Yalbugha was subsequently killed by his own mamluks in an uprising in 1366.The rebellious mamluks were supported by Sultan al-Ashraf Sha'ban, who Yalbugha installed in 1363.Sha'ban was able to rule as the real power in the sultanate until 1377, when he was killed by "mamluk" dissidents on his way to Mecca to perform the Hajj.