He was a civil servant and journalist during the period of the divided republic, and ambassador to several countries in Europe.
The following year he wrote a History of Argentina - strongly biased against federalism, which he completed in 1820 - and which, for a long time was the official textbook for teaching national history in the country.