# Foreign relations of the Ottoman Empire

The foreign relations of the Ottoman Empire were characterized by competition with the Persian Empire to the east, Russia to the north, and Austria to the west. The control over European minorities began to collapse after 1800, with Greece being the first to break free, followed by Serbia. Egypt was lost in 1798–1805. In the early 20th century Austria-Hungary annexed Bosnia and Herzegovina, the Bulgarian Declaration of Independence soon followed. The Ottomans lost nearly all their European territory in the First Balkan War (1912–1913). The Ottoman Empire allied itself with the Central Powers in the World War I, and was defeated. During the war, the British successfully mobilized Arab nationalism, and the Ottoman Empire thereby lost its Arab possessions, and itself soon collapsed in the early 1920s.

## Structure

The Ottoman Empire's diplomatic structure was unconventional and departed in many ways from its European counterparts. Traditionally, foreign affairs were conducted by the Reis ül-Küttab (Chief Clerk or Secretary of State) who also had other duties. In 1836, a Foreign Ministry was created.

### Finance

After 1600, wars were increasingly expensive and the Empire never had an efficient system of taxation. The Porte relied on loans from merchants and tax farming, whereby local; elites collected taxes (and kept their share). The winner in a war acquired new territory—the local leadership usually stayed the same, only they now collected taxes for the winning government. The war's loser often paid cash reparations to the winner, who thereby recouped the cost of the war.

### Ambassadors

Ambassadors from the Ottoman Empire were usually appointed on a temporary and limited basis, as opposed to the resident ambassadors sent by other European nations. The Ottomans sent 145 temporary envoys to Venice between 1384 and 1600. The first resident Ottoman ambassador was not seen until Yusuf Agah Efendi was sent to London in 1793.
Ambassadors to the Ottoman Empire began arriving shortly after the fall of Constantinople. The first was Bartelemi Marcello from Venice in 1454. The French ambassador Jean de La Forêt arrived in 1535. In 1583, the ambassadors from Venice and France would attempt unsuccessfully to block English diplomat William Harborne from taking up residence in Istanbul. This move was repeated by Venice, France and England in trying to block Dutch ambassador Cornelius Haga in 1612.

### Capitulations

Capitulations were trade deals with other countries. They were a unique practice of Muslim diplomacy that was adopted by Ottoman rulers. In legal and technical terms, they were unilateral agreements made by the Sultan to a nation's merchants. These agreements were temporary, and subject to renewal by subsequent Sultans. The origins of the capitulations comes from Harun al Rashid and his dealings with the Frankish kingdoms, but they were also used by both his successors and by the Byzantine Empire.
In June 1580 came the first capitulatory agreement with England. The English acquired privileges formerly limited to France and Venice. The Porte broadened English extraterritorial rights by successive renewals and expansions (in 1603, 1606, 1624, 1641, 1662, and 1675).
The Ottoman-French Treaty of 1740 marked the apogee of French influence in the Ottoman Empire in the eighteenth century. In the following years the French had an unchallenged position in Levant trade and in transportation between Ottoman ports. Near contemporary Ottoman capitulations to European powers such as Great Britain and the Dutch Republic in 1737, the Kingdom of the Two Sicilies in 1740, Denmark–Norway in 1756 and Prussia in 1761 were to offset and balance the capitulations granted to France in 1740.

## Military organization

Sultan Selim III in 1789 to 1807 set up the "Nizam-i Cedid" (modern order) army to replace the inefficient and outmoded imperial army. The old system depended on Janissaries, who had largely lost their military effectiveness. Selim closely followed Western military forms. It would be expensive for a new army, so a new treasury ['Irad-i Cedid'] was established . The result was the Porte now had an efficient, European-trained army equipped with modern weapons. However it had fewer than 10,000 soldiers in an era when Western armies were ten to fifty times larger. Furthermore, the Sultan was upsetting the well-established traditional political powers. As a result, it was rarely used, apart from its use against Napoleon's expeditionary force at Gaza and Rosetta. The new army was dissolved by reactionary elements with the overthrow of Selim in 1807, but it became the model of the new Ottoman Army created later in the 19th century.

## 1200–1500

