Among these were Secretary of Industry, Commerce and Labor; Secretary of Finance and Public Credit; Secretary of Foreign Affairs, as well as ambassador of Mexico in France and in Spain.
Pani is considered the author of the modern Mexican financial system.