The relationship had always been important for both nations. It has been peaceful except for the Quasi War in 1798–1799 and fighting against Vichy France (while supporting Free France) in 1942–1944 during World War II. During the American Civil War, France intervened militarily in Mexico. When the United States had defeated the Confederate States of America, it sent a large army to the Mexican border and forced the French to withdraw.