Washington D.C. was built on land ceded by the states of Virginia and Maryland. The land was originally part of the District of Columbia, which was established by the United States Congress in 1790 as the permanent capital of the United States. The District was created from land donated by both Virginia and Maryland, which was then consolidated into a single federal district.