The severity of the sack of Prato led to the surrender of the Florentine Republic , and to the restoration of the Medici rule .
It led to the surrender of the Florentine Republic and control by the Medici family .