It was fortified by a thick stone wall and surrounded by a hazardous moat.