In addition to these campaigns, the French Revolutionary and Napoleonic Wars was a contributing factor for a number of other conflicts on the continent. From 1798 to 1800, the United States and the French First Republic fought an undeclared war over debt-repayments, known as the Quasi-War. The Napoleonic Wars was also a contributing factor towards the War of 1812, a conflict in Northern America fought between the United States, and the United Kingdom, along with their remaining colonies in British North America, particularly the Canadas. Napoleon's invasion of Iberia also led to the eventual independence of New Spain in the Mexican War of Independence. The turmoil caused by Napoleon's invasion of Spain also led to the peaceful independence of the colony of Santo Domingo in 1821. However, it was quickly annexed by Haiti in 1822. Their independence was reestablished following the Dominican War of Independence. After a period of Spanish re-colonization, the independence of the Dominican Republic was reasserted in the Dominican Restoration War.