The Ottoman Empire Bayezid II, Cem Sultan, and the Mamluk War

The Ottoman Empire Bayezid II, Cem Sultan, and the Mamluk War
The Ottoman Empire Bayezid II, Cem Sultan, and the Mamluk War

Mehmed II left his son an empire stretched to breaking point, and a brother who wanted the throne. Bayezid II did not conquer his way out of that inheritance. He bought his way out, and the receipts survive: 40,000 ducats a year, 120,000 ducats once, a holy relic, and two truces. This is the story of a sultan who kept an empire together with money instead of armies.

The brother with a price on his head, 1481 to 1483

In 1481, Bayezid II came to the Ottoman throne at a moment of uncertainty. The empire he inherited was vast and formidable, but its borders were restless, and its rivals were watching closely. The death of a conquering sultan marked not an ending, but a test: could the Ottomans hold what they had built under new leadership?

Almost immediately, Bayezid’s reign was shaped by war. In the north, Moldavia stood firm, while Stephen the Great challenged Ottoman authority along the Danube and the Black Sea, turning the border into a battleground of raids and campaigns. In the south, tensions with the powerful Mamluk Empire grew into open war, as control of the trade routes of Anatolia and the eastern Mediterranean hung in the balance.

But the first danger was inside the dynasty. After his failed siege of Konya, Bayezid’s younger half brother Cem fled, and on 29 July 1482 he arrived at Rhodes and asked the protection of Pierre d’Aubusson, grand master of the Knights of St John. Cem offered perpetual peace between the Ottoman Empire and Christendom if he regained the throne. D’Aubusson realized that conflict with Bayezid would be imprudent, so he secretly approached Bayezid, concluded a peace treaty, and then reached a separate agreement on Cem’s captivity in March 1483. D’Aubusson promised Bayezid to detain Cem in return for an annual payment of 40,000 ducats for his maintenance. The Knights took the money and betrayed Cem, who thereafter became a well treated prisoner.

Cem reached Nice on 17 October 1482, and from there he was moved through Savoy and France, spending two years at Bois-Lamy, and finally to a tower at Bourganeuf built specially to hold the precious prisoner. Bayezid had reason to fear that Western powers could now use his half brother to start a crusade against him. The brother was no longer a rival at the head of an army. He was a hostage with a price tag, and Bayezid was the one paying it.

The northern border, purchased, 1483 to 1484

After the immediate threat from Cem’s failed siege of Konya eased, Sultan Bayezid II took his first steps to consolidate and strengthen his newly acquired empire. The influential and warlike Koca Davud Pasha, fiercely loyal to the sultan and married into the royal family, was made grand vizier in 1482, giving Bayezid a new power base.

During the turbulent Ottoman civil war, Christian powers had tried to take advantage of the situation to recover lands lost to Muslim armies over the previous thirty years. With the death of the great Turk, many rulers saw the new Ottoman sultan as a weaker figure than his father, who had troubled their dreams for so long. In the spring of 1483, the sultan marched toward Hungary with a large army. Hungary was one of the few states Mehmed II had been unable to defeat in open war. But unlike his warlike father, the sultan spent most of the campaign rebuilding his empire’s many fortresses in Serbia and Bosnia. Local garrisons were resupplied, and bridges were built to better connect both provinces with the rest of the Balkans.

After several months, Bayezid marched south with most of his army, ending his campaign. In his place, the governor of Bosnia, Ayas Pasha, was ordered to raid Hungarian held Croatia and Bosnia to maintain the Ottoman military presence in the wider region. By the autumn of 1483, Turkish raiders had looted as far as Carniola, while many peasants were re-enslaved and their towns burned.

Although much damage was done, a small Ottoman force of 7,000 men was defeated near Novi Grad on the Una river by the combined forces of the Croatian ban Matthias Gereb and the so called Serbian despot Vuk Grgurevic. After the battle, both men freed thousands of Christian prisoners, earning praise from the pope himself.

Despite this minor victory, King Matthias Corvinus, still at war with Austria, grew alarmed at Ottoman military activity near his kingdom’s southern borders. Eager to prevent further looting of his war torn lands by Turkish raiders, the Hungarian king began negotiations with Bayezid. He later concluded a seven year truce at the beginning of 1484. For the first time in more than thirty years, peace was established between the royal courts of Constantinople and Buda, a major diplomatic victory for the new sultan’s unproven government.

