July 30 - Eleven-year-old Prince William, Duke of Gloucester died at Windsor Castle, Windsor, Berkshire. August 18 (August 7 O.S.) – The Peace of Travendal is concluded between the Swedish Empire, Denmark–Norway and Holstein-Gottorp in Traventhal. On the same day, Augustus II, King of Poland, and Peter the Great, Tsar of Russia, enter the war against Sweden. September 6 – Edmond Halley returns to England after a voyage of almost one year on the ship Paramour and publishes his findings on terrestrial magnetism in General Chart of the Variation of the Compass. September 12 – Antioh Cantemir is deposed as the voivode of Moldavia and replaced by his predecessor Constantine Ducas. September 27 – Pope Innocent XII dies at the age of 85 after a tenure of more than nine years. Fabrizio Spada, the Cardinal Secretary of State, assumes administration of the Roman Catholic Church in order to oversee the election of a new Pope. September – A Russian army invades Swedish Estonia, and besieges the town of Narva. October–December October 3 – The Battle of Jouami' al-Ulama takes place in Algeria with a surprise attack and ambush on the army of Murad III Bey of Tunis by two Algerian defenders, Hadj Mustapha, Dey of Algiers and Ahmed ben Ferhat, Beylik of Constantine. October 16 - Adrian, Patriarch of All Russia, dies after more than 10 years as head of the Russian Orthodox Church. He is replaced by the hand-picked choice of the Tsar, Peter the Great with the appointment of Simeon Ivanovich Yavorsky as the Patriarch Stefan. November 1 – Charles II, the last Spanish king of the House of Habsburg, dies insane at the Royal Alcazar of Madrid (aged 38), leaving no children. November 15 – Louis XIV accepts the Spanish crown on behalf of his grandson Philip of Anjou, who becomes Philip V of Spain (to 1746), thus triggering the War of the Spanish Succession (1701-1714). November 18 – Lithuanian Civil War – Battle of Valkininkai: The anti-Sapieha coalition is victorious. November 23 – Giovanni Francesco Albani, having been ordained as a Roman Catholic priest only two months earlier, is elected by the Papal conclave to succeed Pope Innocent XII, and becomes the 243rd pope, taking the name of Clement XI. November 30 (November 19 O.S.; November 20 Swedish calendar) – Battle of Narva, Estonia: Having led his army of 8,000 on a forced march from Denmark