<human>:  Who were the Mamluks and when did they rule?
<bot>: The Mamluks were a Muslim Turkic dynasty that ruled Egypt for about 200 years from 1250 to 1517. They were a military caste that served as the de facto rulers of Egypt for most of the period of their rule.