Supreme Court of Spain
He finished his career as President of the Supreme Court of Spain (1840–1843).