The recovery of food imports after the Napoleonic Wars (1803–1815) and the resumption of American trade following the War of 1812 (1812–1815) led to the enactment in 1815 of the Corn Laws (protective tariffs) to protect cereal grain producers in Britain against foreign competition. These laws were only removed in 1846 after the onset of the Great Irish Famine in which a potato blight ruined most of the Irish potato crop and brought famine to the Irish people from 1846 to 1850. Though the blight also struck Scotland, Wales, England, and much of Continental Europe, its effect there was far less severe since potatoes constituted a much smaller percentage of the diet than in Ireland. Hundreds of thousands died in the famine and millions more emigrated to England, Wales, Scotland, Canada, Australia, Europe, and the United States, reducing the population from about 8.5 million in 1845 to 4.3 million by 1921.