Latest / Trade Routes That Changed Human History Forever — Fexingo History / The Slave Soldiers Who Became Sultans: Ghilman in the Islamic World
Transcript
- Lucas: So we've talked a lot about trade routes—spices, silk, slaves—but I want to zoom in on a specific commodity that moved along those routes: people. Not just any people, but military slaves. The Islamic world had this institution called the ghilman system—singular ghulam—which were enslaved soldiers, often Turkic or Slavic, who were bought, trained, and then rose to become generals, governors, even sultans. Luna: Wait—enslaved soldiers who became rulers? That sounds like a contradiction. Lucas: It really is. And it's one of the most striking features of medieval Islamic politics. The idea was that a ruler would buy young boys from slave markets, raise them in his palace, train them as warriors, and then rely on them as a loyal, personal army. Because they had no local family or tribal ties, they were supposedly more loyal than freeborn soldiers. But the irony is, these ghilman often became so powerful that they ended up controlling the throne. Lucas: The classic case is the Abbasid caliph al-Mu'tasim, who ruled from 833 to 842. He built up a large corps of Turkic ghilman, which caused tension with the regular army and the people of Baghdad. So he moved his capital to a new city—Samarra, north of Baghdad. That was supposed to be a garrison city for his loyal slave soldiers. Luna: And did it work? Lucas: For a while. But within decades, the ghilman became kingmakers. They assassinated caliphs, installed puppets, and basically ran the caliphate from behind the scenes. Samarra became famous for this period of instability—sometimes called the 'Anarchy at Samarra'—where Turkic commanders fought each other for control. Lucas: But the most dramatic example of a ghulam rising to power is probably Ahmad ibn Tulun. He was the son of a Turkic slave who served the Abbasids. Ahmad himself was sent to Egypt as a governor in 868, and he quickly built his own army of ghilman and turned Egypt into an independent kingdom—the Tulunid dynasty. He even built a new capital, al-Qata'i, near modern Cairo. Luna: So he went from being a slave's son to founding a dynasty? Lucas: Exactly. And his story isn't unique. There's also Alp Tegin, a ghulam commander who served the Samanids in Central Asia. He fell out with his master, fled south with his followers, and seized the city of Ghazna—in modern Afghanistan—in 962. That was the seed of the Ghaznavid Empire, which later under Mahmud of Ghazni became a major power. Lucas: The Ghaznavids are famous for their raids into India and their patronage of Persian culture. But it all started with a slave soldier who saw an opportunity. Luna: How were these slaves actually acquired? Was it through the same slave trade routes we've discussed? Lucas: Yes, absolutely. The main source was the Eurasian steppe and the Slavic lands. The Volga route, which we talked about with the Khazars and Radhanites, was a key pipeline. Turkic peoples from Central Asia were captured or sold by rival tribes, and Slavic peoples—called Saqaliba in Arabic—were taken from Eastern Europe. They were brought to markets in Baghdad, Samarkand, and later Cairo. Lucas: One of the most detailed accounts comes from the 10th-century geographer Ibn Hawqal, who describes the slave markets of Khwarezm, where Turkic boys were bought and shipped to the Islamic world. The ghilman were expensive—a well-trained one could cost thousands of dirhams—but they were seen as a worthwhile investment. Luna: It sounds like a massive, organized business. Lucas: It was. And it's important to note that not all ghilman were slaves in the brutal sense—many were highly trained, well-paid, and could earn their freedom. But their status was still precarious. They were legally property. Yet paradoxically, they could wield immense power. Some historians call this the 'slave elite' phenomenon. Lucas: The system reached its peak under the Mamluks in Egypt and Syria, who were also enslaved soldiers—mostly from the Caucasus and the Black Sea region. The Mamluks overthrew the Ayyubid dynasty in 1250 and ruled for centuries, even defeating the Mongols at the Battle of Ain Jalut in 1260. Luna: So the ghilman and Mamluks are basically the same idea? Lucas: Similar, but with differences. The term 'mamluk' literally means 'owned one' in Arabic, same as ghulam. But the Mamluk system was more institutionalized—they had a structured hierarchy, a clear path to power, and they eventually became a full-fledged military aristocracy. The ghilman were more ad hoc, especially in the early Abbasid period. Lucas: There's also a religious dimension. Islamic law had rules about slavery, but military slavery was justified by the idea that these non-Muslim captives could be converted and integrated. And many did convert, becoming devout Muslims. Alp Tegin, for instance, was a pious Muslim. Luna: It's fascinating how this institution shaped so many dynasties. I never realized that the Ghaznavids and Tulunids came from slave origins. Lucas: Right. And it's not just them. The Delhi Sultanate in India was founded by Qutb al-Din Aibak, another slave general who served the Ghurid dynasty. So the pattern repeats across the Islamic world, from Spain to India. It's a reminder that social mobility in the premodern world could take surprising forms—even through slavery. Lucas: Speaking of support and mobility—if you've been following these conversations, from the Sogdian merchants to the Mongol ortogh partnerships, you'll know that this show is made possible by listeners who chip in at buy me a coffee dot com slash fexingo. It's a way to keep the show ad-free and independent, just like the ghilman were supposed to be loyal to their patron. Luna: Yeah, it's a small gesture that makes a big difference. And it helps us keep digging into these stories. Lucas: Exactly. So back to the ghilman—one thing I find striking is how the system ultimately undermined the very rulers who created it. The Abbasid caliphs wanted a loyal army, but they ended up creating a power base that could overthrow them. It's a classic case of unintended consequences. Luna: Was there any attempt to reform or control the ghilman? Lucas: Some caliphs tried. Al-Mutawakkil, who ruled after al-Mu'tasim, tried to reduce the power of the Turkic ghilman by promoting other ethnic groups, but he was assassinated by them in 861. After that, the caliphs were mostly figureheads. The real power lay with the ghilman commanders, who fought among themselves for control. Lucas: One of the most powerful ghulam commanders in the 10th century was a man named Mu'nis al-Khadim, who served the Abbasid caliph al-Muqtadir. Mu'nis was a eunuch, which added another layer—eunuchs were also seen as loyal because they couldn't found dynasties. But Mu'nis still ended up dominating the caliphate for decades. Luna: So even eunuchs could become kingmakers? Lucas: Absolutely. The logic was the same: no family ties meant no dynastic ambitions. But in practice, they could still amass wealth and followers. Mu'nis led armies, deposed caliphs, and was effectively the ruler of Baghdad for years. Lucas: The ghilman system also had a cultural impact. These Turkic soldiers brought their own traditions—like steppe warfare, horse archery, and certain styles of dress—which blended with Persian and Arab customs. The Ghaznavid court, for example, was a mix of Persian bureaucracy and Turkic military culture. Luna: It's like the slave soldiers weren't just tools—they changed the culture too. Lucas: Exactly. And their legacy lasted for centuries. The Mamluk Sultanate, which we mentioned, survived until the Ottoman conquest in 1517. And even the Ottomans had a similar system—the devshirme—where Christian boys were taken from the Balkans and trained as Janissaries. So the idea of military slavery as a path to power continued. Lucas: But there's a darker side too. The slave trade that supplied the ghilman was brutal. Boys were captured in raids, marched long distances, and sold in markets. Many died along the way. The system depended on violence and exploitation. Luna: It's important to keep that in mind. For all the stories of rising to power, the foundation was coercion. Lucas: Absolutely. And that's why studying these trade networks—the routes that moved silk and spices also moved people—forces us to confront the human cost. The ghilman were both victims and perpetrators, and their stories complicate any simple narrative of glory or oppression. Luna: I'm glad we touched on this. It adds a whole new layer to the trade routes. Lucas: Next time, we might look at another commodity that traveled those same roads—ideas. But for now, I think we've covered the ghilman pretty well.