Sounds like a police presence wasn't very strong in the city - residents were on their own to protect their property.
And just why were the cities surrounded by walls?