The British responded. In the Battle of the Nile, 1798, the Royal Navy, under Horatio Nelson, defeated the French fleet off the coast of Egypt. The French fleet was almost completely destroyed, and that changed the balance of power between the two nations at war in the Mediterranean. 