gate and medieval walls of the castle