During this time period, the US had started to expand towards the West. The British, still trying to reclaim their previous colony back, decided to arm and rouse the Native American tribes that live west of the US to fight against the US. This resulted in the American Indian War, which was fought between the US and numerous amounts of Indian tribes. The victor however was the US (as seen today, because the US spans from west coast to east, instead of the East & Lousiana purchase only)
They were also on the route to fighting the War of 1812, which was Britians official second war with the US in trying to regain their former colony back (US won)
Black codes were restrictive laws designed to limit the freedom of African Americans and ensure their availability as a cheap labor force after slavery was abolished during the Civil War.