Among his more important actions are the creation of the Natural History Museum in Mexico City and the foundation of Mexico's General National Archive. The latter has been very important for learning about the historical events in Mexico and understanding the political processes of the Mexican Republic. He also founded and ran a mining company, established the first metal foundry in independent Mexico in 1825, administered the estates of the descendants of Hernán Cortés, and served as president of the Mexico City "ayuntamiento" (city council) in 1849.