text: The current capitol building is actually the fourth to serve as the U.S. capitol, after Maryland State House (Maryland), Federal Hall (New York) and Independance Hall (Philadelphia). It is built to house Congress, the legislative branch of the United States government. It was built in Washington, D.C. because it is the capital of the United States.