In 1863, during the French intervention, he was Minister of the Supreme Court of Justice of the Regency.
From 1866 to 1867, during the rule of Maximilian of Habsburg, he was president of the Supreme Court of Justice, and president of the Council of Ministers of the Empire.
He was decorated as Commander of the Imperial Order of the Mexican Eagle and with the First Class Medal for Civil Merit.