The War of 1812 was a conflict fought between the United States of America and Great Britain, and lasted until 1815 ending with the Treaty of Ghent.