 He graduated from the École Polytechnique in 1859 and joined the artillery school, graduating as a lieutenant in 1861.Brunet participated in the French intervention in Mexico from August 1862 to June 1864 and received the Légion d'honneur in October 1864.In 1863 he was posted to the prestigious Horse Artillery Regiment of the Imperial Guard.