The Treaty of Hünkâr İskelesi (once commonly spelled Unkiar Skelessi, and translating to The Treaty of "the Royal Pier" or "the Sultan's Pier") was a treaty signed between the Russian Empire and the Ottoman Empire on July 8, 1833, following the military aid of Russia against Mehmed Ali that same year. The treaty brought about an alliance between the two powers, as well as a guarantee that the Ottomans would close the Dardanelles to any foreign warships if the Russians requested such action. The treaty would have significant consequences regarding the Ottoman Empire’s foreign relations, especially with Great Britain and Ireland, as the terms of the treaty worried the other great powers of Europe.
Mehmed Ali, ostensibly only a vassal of the Ottoman Empire, was seeking to increase his personal power and gain control over Palestine, Syria, and Arabia. In order to justify the assault on his liege, he used the pretext of a personal dispute with the pasha of Acre.
In late 1831, he sent his newly reformed army towards Syria, under the command of his son Ibrahim Pasha, resulting in the Egyptian–Ottoman War (1831–1833) against the Ottoman sultan, Mahmud II. Ibrahim's forces quickly captured Gaza and Jerusalem, and successfully laid siege to Acre before marching on to Aleppo and Damascus, “winning successive battles against Mahmud’s new troops, which were not yet a match for so practiced an enemy”; by June 18, 1832, Ibrahim had managed to seize control of all of Syria. For a time, the Egyptian army halted while Mehmed Ali attempted to negotiate with the Sultan. However, once it became clear that diplomacy had failed, Ibrahim led his forces into Anatolia itself where he rallied opponents of the Sultan and captured the city of Konya on November 21. Mahmud II dispatched a large army to try to halt the Egyptian advance, but it was crushed in the Battle of Konya on December 21 and “in a single blow [opened] the way for a complete conquest of Anatolia.” Ibrahim continued his advance until he was within striking distance of Istanbul, the Ottoman capital.