In 1799, the legislature voted to relocate the capital to Lancaster instead of Harrisburg, because of Lancaster's greater population.[4][8] From 1799 to 1812, the legislature resided in Lancaster at the Old City Hall.[9]