Ali Bey al-Kabir (, Georgian: ალი ბეი ალ-ქაბირი; 1728 – 8 May 1773) was a Mamluk leader in Egypt. Nicknamed Jinn Ali ("Ali the Devil") and Bulut Kapan ("Cloud-Catcher"), Ali Bey rose to prominence in 1768 when he rebelled against his Ottoman rulers, making the Egypt Eyalet of the Ottoman Empire independent for a short time. His rule ended following the insubordination of his most trusted general, Abu al-Dahab, which led to Ali Bey's downfall and death.

Origins

Ali Bey was born in Principality of Abkhazia and was of ethnic Georgian origin. The Encyclopedia of Islam adds that according to Ali Bey's contemporary biographer, Sauveur Lusignan, he was "supposedly" the son of a certain David, a Greek Orthodox priest. However, according to Alexander Mikaberidze, Ali Bey's father was a priest in the Georgian Orthodox Church. He was kidnapped and brought to Cairo, the capital of Ottoman Egypt, in 1741, when he was around 13, and was sold into slavery. He was purchased by two Jewish customs agents who gave him to Ibrahim Ketkhuda in 1743. Ibrahim Ketkhuda was also of Georgian origin.

Early career
Although the Mamluk Sultanate of Egypt and Syria was conquered by the Ottoman Empire in 1518–1519, the new rulers incorporated the remnant mamluk (manumitted slave soldier) troops and officials into the governance systems of the newly-formed province of Egypt. The Ottoman sultan, wary of concentrating the full extent of Egypt's large military and economic resources into the hands of its governor, set up a complex system of government in the province to balance his power. While the governor, always chosen from the Ottoman imperial personnel, remained the sultan's chief executive in Egypt and held the high rank of pasha, the defterdar, or treasurer, who was typically a mamluk, was given extensive power over the economy, and held the next highest rank of sanjakbey, often abbreviated to 'bey'. The province had seven Ottoman army units, called , the most powerful of which was the janissaries. The remnant mamluks maintained a parallel military structure in the province that was initially loyal to the Ottoman rulers, who allowed them to continue importing and training new recruits, critical to the continuation of the mamluk tradition. By the early 18th century, the  had become considerably weakened and dominated by the mamluk beys. The powerful offices of the defterdar, the , who wielded executive authority during the absence of the governor, the , who commanded the annual Muslim pilgrim caravan to Mecca, and the chief of the janissaries, were all held by mamluk beys. 

In 1711 a civil war broke between the two dominant mamluk factions of the country, the Faqariya and the Qasimiya, the former backed by the janissaries and the latter by the other Ottoman  and a newly-emergent mamluk faction, the Qazdughliya. The Faqariya were trounced during the war, but the victorious Qasimiya splintered into a spent force of warring factions by the 1730s, enabling the rise of the Qazdughliya to power. Despite the internal bloodletting among the mamluks, the civil war had signaled the triumph of the mamluk beys over the Ottoman  as the dominant military power in Egypt. For the remainder of the 18th century, the mamluk beys controlled Egypt's politics, but their incessant factionalism and internal strife allowed the Ottomans to maintain an important influence in provincial affairs. A testament to the newfound power and prestige of the mamluks in Egypt was the inauguration of a new title,  (chief of the country), bestowed by the sultan on the preeminent mamluk bey.

Ali's master, Ibrahim Ketkhuda, had led the Qazdughli faction to victory over the Qasimiya in 1730 and in 1739, drove out the head of the Faqariya, Uthman Bey. By 1748, Ibrahim Ketkhuda and his partner in power, Ridwan Ketkhuda, head of the smaller Julfiyya mamluk faction, stabilized the country under their joint leadership. Moving up the ranks in Ibrahim Ketkhuda's mamluk household, Ali reached the rank of  in 1749.  were a rank below the beys, whom they expected to succeed in time, and were chosen among the favorite mamluks of their patron. In the early 18th century, there were thirty-six administrative offices open to , who numbered between sixty and seventy at that time. Their jurisdiction typically included a group of villages in a rural province and they were essentially the most powerful administrators in those parts of the countryside that were not controlled by the Bedouin (nomadic) tribes. 