c. 1250, the Seljuk Turks were overwhelmed by a Mongol invasion, and they lost control of Anatolia. By 1290, Osman I established supremacy over neighboring Turkish tribes, forming the start of the Ottoman Empire. The Byzantine Empire was shrinking, but it held tenaciously onto its capital at Constantinople.
The Ottoman domain became increasingly powerful and by 1400 was a crucial part of the European states system and actively played a role in their affairs, due in part to their coterminous periods of development. In 1413–1421, Mehmed I "The Restorer" reestablished central authority in Anatolia. He expanded the Ottoman presence in Europe by the conquest of Wallachia in 1415. Venice destroyed the Ottoman fleet of Gallipoli in 1416, as the Ottomans lost a naval war. In the reign of Murad II (1421–1451) there were successful naval wars with Venice and Milan. The Byzantine Empire lost virtually all its territory in Anatolia. However, the Ottomans failed in their attempted invasions of Serbia and Hungary; they besieged Constantinople. Christians from Central Europe launch the last Crusade in 1443–1444, pushing the Ottomans out of Serbia and Wallachia. This Crusade ended in defeat when the Ottomans were victorious at Varna in November 1444.
Mehmed the Conqueror (1444–1446, and 1451–1481) scored the most famous victory in Ottoman history when his army finally on 29 May 1453, captured Constantinople and brought an end to the Byzantine Empire. Towards the end of the 15th century, the Ottomans began to play a larger role in the Italian Peninsula. In 1494, both the Papacy and the Kingdom of Naples petitioned the Sultan directly for his assistance against Charles VIII of France in the First Italian War. The Ottomans continue to expand, and on 28 July 1499 won their greatest naval victory over Venice, in the first battle of Lepanto.

## 1500–1800

Ottoman policy towards Europe during the 16th century was one of disruption against the Habsburg dynasties. The Ottomans collaborated with Francis I of France and his Protestant allies in the 1530s while fighting the Habsburgs. Although the French had sought an alliance with the Ottomans as early as 1531, one was not concluded until 1536. The sultan then gave the French freedom of trade throughout the empire, and plans were drawn up for an invasion of Italy from both the north and the south in 1537.

### Selim I

The most dramatic successes came during the short reign of Selim I (1513– 1520), as Ottoman territories were nearly doubled in size after decisive victories over the Persians and Egyptians. Selim I defeated the Mameluke army that controlled Egypt in 1517. He conquered Egypt, leaving the Mamelukes as rulers there under a Turkish governor general. Selim I moved south and took control of Mecca and the West Arabian Coast, suppressed revolts in Anatolia and Syria, and formed an alliance with Algiers. He died in 1520 as he was preparing an invasion of the island of Rhodes.

#### Mughals

Babur's early relations with the Ottomans were poor because Selim I provided Babur's rival, Ubaydullah Khan, with powerful matchlocks and cannons. In 1507, when ordered to accept Selim I as his rightful suzerain, Babur refused and gathered Qizilbash servicemen in order to counter the forces of Ubaydullah Khan during the Battle of Ghazdewan in 1512. In 1513, Selim I reconciled with Babur (fearing that he would join the Safavids), dispatched Ustad Ali Quli and Mustafa Rumi, and many other Ottoman Turks, in order to assist Babur in his conquests; this particular assistance proved to be the basis of future Mughal-Ottoman relations. From then on, he also adopted the tactic of using matchlocks and cannons in field (rather than only in sieges), which gave him an important advantage in India. Babur referred to this method as the "Ottoman device" due to its previous use by the Ottomans during the Battle of Chaldiran.
Humayun maintained a cordial relationship with Suleiman the Magnificent and handed him a letter through the shipwrecked Ottoman admiral Sidi Ali Reis, who acted as an intermediary. Humayun acknowledged Suleiman as the caliph owing to Suleiman's control of Mecca and Medina, but maintained that Humayun was Suleiman's equal in every way. This letter remained unacknowledged. Humayun's son and successor Akbar had a much colder relationship with the Ottomans. Akbar mostly maintained contacts with the Uzbeks and Safavids, but never really had any dialogue with the Ottomans until the 1580s. Akbar often sent political adversaries to Mecca for the hajj, but his initial conflict with the Ottomans happened due to members of his household being mistreated there. In the 1580's, Ottoman officials in the Hijaz humiliated ladies belonging to Akbar's household when they stayed in Mecca and Medina. The Ottomans alleged that the Mughals overstayed beyond the hajj in Mecca and were engaged in haram activities. Whatever the case, Akbar stopped sending caravans to Mecca after this, depleting a large source of revenue for the Ottomans. This could also be because Akbar became really interested in syncretic religions at this time, eventually leading to his creation of Din-i Ilahi, which combined Hinduism, Islam, and Christianity. Akbar still purported to be the caliph, which he bolstered by conquering the Gujarat Sultanate, an Ottoman ally (and Hajj departing port). Partially in response, Akbar planned a joint Mughal-Portuguese invasion of Yemen. The Portuguese were always interested in controlling the trade routes of the region, especially Aden, which lay on the crucial Bab el-Mandeb strait linking the Red Sea to the Indian Ocean. The Portuguese were present in Goa, and their envoys there tried to conspire with Akbar in order to launch the invasion, which was uncovered by Ottoman spies. The invasion never materialized for reasons unknown.
The Ottoman-Mughal relationship improved under subsequent emperors. Jahangir and Shah Jahan felt threatened by Persia and sought an Ottoman alliance to check a strong Persia on the borders of the Mughal Empire. Both monarchs rationalized such an alliance as a Sunni one against the Shia Safavids. Tensions arose when Shah Jahan conquered Kandahar from the Safavids, as the Ottomans feared that the Mughals were expanding too far westwards and would eventually reach their own lands. The Ottomans thus secretly supported the Safavids when they retook Kandahar in 1649. When the Mughals briefly moved into Balkh and overthrew its Uzbek rulers in order to reclaim their old homeland, the Uzbek ruler Nazr Muhammad Khan fled to Persia and sent a letter to the Ottoman Sultan Mehmed IV asking him to intervene. Mehmed IV and Shah Jahan exchanged a series of letters where both rulers accused their counterpart of misidentifying their own titles. Mehmed IV ultimately claimed that he was the caliph of all Muslim rulers (and that Shah Jahan was only the caliph of his region), which affirmed his standing to mediate the Mughal-Uzbek issue. Aurangzeb did not attempt to maintain significant relations with the Ottomans as under his reign, Maratha power was curtailed and most of India was under his rule, making it unnecessary for him to need foreign aid. The Mughal Empire declined rapidly after Aurangzeb, with only Farrukhsiyar attempting to cultivate the relationship further before it ultimately broke up.

