By selling Louisiana to the U.S. in 1803, Napoleon obviated the need to defend it against the British, and he may have hoped that the need of the U.S. to defend the territory (against the British) might have brought America back to its alliance with France.