What was the Treaty of Ghent?

Signed on December 24, 1814, the Treaty of Ghent brought about peace to end the War of 1812. The treaty was signed in Ghent, Netherlands and was between the United States and the United Kingdom and Ireland.