Why was The Louisiana Purchase sold to us?

The French were in serious debt.