contributed to the outbreak of the English Civil War, and the abolition of the monarchy. The Commonwealth of England replaced many names and symbols in the new Commonwealth Navy, associated with royalty and the high church, and expanded it to become the most powerful in the world. The fleet was quickly tested in the First Anglo-Dutch War (1652–1654) and the Anglo-Spanish War (1654-1660), which saw the conquest of Jamaica and successful attacks on Spanish treasure fleets. The 1660 Restoration saw Charles II rename the Royal Navy again, and started use of the prefix HMS. The Navy remained a national institution and not a possession of the Crown as it had been before. Following the Glorious Revolution of 1688, England joined the War of the Grand Alliance which marked the end of France's brief pre-eminence at sea and the beginning of an enduring British supremacy. In 1707, the Scottish navy was united with the English Royal Navy. On Scottish men-of-war, the cross of St Andrew was replaced with the Union Jack. On English ships, the red, white, or blue ensigns had the St George's Cross of England removed from the canton, and the combined crosses of the Union flag put in its place. Throughout the 18th and 19th centuries, the Royal Navy was the largest maritime force in the world, maintaining superiority in financing, tactics, training, organisation, social cohesion, hygiene, logistical support and warship design. The peace settlement following the War of the Spanish Succession (1702–1714) granted Britain Gibraltar and Menorca, providing the Navy with Mediterranean bases. The expansion of the Royal Navy would encourage the British colonization of the Americas, with British (North) America becoming a vital source of timber for the Royal Navy. There was a defeat during the frustrated siege of Cartagena de Indias in 1741. A new French attempt to invade Britain was thwarted by the defeat of their escort fleet in the extraordinary Battle of Quiberon Bay in 1759, fought in dangerous conditions. In 1762, the resumption of hostilities with Spain led to the British capture of Manila and of Havana, along with a Spanish fleet sheltering there. British naval supremacy could however be challenged still in this period by coalitions of other nations, as seen in the American War of Independence. The United States was allied to France, and the Netherlands and Spain were also at war with Britain. In the Battle of the Chesapeake,