The Mamelukes, a military, landholding aristocracy, long figured prominently in Middle Eastern history. They were originally recruited from non-Arab slaves imported to serve various traditional Muslim rulers as soldiers and officials. Typically, the erstwhile slaves assumed power themselves in time and continued to replenish their ranks by importing more military slaves. Between the 13th and 19th centuries Mameluke regimes appeared throughout the Muslim world, including India, Iraq, and most notably Egypt. Until 1382 the dominant Mamelukes were mostly of Turkish ethnic origin; after that date, the majority was generally of Circassian origin.