As soon as his northern borders were secured after decades of war, Bayezid turned to the now isolated state of Moldavia, ready for the picking. Back in 1475, Stephen the Great of Moldavia had won a brilliant victory over the Ottomans at the Battle of Vaslui, earning great praise in the Christian world. But most of the gains from the battle were reversed the next year when Mehmed II’s invasion of Moldavia turned the country into a heap of ashes. Hundreds of fields were burned, and their cattle were killed or taken by Turkish soldiers. Although not defeated militarily, Stephen was forced in 1480 to make a peace treaty, thus becoming the sultan’s tributary.

But before a single tribute was paid, Mehmed died the next year, and the Ottoman Empire sank into a bloody civil war. Gathering an army of about 20,000 soldiers, Bayezid II set out toward the state during the spring of 1484, this time with the real intention of waging war. At the heart of the campaign stood the fortresses of Akkerman and Kilia, strategic strongholds whose possession would reshape the balance of power in the region, because they sat at the meeting of the Danube delta and the Black Sea.

For the first time in about eight years, an Ottoman army was led by its sultan. After Wallachia once again acknowledged Ottoman vassalage, Bayezid entered Moldavia and by the beginning of July reached the gates of Kilia. Hungarian and Polish allies refused to help Stephen, who could only watch from afar from his capital while his land was invaded. After a severe nine day bombardment, Kilia fortress fell under the weight of Ottoman artillery. The sultan had won his first military victory over a foreign enemy, giving his government much needed prestige at a time of uncertainty.

Even better for Bayezid, just ten days after the fall of Kilia, Mengli Giray of the Crimean Khanate also captured the fortress of Akkerman, thus surrounding Moldavia from the Black Sea by land. As a result of the two sided attack and no help coming from Hungary or Poland, Stephen symbolically accepted Ottoman vassalage. In reality, however, the voivode of Moldavia continued to challenge the possession of its coastal territories for two more years.

The war nobody won, 1485 to 1491

Back in 1468, with the annexation of the Karamanid beylik, the Ottoman Empire now bordered the Mamluk vassal states of Dulkadir and Ramazan. For years, the royal courts of Cairo and Constantinople regarded each other as rivals, both claiming ownership of Karaman and the buffer states between their empires.

During this period, Mamluk customs officers often harassed Ottoman pilgrims traveling to the holy cities of Jerusalem, Mecca, and Medina, because they were considered possible spies. Both states almost came to war at the height of Cem Sultan’s rebellion, when Cairo sheltered the Ottoman prince and even gave him military help in seizing the throne against Bayezid. By 1482, diplomatic relations between the two states were rapidly deteriorating.

Further hostilities began the next year when Bozkurt Bey of Dulkadir declared his loyalty to Bayezid and began besieging the Mamluk held town of Malatya. Although defeated in 1485 and forced to switch sides, the Dulkadir ruler had started a limited border war between local governors of Ottoman Anatolia and Mamluk Syria.

In 1485, Karagoz Mehmed Pasha of Karaman attacked Ramazan and captured Adana and Tarsus, while Yakub Bey of Kayseri attacked Dulkadir and defeated a Mamluk army near Malatya. However, both men were defeated, and their armies were pushed back by Mamluk reinforcements the next year.

Another army under Hersekzade Ahmed Pasha, the beylerbey of Anatolia, was also routed near Adana in 1486. In a single battle, thousands of Ottoman soldiers were captured along with their commander, forcing Bayezid to pay a heavy ransom for their release. The Venetian ambassador in Constantinople and future doge, Andrea Gritti, called this disaster the greatest defeat ever inflicted on the Ottoman house.

Since local provincial Ottoman armies were unable to match Mamluk armies in open battle, Koca Davud Pasha was sent to the region in 1487 to consolidate the war effort. The grand vizier spent the year resupplying local Turkish armies and rebuilding roads and bridges in eastern Anatolia.

But the biggest action on the eastern front would come the next year when Hadim Ali Pasha, the beylerbey of Rumelia, took command of the armies. During the spring of 1488, his forces turned toward the Ramazanid lands, capturing Adana, Tarsus, and Kozan in a swift military campaign. At sea, Hersekzade Ahmed Pasha took command of the Ottoman navy and advanced toward Alexandretta to cut the Mamluks off from the Cilicia region. However, it was blown off course during a storm, sinking many ships and killing even more of their crews.

