The Old York Gaol, or Jail, was once a colonial prison. Elements of the structure date to 1720. It was enlarged after the American Revolution in response to a demand for better debtor's prison conditions. The building was used as a prison until approximately 1879, then it was used as a schoolhouse, a boarding house, and a warehouse. It is now a museum which offers tours between May and October.