Contrary to popular belief, Washington, D.C. was not a primary strategic target for the British during the War of 1812. Their main objectives were:
The 1814 raid and burning of Washington (including the White House and Capitol) was largely a symbolic and retaliatory act—partly in response to the American burning of York (now Toronto)—rather than a move to gain strategic military advantage. The British withdrew quickly after the raid.