He conquered Egypt, leaving the Mamelukes as rulers there under a Turkish governor general. Selim I move south and took control of Mecca and the West Arabian Coast, suppressed revolts in Anatolia and Syria, and formed an alliance with Algiers. He died in 1520 as he was preparing an invasion of the island of Rhodes.[24]