What event led to the U.S. purchase of the Louisiana Territory?

The burning of a U.S. Navy ship in the First Barbary War

The U.S. Supreme Court's decision in Marbury vs. Madison


The successful Haitian slave revolt Napoleon losing money in his European wars