### Suleiman the Magnificent

Selim I's son Suleiman I became known as "Suleiman the Magnificent" for his long string of military conquests Suleiman consolidated Ottoman possessions in Europe and made the Danube the undisputed northern frontier.
The decisive Ottoman victory came at the Battle of Mohács in 1526. The forces of the Kingdom of Hungary and its allies, led by Louis II was defeated by Suleiman's army. The result was the three-way partition of Hungary for several centuries between the Ottoman Empire, the Habsburg Monarchy, and the Principality of Transylvania. Louis II was killed, thus ending the Jagiellonian dynasty in Hungary and Bohemia. Its dynastic claims passed to the House of Habsburg.
Suleiman selected cooperative local leaders in the newly acquired Wallachian, Moldavian, and Transylvanian Christian territories. The role was to keep the peace, collect taxes, and in turn were protected by the Porte. Later sultans considered replacing these tributary princes with Ottoman Muslim governors but did not do so for political, military, and financial reasons. Suleiman's successes frightened the Europeans, but he failed to move north of the Danube, failed to take Vienna, failed to conquer Rome, and was unable to gain a foothold in Italy. The defeats meant that the Ottoman Empire could not take advantage of the intellectual and technical advances made in Western Europe. Instead Suleiman's empire while large, failed to keep pace with the rapid advances taking place in Europe. According to John Norton, additional weaknesses of Suleiman included his conscription of Christian children, maltreatment of subject peoples, and obsession with his own prestige.
The Dutch allied with the Ottomans. Prince William of Orange coordinated his strategic moves with those of the Ottomans during Ottoman negotiations with Philip II of Spain in the 1570s. After the Habsburgs inherited the Portuguese crown in 1580, Dutch forces attacked their Portuguese trading rivals while the Ottomans, supportive of the Dutch bid for independence, attacked the Habsburgs in Eastern Europe.

### India, China, Central Asia, and Southeast Asia

