Roman Empire, ruled by Leopold I, repurchases the territory of the Duchy of Opole and Racibórz (Oppeln und Ratibor), which it had ceded to Poland in 1645, for the sum of 120,000 guldens and consolidates it with Upper Silesia. The territory will be ceded from Germany to Poland in 1945 at the end of World War II. Iliaș Alexandru becomes the ruler of Moldavia, part of modern-day Romania. June 4 – Molière's comedy The Misanthrope is premièred at the Théâtre du Palais-Royal in Paris, by the King's Players. June 14 (June 4 Julian calendar) – The Four Days' Battle between the Dutch Republic fleet (84 ships under the command of Admiral Michiel de Ruyter) and the English Royal Navy (79 ships led by the Duke of Albemarle) in the North Sea, one of the longest naval engagements in history, ends with a retreat by the English after having started on June 11. A part of the Second Anglo-Dutch War, the battle ends with a Dutch victory, but heavy losses are sustained on both sides: the English lose 1,000 men and 10 ships are sunk, while the Dutch lose four ships and 1,550 men. Damaged, but not destroyed, the English fleet sets about repairs and refitting, and meets the Dutch fleet again on July 25 in the St. James's Day Battle. July–September July 1 – During the Portuguese Restoration War between Portugal and Spain, the Battle of the Berlengas ends after four days as a fleet of 15 Spanish warships obtains the surrender of Fort of São João Baptista. July 6 – On 3 Muharram 1077 AH on the Muslim calendar, Sa'd ibn Zayd, a descendant of Hasan ibn Ali and of Muhammad (founder of Islam) becomes the new Sharif of Mecca, in modern-day Saudi Arabia. His ascension to the post follows the death of his father, Zayd ibn Muhsin, who had been the Sharif since 1631. July 13 – The Battle of Matwy, the bloodiest engagement of Lubomirski's rebellion, takes place in Poland at the village of Matwy. Jerzy Sebastian Lubomirski, who had led the revolt against Poland's King Jan II Kazimierz, defeats a larger number of troops led by John III Sobieski of the Polish-Lithuanian Commonwealth. Poland and Lithuania sustain 4,000 deaths compared to 200 rebel casualties. July 31 – The Agreement of Legonice is signed, with Poland restoring the titles of Jerzy Sebastian Lubomirski and Lubomirski's officers, granting