Gini studied Statistics as a compulsory part of his study of law at U Bologna. He realized that Statistics provided a means of measuring social phenomena and this became his specialism. He was the founder of the first Department of Statistics in Italy (at U Rome), in 1936.
http://www-history.mcs.st-and.ac.uk/Biographies/Gini.html Information and photograph.