In 1804, the United Kingdom's nemesis, Napoleon Bonaparte, became Emperor of the French. The following year the Third Coalition was formed against France and the 1st Battalion took part in the expedition to Hannover in 1805 at a time when Napoleon's armies burnt across the continent. In 1806 the Fourth Coalition against France was created and the following year the 1st Battalion took part in the second Battle of Copenhagen in Denmark, an expedition intended to prevent the Danish Fleet falling into the hands of the French. A combined British and Hannoverian Army under General Lord Cathcart besieged the Danish city while the Royal Navy bombarded the city. The operation was a success and the Danes surrendered their fleet of eighteen warships to the British.