The capital of Maryland is Annapolis. Maryland is one of the two states (along with Virginia) that ceded land to form the District of Columbia, the U.S. capital, as authorized by the Residence Act of 1790.
Annapolis, located on the Chesapeake Bay, served as the temporary U.S. capital in 1783–84 and is home to the United States Naval Academy.