I want to know the answer to the following question:
What provoked the modernization and expansion of the Brazilian administrative, civic, economical, military, educational, and scientific apparatus?
All the background I'm provided with is that "However, the King of Portugal remained in Brazil until the Liberal Revolution of 1820, which started in Porto, demanded his return to Lisbon in 1821.". Is that enough to answer the question?
Answer: no