In 1804, Fulton switched allegiance and moved to Britain, where he was commissioned by Prime Minister William Pitt the Younger to build a range of weapons for use by the Royal Navy during Napoleon's invasion scares. Among his inventions were the world's first modern naval "torpedoes" (modern "mines"). These were tested, along with several other of his inventions, during the 1804 Raid on Boulogne, but met with limited success. Although Fulton continued to develop his inventions with the British until 1806, the decisive naval victory by Admiral Horatio Nelson at the 1805 Battle of Trafalgar greatly reduced the risk of the French invasion. Fulton was increasingly ignored.
Napoleon sent an expedition under his brother-in-law General Leclerc to reassert control over Saint-Domingue. Although the French managed to capture Toussaint Louverture, the expedition failed when high rates of disease crippled the French army, and Jean-Jacques Dessalines won a string of victories, first against Leclerc, and when he died from yellow fever, then against Donatien-Marie-Joseph de Vimeur, vicomte de Rochambeau, whom Napoleon sent to relieve Leclerc with another 20,000 men. In May 1803, Napoleon acknowledged defeat, and the last 8,000 French troops left the island and the slaves proclaimed an independent republic that they called Haïti in 1804.
While in Paris, Bolívar witnessed the coronation of Napoleon in Notre Dame, an event that left a profound impression on him. Even if he disagreed with the crowning, he was highly sensitive to the popular veneration inspired by the hero.