Four Centuries of Barbarian Invasions
The Muslim civilization of the Arabs was one of the two greatest civilizations of the Medieval Era, however, all good things come to an end. Abbasid prosperity began to suffer under the renewed attacks of the barbarians of Central Asia, and in 945 AD the Buwayhid tribes conquered Baghdad. The Caliph was allowed to remain as ruler of the faithful from his palace, however the Caliph's practical authority derived from his secular power, and never did the concept of a purely religious leader (like the Christian Pope) ever develop. On the one hand Muslims have always listened to a number of priests, scholars, and political leaders; they make up their own minds on matters of doctrine rather than following an "approved" orthodoxy. However, there was some sense that if the Caliph was so powerful, why didn't he rule an impressive state. 945 AD, thus marks the effective end of the Caliphate though men would continue to hold that title for more than three hundred years.
Then in 967 AD, the Fatamids broke away, taking the title of Caliphs and control of Egypt and Syria. However, this merely proved to be a prelude in 1038 AD, when the Seljuk Turks stormed out of Central Asia in the greatest series of conquests since the Arabs themselves. Toghril, a Beg (Turkish war leader), led the Turks into the Middle East. Miscalculating the threat they posed, the Caliph invited Toghril Beg to Baghdad as a mercenary to help restore the Abbasid Caliphate to its former glory. The best which can be said is that he would live to regret his mistake. Many others did not.
The Turks were known for the two long braids they wore down their backs, and were dedicated horse warriors who used archers with deadly effect. Driving massed arrow fire into ranks of opponents, then turning and regrouping safely out of range of a response, the Turks would fire and retreat repeatedly until their enemies were so decimated that their archers would finally close and finish their enemies with short swords. The Turks conquered most of the eastern Abbasid Caliphate and ultimately drove all the way to the Mediterranean before they stalled. However, Toghril Beg was the beneficiary of these campaigns; the Arabs would never again control the vital heartland of Mesopotamia.
To add insult to injury, Christian warriors first began to arrive in 1095 AD for the 1st Crusade. They conquered much of Palestine and Syria including Antioch and Jerusalem as part of a holy war dedicated to annihilating the Muslims. The Muslim histories of the "Franj" (Frankish) invasions, paint them every bit as barbaric as the Turks and the Central Asian nomads; and on most points they are supported by Christian accounts. What the Turks wrote with amazement, the Europeans wrote with pride; for example both record the bloody fall of Jerusalem in graphic detail. The knights chasing men, women, and children through the streets, slaughtering them in their homes, and even as they clung to church altars. The Christian scribes explain in detail the legal premise that Muslims were unholy and therefore lacked the standing to claim sanctuary, in fact their unholiness defiled the churches they claimed to venerate and therefore a Muslim within the holy places was more deserving of death than one who was merely cut down in the street.
These conquests had been precipitated by calls from the Pope and the East Roman Emperor following the Muslim conquest of Christian Anatolia. This age old province was the heartland from which the East Romans drew most of their armies, and it had gradually fallen mile by mile to independent Turkish warlords carving up the weakened East Romans after their defeat at the Battle of Manzikert in 1071 AD. These warlords were gradually united into the Seljuk Sultanate of Rum (the Turkish name for Rome). While Anatolia was forever lost to the Christians, for the next two hundred years until 1302 AD, local Muslim / Turkish city states would vie with the Christians for power. Not until more charismatic leaders built large regional states based on a new kind of Islamic religious fervor were the Muslims able to repulse the Franj invaders.
Coming of the Mongols
However, the worst was saved for last. In 1220 AD, Mongol armies stormed through the Iranian Plateau and around the Caspian Sea in what is considered one of the most perfect campaigns in military history. The Great Raid of 1220 devastated many of the most important cities of Islam and stripped them of the riches of centuries. When Genghis Khan died in 1227 AD, his warriors had leveled whole cities. In the future, they decided that cities could be enslaved to serve the Mongols. However, Genghis Khan's first philosophy had been that cities were weak and disease-ridden; they wasted and blackened the landscape which ought to serve as good horse pasture, literally feeding the Mongol war machine. After 1227 AD, however a new pattern emerged; cities were devastated by Mongol sieges, but they were not razed to the ground. However, any conquered city that revolted against the Mongols was surrounded, cut off, and every human being was put to death. The only record of their rebellion being the pyramids of skulls which the Mongols stacked up as a warning to others.
In 1241 AD, Genghis Khan's son died, and the empire was divided into four great Khanates. Persia became the seed of the Ilkhanate, and in 1258 AD, the Mongols invaded Mesopotamia and sacked Baghdad itself. The last Abbasid Caliph, kept on by the Turks as a figurehead, was put to death. The devastation was so complete that Cairo and after 1453 AD, Istanbul, became the centers of Islamic culture. Even the impregnable Assassin fortress of Alamut was wiped off the face of the Earth. Almost the entire Middle East fell to the Mongols within the span of two years. The Seljuk Turks were crushed leaving only the remnant of the Seljuk Sultanate of Rum semi-independent in Asia Minor. The Mongols were poised to invade Syria and Egypt when the death of Mongke Khan sent most of the armies back to contest the succession. However, the Mongols left a sizable force to stalk Syria. It would be several years before Kubalai was declared Great Khan and the Ilkhan returned to the Middle East. By the time he returned, he had lost his chance.
Meanwhile, Egypt had been dealing with its own problems. In 1250 AD, Louis IX of France (better known as St. Louis) led the Seventh Crusade to conquer Egypt. They conquered the Egyptian armies and seized the North. The tragedy was contagious, first the Sultan and then his only son died. With one of France's most famous kings marching on the capital at Cairo, it was the Sultana who rallied the government and put the Muslim armies on the path to victory. Her rule was not popular, however, and she was pressed to marry; for her husband she chose one of her generals, a mamluk. The mamluks ("owned") were slaves and a tradition that dated back to the Abbasid Caliphs. In a world where warriors gave more loyalty to their local warlords than a far away Caliph, the Caliphs depended on slaves to fill their armies. Purchased for military service, often as children and raised as Muslims, they were the backbone of the army by the 1200s and filled the posts in the government bureaucracy as well. The Sultana's new husband did not live long, as first one mamluk and then another fell to assassination and political treachery; however, a slave dynasty was hereby established for several centuries.
However in 1260 AD, a mamluk leader marching a small force through Ain Jalut in Syria was spotted by the Mongol army and attacked. The mamluks used their mobility to their best advantage annoying the Mongols, but their numbers were too few and they eventually had to retreat. The Mongols chased the mamluks into the highlands intent on capitalizing on their victory; it was here they were ambushed by the main mamluk force and destroyed.
The battle of Ain Jalut was the turning point in the Mongol wars, though no one could be sure of this at the time. Indeed, the peak of Mongol expansion only occurred 40 years later when the Mongols defeated a mamluk army and seized Syria and Palestine for several months. However, the Mongols were disintegrating. Kubalai was the last Great Khan; never again would one Mongol exert even nominal authority over the others Khans. The result was that the Mongols fell to fighting among themselves, eviscerating their empire from the inside out, usually with the help of their subjects who sped things along as best they could. The Mongols would never invade, much less conquer Egypt.
The mamluks believed that the Mongols were a judgment upon the impure. Trusting in their faith, but acting with their rigid military discipline, the mamluks had decided to oppose the Mongols, and with their victory at Ain Jalut, they became the saviors of Islam overnight. While they never succeeded in expanding their realm beyond the borders of Egypt, their brand of fundamentalism would have a deep impact on desperate Muslims throughout the Middle East.
And yet untold damage had already been done. The uncultured Turks had overturned the generally wise rule of the Arabs and imposed patterns of Formative Era government. The Turks would be viewed even more poorly in Muslim histories, were it not for the even more terrible devastation reeked by the Mongols after them. Between this barbarian devastation and the fundamentalism which the Mamluks championed, the glory days of Muslim high culture faded into dim memories. Never again would Islamic culture shine as the brightest and most advanced civilization on the planet.
The economic devastation begun by the Turks and completed by the Mongols impaired the region's prosperity for generations. And those who turned to fundamentalism began to question the very notion of culture and advancement... instead seeking personal religious purity, a feature which survived into the modern Middle East. While Muslim culture would... slowly... rise again, they had fallen far behind the other powers, and Islamic fundamentalists (like the Christian fundamentalists of Europe) were intent on slamming the brakes on any notions of social growth. Indeed, the mantle of global leadership had passed forever beyond the reach of the Middle Eastern powers.