Fought at sea from 1798 to 1800, the United States won a string of victories in the Caribbean.