In the 16th century, there emerged travelogues of both Ottoman travelers to China and Chinese travelers to the Ottoman world. A 16th century Chinese gazetteer, Shaanxi tongzhi, claims that there were Han-Chinese people living in a number of Ottoman controlled towns and cities such as Beirut, Tartus, Konya, and Istanbul. According to the official history of the Ming dynasty, some self-proclaimed Ottoman envoys visited Beijing to pay tribute to the Ming emperor in 1524. However, these envoys were most likely just Central and Western Asian merchants trying to conduct trade in China, since pretending to be envoys was the only way to enter the Chinese border pass. One of these merchants was Ali Akbar Khitai, who visited the Ming dynasty during the reign of Emperor Zhengde. Ali Akbar later wrote the book Khitay namah and dedicated it to Sultan Suleyman. The Ming Shilu also records Ottoman envoys reaching China in 1423, 1425, 1427, 1443-1445, 1459, 1525-1527, 1543-1544, 1548, 1554, 1559, 1564, 1576, 1581, and 1618. Some of these missions may have been from Uzbekistan, Moghulistan, or Kara Del because the Ottomans were known in China as the rulers of five realms: Turfan, Samarqand, Mecca, Rum and Hami. According to traders in the Gujarat Sultanate, the Chinese Emperor ordered all Chinese Muslims to read the khutba in the name of the Ottoman Sultan, thus preventing religious disputes from spreading across his territory.
The first exchange of diplomatic missions between the Ottoman Sultans and the Muslim rulers of the Indian sub-continent dates back to the years 1481–82. Ottoman expeditions to the sultanates of Gujarat, Bijapur, and Ahmednagar were motivated by mutual anti-Portuguese sentiment; Ottoman artillery contributed to the fall of the pro-Portuguese Vijayanagara Empire. Turkish-Indian relations soured when the Mughals conquered most of India, since the Mughal Empire was a symbolic threat to the Ottoman Empire's position as the universal caliphate, despite contemplation for a Mughal-Ottoman-Uzbek alliance against Iran. After the Mughal Empire collapsed, the Muslim rulers of Mysore, most prominently Tipu Sultan, sought Ottoman aid in their conflicts with the British, but the Ottomans were weakened by wars with Russia and in no position to help.
The Inner Eurasian Muslim khanates of Kazan, Khwarazm, and Bukhara were wary of Russian expansion and looked to the Ottomans for the maintenance of Silk Road contacts. With this purpose in mind, the Ottomans began to dig out a Volga-Don canal, but quickly stopped after realizing its infeasibility. Nonetheless, the Russians agreed to grant Central Asian Muslim pilgrims safe passage into Ottoman territories after the First Russo-Turkish War. In the late 16th and early 17th centuries, the Uzbeks and Ottomans launched semi-coordinated military offensives against Iran.
During the Age of Exploration, the Ottomans assisted in anti-Catholic activity among the Sultanates of Southeast Asia. Relations with the Aceh Sultanate started in the 1530s but the affair later developed into an alliance by the 1570s. Thanks to the trade of arms for pepper, the Ottomans gained a foothold in Southeast Asia. By the 1580s, Spanish observers like Melchor Davalos were becoming increasingly alarmed at the number of Ottoman forces operating in the Ternate Sultanate and Brunei Sultanate; the Ottomans helped the Bruneians to expel Spanish invaders once and for all after the Castilian War. Similarly, the Ottomans allied with the Sultanate of Demak to help mitigate Persian and Portuguese influence in Java. Relations with Java continued into the 17th century, even after the Sultanate of Demak was succeeded by the Sultanate of Mataram. Maritime links between the Ottoman Empire and the Toungoo Empire of Burma were established as late as 1545, and persisted well into the 1580s.

### Africa

The Ottomans spread the use of firearms into Morocco and Bornu, but Bornu and Morocco later allied against the Ottomans. The Ajuran and Adal Sultanates both allied with the Ottomans against the Portuguese and Ethiopians, as well as the Swahilis, while the Funj Sultanate saw the Ottomans as a threat.

### Russo-Turkish War (1676–1681)

The small-scale inconclusive war with Russia in 1676–1681 was a defensive move by Russia after the Ottomans expanded into Podolia during the Polish–Turkish War of 1672–1676. The Porte wanted to take over all of the Right-bank Ukraine with the support of its vassal, Hetman Petro Doroshenko. A combination of Russian and Ukrainian forces defeated Doroshenko and his Ottoman-Tatar army in 1676. The invaders were badly defeated by the Russians in 1677 at Chyhyryn and lost again in their attack on Chyhyryn in 1678. In 1679–1680, the Russians repelled the attacks of the Crimean Tatars and signed the Bakhchisaray Peace Treaty on 3 January 1681, which would establish the Russo-Ottoman border by the Dnieper.

### Great Turkish War: 1683–1699