In 1753 or 1754, Ali was the , the second most important office in the mamluk beylicate of the 18th century. In the course of leading the caravan, he made daring attacks against the Bedouin tribes who dwelt in the desert regions through which the caravan route passed. He earned his popular Turkish nickname, , meaning 'he who catches clouds', an allusion to the Bedouin, who were as elusive as clouds. His less common, Arabic nickname,  ('Ali the demon'), was similarly a reference to his ferocity against the Bedouin. Upon his return from the Hajj, Ali attained the rank of bey. Ibrahim Ketkhuda died in November 1754, after which he was succeeded as head of the Qazdughli faction by Abd al-Rahman Ketkhuda, while Ridwan succeeded him as . Ridwan was ousted in May 1755, and by October, Uthman Bey al-Jirjawi became  and Abd al-Rahman largely retired from politics. Ali became a bey during al-Jirjawi's reign.

Al-Jirjawi was ousted by Husayn Bey al-Sabunji, who became  and exiled Ali Bey to the village of Nusat in Lower Egypt as part of a purge of potential rivals. In November, al-Sabunji was overthrown in a plot led by Husayn Bey Kashkash, a prominent bey of Ibrahim Ketkhuda's household, who recalled Ali Bey from his exile. Another 'Ali Bey', known as 'al-Ghazzawi', who had also been a mamluk of Ibrahim Ketkhuda, was recalled from his exile as well and was chosen in the council of preeminent beys as the new . While al-Ghazzawi was leading the Hajj caravan in 1760, he attempted to assassinate Abd al-Rahman, who remained influential in his retirement. The plot was detected, after which Abd al-Rahman allied with Ali Bey, who wielded significant influence with the janissaries, to strengthen his position against al-Ghazzawi. In a council of the leading beys held in al-Ghazzawi's absence, Abd al-Rahman proposed that Ali Bey replace the acting , Khalil Bey al-Daftardar, to which the council agreed. Upon hearing the election of Ali Bey and a subsequent order to execute the conspirators who attempted to assassinate Abd al-Rahman, Ghazzawi took up exile in Gaza on his way back from the Hajj.

Shaykh al-Balad

First term
Although Ali Bey was officially , Abd al-Rahman, who lived in relative seclusion from daily politics, wielded actual power. Abd al-Rahman was neither a bey nor a mamluk, but a son of a mamluk, who were not favored in the mamluk system for advancement, and used Ali Bey as his political puppet. The limitation of his power by Abd al-Rahman, as well as by the Ottoman governor and the other mamluk beys, did not reconcile with Ali Bey's ambitions for total power. He resolved to eliminate his rivals, promote mamluks of his own household and engineer their appointments to powerful positions, and expand his sources of income. He began his thrust for power in 1763, when he exiled several officers of the janissaries from Alexandria and arrested for ransom four priests in Alexandria. The following year, he may have engineered the poisoning death of Egypt's incoming governor before he could assume office. In 1765 he exiled Abd al-Rahman to the Hejaz (western Arabia). In the meantime he was rapidly acquiring and promoting his mamluks, such that he had 3,000 mamluks and made eight of them beys by 1766.

Exile in Gaza
Ali Bey's intensifying moves against the  and fellow mamluk emirs and the empowerment of his own mamluks and tyrannical rule all brought about a check on his power by the Ottoman imperial government. It appointed a new governor, Hamza Pasha, with secret instructions to bring down Ali Bey. The governor invited Ali Bey's main mamluk rival, Husayn Bey Kishkish, back to Egypt from exile. Ali Bey made an abortive attempt to kill Husayn Bey by poisoning, but the plot was detected and prompted Husayn Bey and Hamza Pasha to retaliate by besieging Ali Bey in his palace. He was forced to step down as . Although he agreed to exile in Medina, he took refuge in Gaza, on Egypt's border. In Gaza, Ali Bey established contact with the Acre-based strongman of northern Palestine, Zahir al-Umar, and gained the latter's support.