This poor coordination between the Ottoman navy and army allowed Mamluk forces under the emir Uzbek to march freely along the Syrian coast. Uzbek’s main army marched into the Cilician plain by August and camped in a field called Agacayiri, the valley of trees, located between Adana and Tarsus. Three days later, Hadim Ali Pasha’s army arrived from Adana and began preparations for a major confrontation. Without either side knowing, the bloody Battle of Agacayiri had begun.

The Ottoman army was estimated at about 60,000 men. At its center stood the elite kapikulu units: about 3,000 kapikulu sipahi cavalry, and about 6,000 Janissary infantry armed with firearms, bows, and melee weapons. Meanwhile, the Rumelian army under Khalil Pasha was deployed on the left wing. In contrast, the Anatolian and Karaman armies under Sinan Pasha and Yakub Pasha were deployed on the right wing. Both wings consisted of timariot sipahi cavalry, while the whole army was covered by azab light infantry. Light cavalry akinji raiders were deployed on the far wings.

The Mamluk army was smaller, perhaps 40,000 men, but emphasized quality and elite cavalry over mere numbers. Its backbone was 4,000 heavily armored royal Mamluks under Emir Timurbugha al-Shamsi, located in the center of the army. In front of the center were Syrian Arab skirmishers armed with bows and spears. Provincial armies provided the wings: on the right, the Damascus detachment under Qansuh al-Yahyawi, and on the left, the Aleppo army under Emir Ozdemir.

The battle began with a reconnaissance operation. Syrian Arab infantry skirmishers advanced across the entire front, testing both Ottoman wings before attacking the center. The Ottoman azab light infantry met them with disciplined fire and counterattacks, holding the line. Immediately after, both armies met in the middle of the field and became entangled in a bloody melee. Yet this was only a prelude.

Emir Uzbek then made a subtle and decisive gamble. He detached part of the Damascus army under Qansuh al-Yahyawi from the right wing, feigned a retreat to distract the Ottomans, then swung that detachment to strengthen the Mamluk left wing under Emir Ozdemir. The result was concentrated pressure against the Ottoman right wing under Sinan Pasha and Yakub Pasha.

Here, the battle turned. Emir Timurbugha al-Shamsi formed his elite Mamluk cavalry into a narrow wedge, a classic formation tactic designed to penetrate and break enemy lines. Supported by Syrian Turkmens, the wedge attacked with devastating force. The Karaman detachments, whose loyalty had been suspect since their beylik was forcibly incorporated into the Ottoman state, broke almost immediately. Panic spread like fire in dry grass. Sinan Pasha died, and many akinji commanders shared his fate or were captured during the pursuit. The entire Ottoman right wing collapsed. Survivors began looting their own camp before fleeing to the safety of the Taurus Mountains.

Yet the battle was not yet lost for the Ottomans. On the Ottoman left, the Rumelian army under Khalil Pasha, strengthened by kapikulu cavalry and akinjis, counterattacked against the Mamluk center. Janissary fire inflicted heavy casualties, and for a time pushed the Mamluks back across the Ceyhan river toward the hills. If the Ottoman right wing had held, this success could have been a decisive move to save the day. Instead, it proved only a temporary relief.

With many of his soldiers already killed and wounded, and his right wing routed from the battlefield, Hadim Ali Pasha ordered his remaining army to retreat westward.

The Battle of Agacayiri was a Pyrrhic victory for the Mamluks, but a disaster for the Ottomans. It exposed the weakness of an army built on rapid expansion and the incorporation of recently conquered populations. Ottoman casualties were about 15,000 to 20,000, while the Mamluks lost about 8,000 to 10,000 wounded and killed.

After the great battle, Adana and Tarsus fell to the victorious Mamluks, who strengthened their regional fortresses as the stalemate was re-established. A shocked Bayezid dismissed dozens of Ottoman officers and pashas whom he considered cowards who had allowed this defeat to happen in the first place. From now on, his armies in the local area would remain on the defensive.

In 1490, Emir Uzbek invaded Anatolia in a surprising military campaign, besieged Kayseri, and raided throughout Karaman. Hersekzade Ahmed Pasha was sent to the region at the head of a provincial army to relieve Kayseri, but he was defeated and captured near the gates of the city. After this defeat, Bayezid considered personally leading an army to break the stalemate. However, he ultimately decided to push for peace with the Mamluk sultan. Too many lives had already been lost in a border skirmish that had turned into a full war.

