Yes, Virginia (along with Maryland) ceded land to the federal government for the District of Columbia. The 1790 Residence Act authorized the district on the Potomac; Virginia's portion was later retroceded in 1846, but the initial cession established the capital.