Second term

Return to power
The tyrannical rule of Khalil Bey and Husayn Bey led to Hamza Pasha facilitating Ali Bey's return to Egypt to use him as a check on the ruling beys' power. On 6 September 1766, Ali Bey and his top mamluks appeared at the Cairo houses of the leading beys and demanded their restoration to the mamluk decision-making council. The council's members did not readmit them, but allowed them to stay in Egypt, with Ali Bey banished to Nusat, where he was to live off its revenues, and the others in his party sent to Upper Egypt, where the powerful Hawwara tribe was already hosting several mamluk exiles from the Qasimiya faction under Salih Bey. In February 1767, illicit communications between Ali Bey and his sympathizers in Cairo were detected, leading to the killings or exile of the sympathizers by the ruling beys and an order to exile Ali Bey to Jeddah. Around the same time, however, Hamza Pasha moved against the mamluks, per orders from Constantinople. Although several beys were slain and Husayn Bey was wounded, the mamluks prevailed against the governor, whom they deposed. 

The imperial government soon after sent a new governor, Rakım Mehmed Pasha, with orders to rein in the beys and prop up Ali Bey. Despite the threat he posed to them, Ali Bey was allowed by his mamluk rivals in power to join his mamluks in exile at Asyut in Upper Egypt. There, the leader of the Hawwara, Sheikh Humam, brokered an alliance between Ali Bey and Salih Bey. The two now rebelled against Husayn Bey and Khalil Bey by blocking traffic along the Nile River, preventing food supplies to Cairo from Upper Egypt, and stopping tax payments from the Upper Egyptian districts. After abortive expeditions from the ruling mamluks against Ali Bey and Salih Bey, the latter two launched their offensive, appearing before Cairo in autumn 1767. Rakım Mehmed Pasha, intent on toppling the beys, ordered the  back to their barracks, thus depriving Husayn Bey and Khalil Bey of crucial military support. Without any actual fighting, Ali Bey and Salih Bey entered Cairo in October, while Khalil Bey and Husayn Bey left for Gaza. Rakım Mehmed Pasha recognized Ali Bey as  and restored his subordinate beys to their former offices.

Elimination of rivals and advancement of allies
Soon after, Ali Bey launched a campaign to eliminate his rivals. On 30 November 1767 he assassinated two top-ranking mamluks, Ali Bey Jinn and Hasan Bey, and followed it up by expelling from Egypt four other beys and their retinues. On 1 March 1768, he exiled some thirty officers, including eighteen high-ranking mamluks of his ally Salih Bey's household. In May, Husayn Bey and Khalil Bey launched a campaign against Ali Bey from Gaza, sweeping through the Nile Delta, before establishing base in Tanta. Ali Bey obtained a firman from Rakım Mehmed Pasha officially declaring them as rebels, enabling him to use imperial funds against them, though he still imposed heavy exactions on the local and foreign merchants toward the same purpose. Muhammad Bey Abu al-Dhahab and Salih Bey, confronted the rebels, who surrendered after running out of ammunition. Husayn Bey was beheaded, while Khalil Bey took refuge in the Sayyid Tantawi Mosque until Ali Bey permitted him to enter exile in Alexandria. There, in July 1768, he was strangled. For the remainder of the year, Ali Bey continued eliminating or substantially weakening rivals among the mamluks and in the ranks of the , especially the janissaries, who remained the only influential government military force in the province. By September, the French consul reported "never has the Janissary  been reduced to the point it is today". That month, Ali Bey had Salih Bey assassinated, and soon after broke up his household, exiling his mamluks to Tanta, Damietta, Jeddah, and Upper Egypt. 

