Give me a summary of 1812 war
The War of 1812 (18 June 1812 – 17 February 1815) was fought by the United States of America and its indigenous allies against the United Kingdom and its allies in British North America, with limited participation by Spain in Florida. Tensions originated in long-standing differences over territorial expansion in North America and British support for Native American tribes who opposed U.S. colonial settlement in the Northwest Territory.
 The War of 1812 was fought by the United States of America and its indigenous allies against the United Kingdom and its allies in British North America. It began when the U.S. declared war on 18 June 1812. The war did not officially end until the peace treaty was ratified in February 1815.