The Mamluks seized power over Egypt in around 1250 AD. They established their Sultanate in Egypt until 1518, when the Ottomans took control of the country.