 He was related by marriage to Pope Gregory XIII.He was educated at the University of Padua and then at the University of Bologna, becoming a doctor of both laws on 11 May 1563.As a young man, he moved to Rome where he became a protonotary apostolic and a Referendary of the Apostolic Signatura.