Born in Pralboino (now in the Province of Brescia), in Lombardy, Italy, Gambara came from a distinguished family, one of the seven children of Count Gianfrancesco da Gambara and Alda Pio da Carpi.