Original: After the house of Medici was extinguished, the art treasures remained in Florence by terms of the famous Patto di famiglia negotiated by Anna Maria Lodovica, the last Medici heiress; it formed one of the first modern museums.
Simplified: The last Medici heiress, Anna Maria Lodovica, made an agreement with the city of Florence.