Owned soldiers became the lords who ran medieval Egypt
Mamluk means one who is owned: non-Arab slave-soldiers—often Turkic, Circassian, Caucasian, Mongol, or Southeast European—who formed knightly castes across Islamic societies. In Egypt they were treated as true lords from Ayyubid days until Muhammad Ali broke their power.
The institution spread from steppe Turkic recruits to wider Caucasian and European pools. Mamluks could become sultans in Egypt and Syria and hold rank in Ottoman, Levantine, Mesopotamian, and Indian contexts. Purchased yet armed, they outranked ordinary slaves barred from weapons.
Historians trace massive military slavery to ninth-century Abbasid practice under al-Muʿtaṣim in Baghdad, though debates continue about earlier roots. Daniel Pipes and others point to early Islamic mawla manumission habits as conceptual seeds. Enslaved fighters had become the core of the Abbasid army before 900, and clashes between them and Baghdad's residents led al-Muʿtaṣim to relocate his capital to Samarra, though tensions persisted.
The system ran on isolation. In Cairo boys were bought young, raised in the barracks of the Citadel, converted to Islam and drilled hard; a ceremony called the kharj then freed them and gave each a post in the army or at court, so adult mamluks were former slaves rather than slaves. Rulers preferred them to freeborn troops because they had no family to compete with loyalty to the sultan, and weekly archery contests and displays of mounted skill kept the garrisons close. At first rank could not be inherited, and sons of mamluks were barred from following their fathers. The picture was never absolute: Georgian mamluks in Egypt kept their language, followed Caucasian politics and received visits from relatives. Under Saladin and the Ayyubids their power grew until they took the sultanate for themselves in 1250.
Source: Mamluk