The Great Turkish War or the "War of the Holy League" was a series of conflicts between the Ottoman Empire and ad hoc European coalition the Holy League (Latin: Sacra Ligua). The Ottomans lost. The coalition was organized by Pope Innocent XI and included the Papal States, the Holy Roman Empire under Habsburg Emperor Leopold I, the Polish–Lithuanian Commonwealth of John III Sobieski, and the Venetian Republic; Russia joined the League in 1686. Intensive fighting began in 1683 when Ottoman commander Kara Mustafa brought an army of 200,000 soldiers to besiege, Vienna. The issue was control of Central and Eastern Europe. By September, the invaders were defeated in full retreat down the Danube. It ended with the signing of the Treaty of Karlowitz in 1699. The war was a defeat for the Ottoman Empire, which for the first time lost large amounts of territory. It lost lands in Hungary and Poland, as well as part of the western Balkans. The war marked the first time Russia was involved in a western European alliance.

### Wars with Russia, 1768–1774

Following a border incident at Balta, Sultan Mustafa III declared war on Russia on 25 September 1768. The Ottoman formed an alliance with the Polish opposition forces of the Bar Confederation, while Russia was supported by Great Britain, which offered naval advisers to the Imperial Russian Navy.
The Polish opposition was defeated by Alexander Suvorov. He was then transferred to the Ottoman theatre of operations, where in 1773 and 1774 he won several minor and major battles following the previous grand successes of the Russian Field-Marshal Pyotr Rumyantsev at Larga and Kagula.
Naval operations of the Russian Baltic Fleet in the Mediterranean yielded victories under the command of Aleksey Grigoryevich Orlov. In 1771, Egypt and Syria rebelled against the Ottoman rule, while the Russian fleet totally destroyed the Ottoman Navy at the battle of Chesma.
On 21 July 1774, the defeated Ottomans signed the Treaty of Küçük Kaynarca, which formally granted independence to the Crimean Khanate; in reality it became dependent on Russia. Russia received 4.5 million rubles and two key seaports allowing the direct access to the Black Sea.
The supply of Ottoman forces operating in Moldavia and Wallachia was a major challenge that required well organized logistics. An army of 60,000 soldiers and 40,000 horses required a half-million kilograms of food per day. The Ottoman forces fared better than the Russians, but the expenses crippled both national treasuries. Supplies on both sides came using fixed prices, taxes, and confiscation.

## 19th century

As the 19th century progressed, the Ottoman Empire grew weaker and the United Kingdom increasingly became its protector, even fighting together in the Crimean War during the 1850s against the Russians. Three British prime ministers played major roles in Anglo-Ottoman relations during this period. Lord Palmerston considered the Ottoman Empire an essential component in the balance of power and was the most favourable toward Constantinople. William Ewart Gladstone sought to build a Concert of Europe that would support the survival of the empire. In the 1880s and 1890s, Lord Salisbury contemplated an orderly dismemberment of it, in such a way as to reduce rivalry between the greater powers.

### Selim III

Selim III (1789–1807) in 1789 found that the Empire had been considerably reduced due to conflicts outside the realm. From the north Russia had taken the Black Sea through the Treaty of Küçük Kaynarca in 1774. Selim realized the importance of diplomatic relations with other nations, and pushed for permanent embassies in the courts of all the great nations of Europe, a hard task because of religious prejudice towards Muslims. Even with the religious obstacles, resident embassies were established in London, Paris, Berlin and Vienna. Selim, a cultured poet and musician, carried on an extended correspondence with Louis XVI of France. Although distressed by the establishment of the republic in France, Ottoman government was soothed by French representatives in Constantinople who maintained the goodwill of various influential personages.
In July 1798, however, French forces under Napoleon landed in Egypt, and Selim declared war on France. In alliance with Russia and Great Britain, the Ottomans were in periodic conflict with the French on both land and sea until March 1801. Peace came in June 1802, The following year brought trouble in the Balkans. For decades a sultan's word had had no power in outlying provinces, prompting Selim's reforms of the military in order to reimpose central control. This desire was not fulfilled. One rebellious leader was Austrian-backed Osman Pazvantoğlu, whose invasion of Wallachia in 1801 inspired Russian intervention, resulting in greater autonomy for the Dunubian provinces. Serbian conditions also deteriorated. They took a fateful turn with the return of the hated Janissaries, ousted 8 years before. These forces murdered Selim's enlightened governor, ending the best rule this province had had in the last 100 years. Neither arms nor diplomacy could restore Ottoman authority.

### Loss of Egypt: 1798–1805

