the medieval fortress and walled city