 He was the nephew of Cardinal Uberto Gambara.After his father's death, his mother married a third time, to Gilberto Borromeo, making Charles Borromeo his stepbrother.He began his studies at the University of Padua, then continued at the University of Bologna.