He excelled in classical studies, and won a scholarship from the department of Nièvre to study at the school of law of Paris.
Marchangy was an enthusiastic supporter of Napoleon, and was made Imperial Crown prosecutor at the court of the Seine in 1810.