How did the Medici family gain so much power in Italy