The Treaty of Madrid, also known as Pinckney's Treaty, was negotiated in 1795 between Thomas Pinckney of the United States and Manuel de Godoy of Spain. Designed to settle border disputes along Spanish Florida and define commercial access to the Mississippi River, the treaty was hailed as a major victory for American western settlers who needed the river to trade goods. Article XXII explicitly granted American citizens the right to navigate the entire length of the river and a three-year renewable right of deposit in New Orleans—meaning they could store tax-free cargo in warehouses while awaiting export on ocean-going vessels.
However, a significant legal loophole lay buried in the text: the treaty failed to specify precise mechanisms for what would happen after the initial three-year deposit privilege expired, leaving the designation of an alternative site subject to Spanish discretion without a binding deadline. When Spanish officials abruptly revoked the right of deposit in 1798 and again in 1802 without immediately providing an alternative port, American merchants faced financial ruin. This legal ambiguity sparked outrage among frontiersmen, bringing the young United States to the brink of a war with Spain to secure river access.
Ultimately, the crisis highlighted the geopolitical fragility of the American frontier and accelerated Thomas Jefferson's urge to acquire the region outright, directly setting the stage for the 1803 Louisiana Purchase.