In 1491, an official peace treaty was signed, requiring the return of all lands captured by either side, thus ending the rivalry between the two nations for the time being. Nobody had won. The borders went back to where they had started, after six years and tens of thousands of dead.

The prisoner who became a pension, 1482 to 1495

While Bayezid was fighting wars in Moldavia and against the Mamluks, the sultan still had to deal with the ever present threat of his younger half brother Cem. In 1482, after his defeat, the exiled son of Osman was placed in the custody of the Knights Hospitaller in Rhodes as part of a political deal. In exchange for a substantial annual payment of 40,000 ducats from the sultan, the Knights agreed to keep Cem in custody and prevent him from returning to Ottoman territory or gathering foreign support.

By the end of the year, Cem was taken to Nice, in the holdings of the Order in the Duchy of Savoy, where he would spend a year in custody. This angered the sultan, because he had reason to believe that Western powers could now use his half brother to start a crusade against him.

Despite his captivity, Cem seemed cheerful, because he wrote during this period, expressing his interest in local customs and the beauty of local women. Many stories have emerged about the handsome Turkish prince, generally revolving around heartbreak and romance. One more interesting story tells that the court ladies of Nice were so sad to see him go that they presented him with a talking white parrot and a chess playing chimpanzee, who comforted him for the rest of his life.

Cem would not stay long in this golden cage, and a few short months later he was moved from Nice to Roussillon, where local legend says he fathered a child with the daughter of a local elder. From there, he was moved in early 1484 to Bourganeuf, and then to Bois-Lamy, where he spent two years. In the end, he was moved back to Bourganeuf to a tower that the Knights had built specifically to hold their precious prisoner.

During the height of the Ottoman-Mamluk war, Sultan Qaitbay offered to pay 20,000 ducats for Cem’s release, to destabilize Bayezid’s empire by starting a new civil war, but this offer was rejected. The Knights had grown accustomed to the larger annual payment of 40,000 ducats from the sultan to keep the prince in exile. In addition to the lavish payments, the Order did not want to see another Ottoman army bombarding their walls at Rhodes, and so for the time being it kept its part of the deal.

In 1488, Bayezid began negotiations with the Knights Hospitaller and even Charles VIII of France to bring Cem back to nearby Rhodes, but these diplomatic efforts were in vain. Seeing the potential value of the Ottoman prince in launching a crusade against the Turks, Pope Innocent VIII entered the race and bid for Cem. By the next year, the pope finally prevailed in this contest, possibly because the Knights needed to maintain good relations with the papacy, which provided the Order with spiritual justification and financial support.

In a panic, Bayezid began negotiations with the pope, granting several concessions to keep Cem in custody. The sultan promised not to attack key Christian lands such as Rhodes, Rome, and Venice, but more importantly, he paid the Vatican a very large sum, 120,000 ducats, and religious relics, including a piece of the Holy Lance. In addition to these large concessions, a further annual payment of 40,000 ducats was agreed to keep Cem in Rome.

By this point, Cem’s grand plans to regain the throne looked distant, because the poetry he wrote during his time in Rome showed that the once attractive prince had become sad and regretful. Refusing attempts to convert him to Christianity and despairing of ever winning the Ottoman throne, he asked only for permission to be allowed to return to a Muslim land and spend his days in peace, as Bayezid had once offered. But it was too late for such a life. For Innocent, he was too valuable, and for Bayezid, too dangerous.

In 1490, the sultan hired Cristoforo Castracano, a renegade Italian gentleman, to kill Cem by poisoning the Vatican’s central well, but this plan was exposed and foiled by the Venetians. The exiled Ottoman prince was a source of economic and psychological pain for Bayezid, but for the time being, his empire was safe.

Cem died on 25 February 1495. Sultan Bayezid declared national mourning for three days. He also tried to take Cem’s body from the pope, but four years after Cem’s death his body was brought to the Ottoman lands. He was buried in Bursa.

Bayezid kept the empire intact for 31 years without a great conquest. His method was purchase, not battle. It worked, until his own son Selim decided the empire needed a conqueror again.

Read also: The Entire History of the Ottoman Empire: Rise, Golden Age, Decline, World War I, Genocide, and the Birth of Modern Turkey

Read also: Mehmed II After 1453: The Conquests History Forgot

Leave a Comment