 After Mexican independence he supported the coronation of Agustín de Iturbide as emperor of Mexico, and Iturbide made him political chief of Jalisco (1822–24).In 1822 he was elected deputy from San Juan del Río to the constituent congress.He resigned the position in late 1823, and soon was elected governor of Jalisco.