a castle in the market town