In the period between 1775 and 1945, the United States entered into a great many treaties or other formal peace agreements, of which the overwhelming majority were treaties with the Indian nations or tribes. Five major wars between the United States and recognized foreign states were concluded by peace treaties: the American Revolution (Treaty of Paris, 3 September 1783), the War of 1812 (Treaty of Ghent, 24 December 1814), the Mexican War (Treaty of Guadalupe Hidalgo, 2 February 1848), the Spanish-American War (Treaty of Paris, 10 December 1898), and World War I. The U.S. Senate declined to ratify the Treaty of Versailles and associated treaties negotiated by President Woodrow Wilson at the conclusion of World War I, but the United States subsequently signed separate treaties of peace with Germany (Berlin, 25 August 1921), Austria (Vienna, 24 August 1921), and Hungary (Budapest, 29 August 1921). No treaties were signed and ratified by the United States with Bulgaria and Turkey, and the Soviet Union was absent from the entire peace settlement.
A number of lesser foreign wars or partial engagements of the United States were also concluded by treaties of peace: the Moroccan War (treaty of 28 June 1786), the Tripolitan War (Treaty of Tripoli, 3 June 1805), two Algerian wars (treaties of 1795 and 1815), the second Opium War (Treaty of Tientsin, 18 June 1858), and the Boxer Rebellion (Treaty of Peking, 7 September 1901). The undeclared naval war with France (Quasi-War) of 1798–1800 was also settled by a formal convention of 30 September 1800.