the election of his ally Stanisław Leszczyński as King of Poland, in place of Augustus II the Strong. August 3 (July 23 Old Style) – War of the Spanish Succession – Gibraltar is captured from Spain, by English and Dutch forces under Sir George Rooke. August 7 – Battle of Orford Ness. August 13 (August 2 OS) – War of the Spanish Succession – Battle of Blenheim: Allied troops under John Churchill, Earl of Marlborough and Prince Eugene of Savoy defeat the Franco-Bavarian army. August 24 (August 13 OS) – War of the Spanish Succession – French and English fleets clash off Málaga, causing heavy casualties on both sides, but without sinking any ships. September 8 – War of the Spanish Succession – The Twelfth Siege of Gibraltar by French and Spanish troops begins. September 12 – War of the Spanish Succession: The siege of the French-held German town of Landau, by Holy Roman Empire troops under the command of Ludwig Wilhelm von Baden-Baden begins and lasts for more than ten weeks before the French surrender on November 23. During the siege, the Holy Roman Emperor Joseph I visits the area in a newly-developed vehicle, a convertible horse-drawn carriage that has a removable roof. The style of vehicle itself is later called a "landau". September 28 – Damat Hasan Pasha, Grand Vizier of the Ottoman Empire, is removed from office by Ottoman Sultan Ahmed III, and replaced by Kalaylikoz Ahmed Pasha. October–December October 24 – A peace treaty is signed between Prince Ferenc Rákóczi of Transylvania, and representatives of the Holy Roman Emperor, Leopold I at Schemnitz (now the Slovakian town of Banská Štiavnica) October 28 – Great Northern War: The Battle of Poniec takes place as King Charles XII leads Swedish troops in pursuit of the Saxon Army commanded by General Johann von der Schulenburg. The Swedes are forced to retreat despite surrounding the Saxons, and Schulenburg's troops escape. November 11 – Twelfth Siege of Gibraltar: A Spanish Bourbon special forces battalion, guided by Simon Susarte, scales the steepest side of the Rock of Gibraltar in an attempt to surprise the British defenders, and kills the English sentries who have been manning the lookout. The attack is foiled the next day when a drummer boy, who was bringing food to the sentries, spots the invaders and raises the alarm. November 26 – The inauguration of the newly built Kastelskirken