The brief French invasion of Egypt led by Napoleon Bonaparte began in 1798. Napoleon won early victories and made an initially successful expedition into Syria. The British Royal Navy defeated a French fleet at Battle of the Nile. Napoleon managed to escape with a small staff in 1799, leaving the army behind. When peace with Britain came in 1803, Napoleon brought home his Armée d'Orient. The expulsion of the French in 1801 by Ottoman, Mamluk, and British forces was followed by four years of anarchy in which Ottomans, Mamluks, and Albanians — who were nominally in the service of the Ottomans – wrestled for power. Out of this chaos, the commander of the Albanian regiment, Muhammad Ali (Kavalali Mehmed Ali Pasha) emerged as a dominant figure and in 1805 was acknowledged by the Sultan as his "viceroy" in Egypt; the title implied subordination to the Sultan but this was in fact a polite fiction: Ottoman power in Egypt was finished and Muhammad Ali, an ambitious and able leader, established a dynasty in Egypt that lasted until 1952.

### Russo-Turkish War (1806–1812)

French influence with the Sublime Porte led the Sultan into defying both St. Petersburg and London, and instead joined Napoleon's Continental System. War was declared on Russia on 27 December and on Britain in March 1807. The Ottomans did poorly. Constantinople negotiated for peace in the Treaty of Bucharest (1812). The Porte above all wanted to stay out of the impending conflict between Napoleon and Russia. The Russians wanted no side war and thus they made peace in order to be free for the potential war with France. The Treaty of Bucharest ceded to Russia the eastern half of the Principality of Moldavia, as well as Bessarabia. Russia obtained trading rights on the Danube. The Porte ended hostilities and granted autonomy to Serbia. In Transcaucasia, the Ottomans renounced their claims to most of western Georgia. Russia returned control of Akhalkalaki, Poti, and Anapa. The Ottomans had extricated themselves from a potentially disastrous war with a slight loss of territory. This treaty became the basis for future Russo-Ottoman relations.

### Greek War of Independence 1821–1830

The Greek War of Independence was a successful uprising waged by Greek revolutionaries against the Ottoman Empire between 1821 and 1830. The Greeks were factionalized and fought their own civil war. The Greeks won widespread support from elite opinion in Europe, and were aided militarily and diplomatically by Britain, France and Russia. The Ottomans were aided militarily by Egypt.
Greece came under Ottoman rule in the late 15th century. During the following centuries, there were sporadic but unsuccessful Greek uprisings against Ottoman rule. In 1814, a secret organization called Filiki Eteria (Society of Friends) was founded with the aim of liberating Greece, encouraged by the revolutionary fervor gripping Europe in that period. The Filiki Eteria planned to launch revolts in the Peloponnese, the Danubian Principalities, and Constantinople itself, which had a large Greek element. The first revolt began on 6 March/21 February 1821 in the Danubian Principalities, but it was soon put down by the Ottomans. The events in the north urged the Greeks in the Peloponnese (Morea) into action and on 17 March 1821, the Maniots were first to declare war. In September 1821, the Greeks under the leadership of Theodoros Kolokotronis captured Tripolitsa. Revolts in Crete, Macedonia, and Central Greece broke out, but were eventually suppressed. Meanwhile, makeshift Greek fleets achieved success against the Ottoman Navy in the Aegean Sea and prevented Ottoman reinforcements from arriving by sea.
Tensions soon developed among different Greek factions, leading to two consecutive civil wars. The Ottoman Sultan called in Muhammad Ali of Egypt, who sent his son Ibrahim Pasha to Greece with an army to suppress the revolt in return for territorial gains. Ibrahim landed in the Peloponnese in February 1825 and brought most of the peninsula under Egyptian control by the end of that year. Despite a failed invasion of Mani, Athens also fell and the revolution looked all but lost.
At that point, the three Great Powers—Russia, Britain and France—decided to intervene, sending their naval squadrons to Greece in 1827. Following news that the combined Ottoman–Egyptian fleet was going to attack the island of Hydra, the allied fleets intercepted the Ottoman navy and won a decisive victory at the Battle of Navarino. In 1828 the Egyptian army withdrew under pressure of a French expeditionary force. The Ottoman garrisons in the Peloponnese surrendered, and the Greek revolutionaries proceeded to retake central Greece. Russia invaded the Ottoman Empire and forced it to accept Greek autonomy in the Treaty of Adrianople (1829). After nine years of war, Greece was finally recognized as an independent state under the London Protocol of February 1830. Further negotiations in 1832 led to the London Conference and the Treaty of Constantinople; these defined the final borders of the new state and established Prince Otto of Bavaria as the first king of Greece.

