Volta married the daughter of Count Ludovico Peregrini , Teresa , with whom he raised three sons .
In 1794 , Volta married Teresa Peregrini , with whom he raised three sons , Giovanni , Flaminio and Zanino .