When the Thirteen Colonies became independent in the American War of Independence, the British Empire lost some of its oldest and most important colonies. But it kept colonies in what are now Canada and Florida, as well as the Caribbean. It still had colonies and businesses in Asia, Africa, and the Pacific too. After defeating Napoleonic France in 1815, Britain became the world's only superpower for more than a century. The empire became even larger.