Walls surrounded the city of Rabat.