Why Did Napoleon Sell Louisiana?

Napoleon Bonaparte sold the Louisiana Territory to the United States after he lost thousands of troops to yellow fever and needed the money to keep up the war in Europe.