It served in this role throughout much of the colonial and early post-colonial period, including from 1790 to 1800, when Washington, D.C. was being built and prepared to take over as the nation's new capital. The capital was moved to Washington after the construction of the White House and Capitol in 1800.