When Italy entered World War I, he volunteered in an artillery regiment. He was promoted to rank of captain in 1917, and remained on active duty in the Italian Army until 1923 – in the meantime, he earned his bachelor's degree in law from the University of Pisa in March 1920.