In the aftermath of the Seven Years' War, Spain was forced to cede Florida and Menorca in the Treaty of Paris to the British, gaining back Havana and Manila in return. The war marked a humiliating downfall from the height of Spanish military ascendancy during the War of the Austrian Succession, and forced the King of Spain Charles III to undergo a military review of his armed forces. This resulted in a massive reorganization of the Spanish military from the top down. Spain entered the American Revolutionary War on the side of the Americans, eager to avenge their earlier defeat, and laid siege to Gibraltar along with dispatching expeditions to re-capture Florida and Menorca. The Royal Navy dispatched naval forces to the Atlantic Ocean to resupply the garrison of Gibraltar and ensure Spanish forces did not hold command of the seas, which would have certainly led to the capture of the "gateway to the Mediterranean".