In response to the poor conditions in the capital, Congress passed the Organic Act of 1871, which revoked the individual charters of the cities of Washington and Georgetown, and created a new territorial government for the whole District of Columbia. The act provided for a governor appointed by the President, a legislative assembly with an upper-house composed of eleven appointed council members and a 22-member house of delegates elected by residents of the District, as well as an appointed Board of Public Works charged with modernizing the city.