With every move against his rivals, Ali Bey consolidated his hold over the military and bureaucracy in Egypt. All of the officers he eliminated were replaced by his own mamluks. He allowed the beys from his household to build up households of their own, while he acquired substantial numbers of new mamluks and commissioned mercenaries to supplement his forces. After Salih Bey's assassination, Ali Bey promoted three more of his mamluks as beys, appointed Isma'il Bey as defterdar, Ayyub Bey as governor of the major district of Girga, and another of his mamluk beys, Hasan Bey Ridwan, as  and  (commander of Cairo). In September, he had assumed the office of , thereby attaining the executive powers of the governor during his absence. Crecelius notes by "combining the leadership of the mamluk regime with the executive functions of the Ottoman government Ali Bey had gained complete mastery of the Ottoman administration and reduced the governor to impotence". Rakım Mehmed Pasha attempted to depose Ali Bey in November by enlisting Muhammad Bey Abu al-Dhahab. The latter revealed the plot to Ali Bey, who then denounced and ousted the governor.

Ali Bey stopped the annual tribute to the Sublime Porte and in an unprecedented usurpation of the Ottoman Sultan's privileges had his name struck on local coins in 1769 (alongside the sultan's emblem), effectively declaring Egypt's independence from Ottoman rule. In 1770 he gained control of the Hijaz and a year later temporarily occupied Syria, thereby reconstituting the Mamluk state that had disappeared in 1517. However, a few days after a major victory over Governor Uthman Pasha al-Kurji by the allied forces of Zahir al-Umar and Ali Bey's forces on 6 June 1771, Abu al-Dhahab, the commander of his troops in Syria, refused to continue the fight after an Ottoman agent stirred up mistrust between him and Ali Bey, and hastily returned to Egypt. As a result, Ali Bey lost power in 1772. The following year, he was killed in Cairo.

However, the date of 1772 is highly disputed; other sources and historians give varying dates for the end of Ali Bey's power in Egypt. Uzunçarşılı claims that he held power until 1773 (when Kara Halil Pasha became governor), but Sicill-i Osmani disagrees, saying that he fell out of power in 1769 and naming three interceding governors by name between the end of Ali Bey's reign in 1769 and Kara Halil Pasha's appointment in 1773; these are Köprülü Hafız Ahmed Pasha (1769), Kelleci Osman Pasha (1769–1771), and Vekil Osman Pasha (1772–1773). First-person source Al-Jabarti declares that Ali Bey gave up power in 1769 when a new governor from the Ottoman capital of Istanbul was assigned by the sultan (although he doesn't name him). It is likely that Uzunçarşılı read Al-Jabarti's chronicle, but failed to note the narrative about the new governor coming from Istanbul in 1769, since after that, Al-Jabarti does not name any other pasha by name or sequence until 1773 with Kara Halil Pasha.

Economic policies
According to historians Cleveland and Bunton, "During his time in power, he successfully expanded Egypt's trade with Britain and France. He also hired European advisers to the military and bought European weapons". However, according to Bidwell, "...he did not make use of native Egyptians or call in foreigners for technical advice. He made no effort to build a modern army..."

See also
 List of Ottoman governors of Egypt
 Nafisa al-Bayda

Notes

References

Sources

Further reading
 Virginia H. Aksan, Ottoman Wars, 1700–1870: An Empire Besieged, (Routledge, 2013), 234.
:it:Giovanni Mariti, 1774,  Istoria della guerra della Soria parte 1. proseguita fino alla morte di AlyBey dell'Egitto, parte 1
:it:Giovanni Mariti, 1774,  Istoria della guerra della Soria parte 2. proseguita fino alla morte di AlyBey dell'Egitto, parte  2

Literature 
 Sauveur Lusignan:  A history of the Revolution of Ali Bey against the Ottoman Porte. London 1783

1728 births
1773 deaths
18th-century Ottoman governors of Egypt
18th-century slaves
Egyptian nobility
Political people from the Ottoman Empire
Georgians from the Ottoman Empire
Slaves from the Ottoman Empire
Mamluks
Ottoman governors of Egypt
Rebels from the Ottoman Empire
Former Georgian Orthodox Christians
Converts to Islam from Eastern Orthodoxy