The British policy at the time was to give financial and diplomatic support to their continental allies, who did nearly all of the actual fighting on land. France meanwhile set up the conscription system that built up a much larger army than anyone else. After the king was executed, nearly all the senior officers went into exile, and a very young new generation of officers, typified by Napoleon, took over the French military. Britain relied heavily on the Royal Navy, which sank the French fleet at the Battle of the Nile in 1798, trapping the French army in Egypt. In 1799, Napoleon came to power in France, and created a dictatorship. Britain led the Second Coalition from 1798 to 1802 against Napoleon, but he generally prevailed. The Treaty of Amiens of 1802 was favorable to France. That treaty amounted to a year-long truce in the war, which was reopened by Britain in May 1803.