Both the War of 1812 and the American Revolution were wars fought between the US and Great Britain.
During the American Revolution, the United States was fighting for its independence from Great Britain. This demand for freedom came after a series of laws and injustices caused the Americans to no longer want to be associated with Great Britain.
The War of 1812, on the other hand, was caused by Britian's attempts to control American trade and the impressment of American sailors. These problems caused more fighting between the two, ultimately resulting in no side gaining significant territory.
Everyone was poor and the banks were collapsing, and so people had to foreclose due to not being able to pay their mortgages and the banks owning those mortgages going bankrupt.
He was elected the fifth president of the United States in 1817. He is remembered for the Monroe Doctrine, as well as for expanding U.S territory via the acquisition of Florida from Spain