### Serbian Revolution and Autonomous Principality (1804–1878)

Serbia gained considerable internal autonomy from the Ottoman Empire in two uprisings in 1804 (led by Đorđe Petrović – Karađorđe) and 1815 (led by Miloš Obrenović). Ottoman troops continued to garrison the capital, Belgrade, until 1867. The Serbs launched not only a national revolution but a social one as well. Complete independence arrived in 1878. Serbian activists promoted ethnic nationalism in the Balkans, targeting both the remnants of the Ottoman Empire and the equally fragile Austro-Hungarian Empire. The Serbia followed Montenegro against the Ottomans, and one full independence from the Congress of Berlin in 1878. Serbia played a central role in the Balkan wars of the early 20th century, which practically eliminated the Ottoman presence in Europe

### Russo-Turkish War (1828–29)

The Russo-Turkish War of 1828–1829 was sparked by the Greek War of Independence of 1821–1829. War broke out after the Ottoman Sultan Mahmud II closed the Dardanelles to Russian ships and revoked the 1826 Akkerman Convention in retaliation for Russian participation in October 1827 in the Battle of Navarino. The imminent Russian victory led to the signing of the Treaty of Adrianople, which allowed for Russian occupation of the Danubian Principalities and resulted in the Ottoman Empire's recognition of Greece.

### Persian Gulf

Britain planned to establish bases in the Persian Gulf region to protect the East India Company. Yemen was the first choice, since it was a convenient port. By 1800 the Sublime Porte permitted the creation of British trading stations in Mocha, Yemen. British intrigues with local leaders troubled the Sublime Porte which in 1818 asked Muhammad Ali to pacify the region. The British government worked with Muhammad Ali to take over the strategically significant port of Aden, despite opposition from Constantinople. The Persian Gulf Residency was established in 1822 following the General Maritime Treaty of 1820 signed between the British and the Trucial States.
The Ottoman government was concerned about British expansion from India into the Red Sea and Arabia. They returned to the Tihamah in 1849 after an absence of two centuries.

### Financial crisis

Economic stagnation prevailed in Ottoman lands areas in the 1840s and 1850s at a time when rapid industrialization characterized Britain and Western Europe—areas that also expanded their commerce in the Levant. The Porte had serious economic problems—stagnant tax revenue, inflation, growing expenses. Despite the sultan's fear of British penetration, it borrowed heavily from banks in Paris and London and did not set up its own banks.

### Crimean War 1854–56

The Crimean War (1854–56) was fought between Russia on the one hand and an alliance of Britain, France, Sardinia, and the Ottoman Empire on the other. Russia was defeated but the casualties were very heavy on all sides, and historians look at the entire episode as a series of blunders.
The war began with Russian demands to protect Christian sites in the Holy Land. The churches quickly settled that problem, but it escalated out of hand as Russia put continuous pressure on the Ottomans. Diplomatic efforts failed. The Sultan declared war against Russia in October 1851. Following an Ottoman naval disaster in November, Britain and France declared war against Russia. It proved quite difficult to reach Russian territory, and the Royal Navy could not defeat the Russian defences in the Baltic. Most of the battles took place in the Crimean peninsula, which the Allies finally seized. London, shocked to discover that France was secretly negotiating with Russia to form a postwar alliance to dominate Europe, dropped its plans to attack St. Petersburg and instead signed a one-sided armistice with Russia that achieved almost none of its war aims.
The Treaty of Paris signed 30 March 1856, ended the war. Russia gave up a little land and relinquished its claim to a protectorate over the Christians in the Ottoman domains. The Black Sea was demilitarized, and an international commission was set up to guarantee freedom of commerce and navigation on the Danube River. Moldavia and Wallachia remained under nominal Ottoman rule, but would be granted independent constitutions and national assemblies. However, by 1870, the Russians had regained most of their concessions.
The war helped modernize warfare by introducing major new technologies such as railways, the telegraph, and modern nursing methods. The Ottoman Empire and Russia, with their weak industrial bases, could not keep up with the major powers, so they could no longer promote stability. This opened the way for Napoleon III in France and Otto von Bismarck in Prussia to launch a series of wars in the 1860s that reshaped Europe.

### Russo-Turkish War (1877–1878)

