Born in Piedmont in 1888, Antonio Legnani entered the Naval Academy in Leghorn in 1905. After graduating as an ensign in 1908, he served for a few years on battleships and cruisers, and in 1911-1912 he participated in the Italo-Turkish War as a sub-lieutenant aboard the hydrographic survey ship Staffetta, in Red Sea. During this war, Legnani was promoted to lieutenant and appointed executive officer of the gunboatGiuliana. In the first two years of World War I, Legnani served on several ships, mainly battleships, cruisers and auxiliary cruisers; he took part in the operations in Albania, obtaining a Silver Medal of Military Valor. In September 1917 he was given command of the submarineArgonauta, on board which he carried out 30 combat missions along the enemy coast, obtaining a second Silver Medal and two Bronze Medals of Military Valor. After the war, Legnani, who had become a lieutenant commander, interchange shore assignments in Aegean, first in the Castelrossonaval base and later in Lakki, and periods on submarines and destroyers. In 1926 he was promoted to commander and given command of the scout cruiserVenezia, after which in 1928 he became deputy chief of staff of the Northern Tyrrhenian Naval Department and in 1930 he was given command of the submarine Luciano Manara. In 1931 Legnani was assigned to the Office of chief of staff at the Ministry of the Navy, and in 1933 he was promoted to captain and given command of the light cruiserAlberico da Barbiano. He then became chief of staff of the 5th Naval Division and, in 1936, commanding officer of the heavy cruiserPola. After another period at the Staff in the Ministry of the Navy, in 1937 Legnani was promoted to rear admiral and placed in command of the Regia Marina's submarine fleet, a position he held for two years; he also directed the clandestine submarine warfare during the Spanish Civil War, for which he was decorated with the Knight's Cross of the Military Order of Savoy. In 1938, for reasons that would remain unknown, he suspended the development of the "ML" apparatus - an ancestor of the snorkel - on submarines of the Regia Marina, despite four years of trials having yielded positive results; Legnani also ordered the demolition of the "ML" apparatuses already produced up to that time. The result was that Italian submarines were never equipped with snorkels until after the Second World War. In 1939 Legnani was promoted to the rank of vice admiral and given command of the 8th Naval Division.