Question: when was annapolis the capital of the united states
Answer: The city served as the seat of the Confederation Congress ( former Second Continental Congress ) and temporary national capital of the United States in 1783 -- 1784 .