In the Medieval Muslim world, it was common for slave soldiers to be employed in services of the emirs and sultans, serving not only to fight in the frontline, but as a personal bodyguards and administrators of the realms. Although referred as "slaves", these were not ordinary slaves as depicted in the media. Slaves in medieval Muslim world enjoyed many privileges, and were often given important positions like leading an army as general and governor posts. One such example would be Baibars, who defeated the Mongols invasion in the battle of Ain Jalut and later became the sultan of Egypt.
Historically, Many of these slaves were drawn from the migrating Steppe people such as the Turkish Nomads, Cumans, Kypchaks, as well as from the African Neighbours such as Nubia (present day Ethiopia) and Mali. Those employed were often skilled warriors and administrators, providing valuable contributions to the their lords. Their values can be describe in the following phrase:
"It is better for a King to have one slave than to have one hundred sons. For a slave shall serve loyally till the end, while the sons desires only their father's death"
Female warriors were not rare in the Arabic World, contrary to the popular belief. Even before the arrival of Islam, various nomadic tribes such as bedouins and berbers were known to include women in their ranks of warrior serving as priestess warrior and caretakers. However, these were previledges given to female members of the prestigious families, not female commoners. One such example can be found during the Battle of Badr that took place in the times of Prophet Muhammad PBUH, where the opposing Qurays tribe brought along their priestess to fight against the muslim army.
In the historically wrong sketch series, Ahu is depicted as a female slave soldiers serving as the captain vanguard of Sarravid's Elite Mamluk Soldiers, lead by Berlebey of Dil Az-Zhar. Born from a Turkish Father and a Persian Mother, her familiy moved from the steppe to settle down along the tigris river and served under the Padshah Hashan Ibn Abbas.