Complex sentence: Later, Mazarin frequented the University of Rome La Sapienza, gaining the title of Doctor in jurisprudence but acquiring a serious gambling habit at the same time.
Split into simpler sentences: Later, Mazarin frequented the University of Rome La Sapienza, gaining the title of Doctor in jurisprudence. He acquired a serious gambling habit at the same time.