He was born at Pont-à-Mousson in Meurthe and was a student at the École Polytechnique before joining the 1st Artillery Regiment in Napoleon's army in Germany in 1804.
In 1809, he returned to Europe via Russia, and served for a while as a volunteer in the Polish army of the Duchy of Warsaw.