The castle in Japan was surrounded by the moat and the stone wall.