Who RULED France in The Louisiana Purchase?

In the early 1800s, the ruler of France at the time of the Louisiana Purchase was Napoleon. Deeply embroiled in war in Europe at the time, Napoleon was in more need of money than of troublesome and distant colonial land of dubious value.