during the vicente guerrero administration he was appointed minister of justice and ecclesiastical affairs