Montagnac was born in Pouru-aux-Bois. He took part in the Spanish expedition of 1823 and rose to lieutenant on 30 December 1827. He severely put down the June Rebellion in 1832 but refused the Légion d'honneur he was offered in reward by Louis-Philippe of France, explaining he was "resolved to await this reward on an occasion I will better deserve it".