The wealthy and ambitious Medici (not doctors, as their name implied) emerged as the dominant merchant family.
The Medici were a wealthy merchant family.
Most of the Medici family members studied medicine, hence the family's name.