War of 1812 saw America threatened on every side. Encouraged by the British, Indian tribes attacked settlers in the West, while the Royal Navy terrorized the coasts. By mid-1814, President James Madison's generals had lost control of the war in the North, losing battles in Canada. Then British troops set the White House ablaze, and a feeling of hopelessness spread across the country. Into this dire situation stepped Major General Andrew Jackson.