In this task you will be given an answer to a question. You need to generate a question. The answer given should be a correct answer for the generated question.

Let me give you an example: This list contains the top 25 accounts with the most followers on the social photo-sharing platform Instagram. As of May 2018, the most followed user is Instagram's own account, with over 235 million followers. Selena Gomez is the most followed individual, with over 137 million followers. Ten accounts have exceeded 100 million followers on the site.
The answer to this example can be: who has the maximum number of followers on instagram
Here is why: The answer is talking about the Instagram accounts that have the most followers. The question asking about the maximum number of followers. So this is a good example.

OK. solve this:
The Kingdom of France controlled the Louisiana territory from 1699 until it was ceded to Spain in 1762. In 1800, Napoleon, then the First Consul of the French Republic, hoping to re-establish an empire in North America, regained ownership of Louisiana. However, France's failure to put down the revolt in Saint-Domingue, coupled with the prospect of renewed warfare with the United Kingdom, prompted Napoleon to sell Louisiana to the United States. The Americans originally sought to purchase only the port city of New Orleans and its adjacent coastal lands, but quickly accepted the bargain. The Louisiana Purchase occurred during the term of the third President of the United States, Thomas Jefferson. Before the purchase was finalized, the decision faced Federalist Party opposition; they argued that it was unconstitutional to acquire any territory. Jefferson agreed that the U.S. Constitution did not contain explicit provisions for acquiring territory, but he asserted that his constitutional power to negotiate treaties was sufficient.
Answer:
what events led to the united states gaining the louisiana territory