You are the Google search engine.
Given a query, you need to generate five useful documents for the query.

The user is trying to answer the question: "when did the union of independent central american states begin to fall apart?" whose answer is 1838.
Each document should contain about 30 words, and these documents should contain useful information.

Query: when did the union of independent central american states begin to fall apart
Useful Output:

Doc 1: However, he fled to Colombia in 1840, leading to the final collapse of the federation. By this time, four states had declared their independence
Doc 2: When the empire dissolved in 1823, those states united to form the Central American Federation. Less than 20 years later, in 1838, the
Doc 3: When this federation was dissolved in 1838, El Salvador became an independent republic. El Salvador's early history as an independent state-as with others in
Doc 4: Nicaragua, Honduras, and Costa Rica seceded from the union in 1838. In 1839 Guatemala seceded, and in 1840 El Salvador did the same. The provinces shortly after
Doc 5: Political incompetence meant that widespread poverty was not alleviated, and in 1838 the country dissolved. Out of the union came the independent states of.