Initially, this town was not the most important centre of the Gore District. An early indication of Hamilton's sudden prosperity occurred in 1816, when it was chosen over Ancaster, Ontario to be the new Gore District's administrative centre. Another dramatic economic turnabout for Hamilton occurred in 1832 when a canal was finally cut through the outer sand bar that enabled Hamilton to become a major port. A permanent jail was not constructed until 1832, when a cut-stone design was completed on Prince's Square, one of the two squares created in 1816. Subsequently, the first police board and the town limits were defined by statute on February 13, 1833. Official city status was achieved on June 9, 1846, by an act of Parliament of the Province of Canada.