In the s he helped establish a republican government in newly independent Mexico, but was forced into exile in . Zavala returned to Mexico in and was named to serve as the first minister plenipotentiary of the Mexican legation in Paris.