The Russo-Turkish War of 1877–1878 saw the Ottomans lose to a coalition led by the Russian Empire and composed of Bulgaria, Romania, Serbia, and Montenegro. Russia and its allies declared war in order to gain access to the Mediterranean through the Turkish Straits. The main battles were fought on land in Anatolia/Caucasus and Rumelia. After losing the siege at Plevna, the Ottomans gave up and signed the punitive Treaty of San Stefano. That treaty built up a powerful Bulgaria. The European powers rejected that solution and met at the Congress of Berlin. Even though the Porte was not invited the powers returned half the Ottoman losses at the Treaty of Berlin in July 1878. The war originated in emerging Balkan nationalism and Orthodox Christian religion. Additional factors included Russian goals of recovering territorial losses endured during the Crimean War of 1853–56, re-establishing itself in the Black Sea and supporting the political movement attempting to free Balkan nations from the Ottoman Empire. As a result, Russia succeeded in claiming provinces in the Caucasus (Kars and Batum). Russia also annexed the Budjak region. The principalities of Romania, Serbia, and Montenegro, each of which had de facto sovereignty for some time, formally proclaimed independence from the Porte. After almost five centuries of Ottoman domination (1396–1878), a Bulgarian state re-emerged: the Principality of Bulgaria, covering the land between the Danube River and the Balkan Mountains (except Northern Dobrudja which was given to Romania), as well as the region of Sofia, which became Bulgaria's capital. The Congress of Berlin also allowed Austria-Hungary to occupy Bosnia and Herzegovina and Britain to assume control over Cyprus.
A surprising consequence came in Hungary (part of the Austro-Hungarian Empire). Despite memories of the terrible defeat at Mohács in 1526, elite Hungarian attitudes were become strongly anti-Russian This led to active support for the Ottomans in the media, but only in a peaceful way, since the foreign policy of the Austro-Hungarian monarchy remained neutral.

### British takeover of Egypt, 1882

The most decisive event emerged from the Anglo-Egyptian War, which resulted in the occupation of Egypt. although the Ottoman Empire was the nominal owner, in practice Britain made all the decisions. In 1914, Britain declared war on the Ottoman Empire and ended their nominal role. Historian A. J. P. Taylor says that the seizure, which lasted seven decades, "was a great event; indeed, the only real event in international relations between the Battle of Sedan and the defeat of Russia and the Russo-Japanese war." Taylor emphasizes long-term impact:
    The British occupation of Egypt altered the balance of power. It not only gave the British security for their route to India; it made them masters of the Eastern Mediterranean and the Middle East; it made it unnecessary for them to stand in the front line against Russia at the Straits....And thus prepared the way for the Franco-Russian Alliance ten years later.

## 20th century

In 1897 the population was 19 million, of whom 14 million (74%) were Muslim. An additional 20 million lived in provinces which remained under the sultan's nominal suzerainty but were entirely outside his actual power. One by one the Porte lost nominal authority. They included Egypt, Tunisia, Bulgaria, Cyprus, Bosnia-Herzegovina, and Lebanon.

### Entry in to World War I

Germany for years had worked to develop closer ties to the Ottoman Empire. In 1914, the old Ottoman enemy Russia was at war with Germany and Austria-Hungary, and Constantinople distrusted London for its role in Egypt. Conquest of Constantinople was a main Russian war goal. The Porte was neutral at first but leaned toward Germany. Its old protector Britain was no longer a close ally. The Ottoman entry into World War I began when two recently purchased ships of its navy, still manned by their German crews and commanded by their German admiral, carried out the Black Sea Raid, a surprise attack against Russian ports, on 29 October 1914. Russia replied by declaring war on 1 November 1914 and Russia's allies, Britain and France, then declared war on the Ottoman Empire on 5 November 1914.
There were a number of factors that conspired to influence the Ottoman government, and encourage them into entering the war. According to Kemal Karpat:
    Ottoman entry into the war was not the consequence of careful preparation and long debate in the parliament (which was recessed) and press. It was the result of a hasty decision by a handful of elitist leaders who disregarded democratic procedures, lacked long-range political vision, and fell easy victim to German machinations and their own utopian expectations of recovering the lost territories in the Balkans. The Ottoman entry into war prolonged it for two years and allowed the Bolshevik revolution to incubate and then explode in 1917, which in turn profoundly impacted the course of world history in the 20th century.
This decision ultimately led to the deaths of hundreds of thousands of Ottomans, the Armenian genocide, the dissolution of the empire, and the abolition of the Islamic Caliphate.