Washington , D.C. was a capital city in 1814 .
In 1814 , one of these raids burned the capital , Washington , D.C. , but the Americans later repulsed British attempts to invade New York and Maryland , ending invasions from Canada into the northern and mid-Atlantic states .
War of 1812