Mexican Empire
Under the Second Mexican Empire, he was appointed as an advisor to the government.