The mercenary army hired by the Volterrans was responsible for starting the sacking and murder in the city, once they figured out that they were not going to get paid. The Florentine mercenaries then decided to join in and it wasn't until much later that Montefeltro was able to restore order and discipline in his army.