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 budapest became the capital of hungary?" whose answer is 1361.
Each document should contain about 30 words, and these documents should contain useful information.

Query: when did budapest become the capital of hungary
Useful Output:

Doc 1: The year 1867 saw the birth of the Austro-Hungarian Empire. Budapest was made the twin capital of the empire, along with Vienna. It was not
Doc 2: In 1872, the two sides of the city, Buda and Pest, were officially united to form Budapest. Source: https://whc.unesco.org/en/list/400/
Doc 3: In 1361, it became the capital of Hungary. Buda became a Renaissance hub during the reign of Matthias Corvinus of Hungary (1458-1490). His library, the
Doc 4: The capital city of Hungary turned 147 years old on November 17, after a merger occurred in three neighboring cities in 1873.
Doc 5: Dropping the hyphen happened sometime later, and in 1873, Óbuda and Margaret Island merged with Budapest. But, as Shakespeare put it, “What's in