Congress passed the District of Columbia Organic Act of 1801 which officially organized the district and placed the entire territory under the exclusive control of the federal government. Further, the area within the district was organized into two counties: the County of Washington to the east (or north) of the Potomac and the County of Alexandria to the west (or south). After the passage of this Act, citizens living in the district were no longer considered residents of Maryland or Virginia, which therefore ended their representation in Congress.