The flint building was an important coin mint belonging to the crown, in mediaeval times, and later became the town jail.