<page_title> Hampshire, Illinois </page_title> <section_title> Demographics </section_title> <table> <cell> 2010 <col_header> Historical population </col_header> <col_header> Census </col_header> </cell> <cell> 5,563 <col_header> Historical population </col_header> <col_header> Pop. </col_header> </cell> </table>
As of the 2010 census, there were 5,563 people in Hampshire.