The Virginia General Assembly voted in February 1846 to accept the return of Alexandria. On July 9, 1846, Congress agreed to return all the territory that Virginia had ceded. Therefore, the district's area consists only of the portion originally donated by Maryland. Confirming the fears of pro-slavery Alexandrians, the Compromise of 1850 outlawed the slave trade in the District, although not slavery itself.