Question: when did america go to war with france
Answer: The Quasi-War ( French : Quasi-guerre ) was an undeclared war fought almost entirely at sea between the United States of America and the French Republic from 1798 to 1800 .