Millions for Defense: How the XYZ Affair Pushed America to the Brink of War

The New Republic 9 min read March 14, 2026

By Library of History Editorial Staff

In late September 1797, three American diplomats stood at the Philadelphia waterfront and boarded ships bound for Paris. They carried instructions from a worried president, a sheaf of diplomatic credentials, and the weight of a republic that could not yet afford a navy. Their mission: persuade the French Republic to stop seizing American merchant ships. What awaited them in Paris was not a negotiating table but a shakedown — and when the details of that shakedown became public, the United States exploded.

The envoys were John Marshall, a Virginia lawyer who would later become the most consequential Chief Justice in American history; Charles Cotesworth Pinckney, a South Carolina general and veteran of the Revolution; and Elbridge Gerry of Massachusetts, the most sympathetic to France of the three. Their mission would produce no treaty. It would, however, produce a scandal, an undeclared naval war, the permanent United States Navy, and the most repressive domestic legislation the young republic had yet seen. The XYZ Affair is a story about sovereignty, extortion, and the price of standing up to the most powerful military force on earth — at a moment when you have almost nothing to fight with.

A Republic Ambushed: The Road to Paris

To understand what happened in 1797, it helps to understand what France believed it was owed. During the American Revolution, the 1778 Treaty of Alliance had bound the two nations in a military partnership. French money, French ships, and ultimately a French fleet at Yorktown had helped secure American independence. In French eyes — particularly as revolution swept their own country in the 1790s — this created an obligation that Americans were increasingly reluctant to honor.

The crisis crystallized around the Jay Treaty of 1794. Negotiated by John Jay with Britain, the treaty resolved several outstanding grievances between the two former antagonists and granted Britain "most favored nation" trading status. France viewed it as a betrayal. If America was going to normalize relations with Britain — France's existential enemy — then France saw no reason to extend courtesy to American merchant ships. Beginning in 1795, French privateers and naval vessels began systematically seizing American commerce in the Caribbean and Atlantic. By 1796, France had captured more than 300 American merchant ships. The following year, French authorities expelled U.S. minister Charles C. Pinckney from Paris without so much as a formal meeting — a deliberate insult calculated to humiliate.

John Adams took office on March 4, 1797, inheriting a crisis already in motion. Just two days earlier, France had issued a decree threatening all American shipping. Adams's first response was measured: he addressed Congress on May 16, 1797, declaring that the United States was "not a degraded people, humiliated under a colonial spirit of fear," and announced he would send a peace commission to Paris — while simultaneously calling on Congress to authorize new warships and coastal fortifications. It was a dual-track strategy: negotiate from a position of visible resolve. The commission departed that autumn. What they found in Paris would make negotiation seem almost beside the point.

The Waiting Game in Paris: Talleyrand's Trap

Charles Maurice de Talleyrand-Périgord, France's Foreign Minister, was one of the most brilliant and most corrupt statesmen in European history. A survivor of the Revolution, the Terror, and exile in America, he had cultivated a keen sense of how to turn political crises into personal profit. Napoleon would later describe him as "a piece of dung in a silk stocking." The description was apt. Talleyrand was not opposed to eventually settling with the Americans; he simply intended to be paid first.

When Marshall, Pinckney, and Gerry arrived in Paris in early October 1797, Talleyrand received them briefly to accept their credentials — then went silent. Days passed, then weeks. Instead of official meetings, the envoys were visited by a rotating cast of intermediaries. In the diplomatic dispatches they later sent to Secretary of State Timothy Pickering, the Americans identified these go-betweens with the letters W, X, Y, and Z — substitutes for their actual names: Nicholas Hubbard, Jean Hottinguer, Pierre Bellamy, and Lucien Hauteval, with the playwright and ancien régime fixer Pierre-Augustin Beaumarchais lurking at the edges of the scheme.

The demands the intermediaries conveyed were breathtaking in their brazenness. Before any negotiation could begin, Talleyrand required three things: a personal bribe of $250,000, a low-interest loan of twelve million dollars to the French Republic, and a formal American apology for remarks Adams had made in his May 1797 speech to Congress. These were not opening positions. They were preconditions for opening positions.

Pinckney's response, when the demands were repeated, was blunt and immediate: "No, no, not a sixpence!" Marshall, the most legally precise of the three, wrote detailed dispatches home describing the extortion in unsparing terms. Gerry, by contrast, found himself drawn into separate conversations with Talleyrand's agents — meetings that Marshall and Pinckney were not told about, and that began to fragment the American delegation's unity. Talleyrand was deliberately isolating Gerry, the most France-sympathetic of the three, hoping to exploit the division. He also threatened that if the Americans left without agreement, France would use its influence in the United States to mobilize Jeffersonian-Republicans against the Adams administration.

It was extortion layered on intimidation. By spring 1798, Marshall and Pinckney had had enough. They departed. Gerry remained in Paris, convinced that his departure would trigger outright war, though his solo diplomacy accomplished nothing. The dispatches they had sent home, coded and carried across the Atlantic in carefully guarded packets, were about to set the United States on fire.

The Dispatches Arrive — and the Country Catches Fire

The coded dispatches from Paris began arriving in Philadelphia on March 4–5, 1798. Adams deciphered them himself. His reaction was fury — at France's audacity, and at his own powerlessness to respond militarily with any force the country currently possessed. He informed Congress that negotiations had failed and requested emergency defense appropriations.

Jeffersonian-Republicans in Congress, deeply skeptical of Adams and broadly sympathetic to France, made a tactical error that would cost them dearly. Suspecting that Adams was either exaggerating or fabricating French hostility to justify a war buildup, they demanded he release the diplomatic dispatches publicly. Adams obliged. On April 3, 1798, he sent the full correspondence to Congress — replacing the French intermediaries' actual names with W, X, Y, and Z — and within days, it was being published in newspapers across the country.

The public reaction was the opposite of what Republicans had expected. Americans who read the dispatches did not see a president manufacturing a crisis. They saw a foreign power demanding a bribe as the price of basic diplomatic courtesy from a nation that had allied with them in their darkest hour. The outrage was genuine and volcanic. Talleyrand was burned in effigy. French sympathizers faced harassment. Newspapers that had defended France reversed course. The political tide shifted under the Jeffersonians' feet with stunning speed.

Out of this moment emerged the phrase that would define the crisis. When Pinckney returned to the United States, South Carolina congressman Robert Goodloe Harper offered a toast in his honor: "Millions for defense, but not one cent for tribute!" The words captured the public mood precisely. Pinckney's own defiant reply in Paris — "No, no, not a sixpence!" — had been transformed into something catchier, but the sentiment was identical: this republic would arm itself before it would pay to be insulted.

Congress responded with remarkable speed. The 1778 Treaty of Alliance with France was formally annulled. An embargo on French trade was imposed. American privateers were authorized. Washington, now sixty-five, was recalled from retirement to command a Provisional Army; Alexander Hamilton — who wanted full-scale war and a standing military force large enough to intimidate Hamilton's domestic political enemies as well as France — was named second in command. Most significantly, Congress passed the Naval Act of 1798 and began funding a permanent U.S. Navy. The six frigates that had been authorized in 1794 but only partially built — including USS Constitution and USS Constellation — were finally completed and put to sea.

There was a darker current running alongside the war fever. Federalists who had spent years watching Jeffersonian newspapers attack Adams and sympathize with French radicalism saw in the crisis an opportunity for a reckoning. The result was the Alien and Sedition Acts of 1798 — four laws pushed through Congress that extended the residency requirement for citizenship from five to fourteen years, empowered the president to expel non-citizens deemed dangerous, and criminalized "false, scandalous, and malicious writing" against the government. The Sedition Act was used to prosecute newspaper editors who criticized Adams. Jefferson and Madison responded with the Kentucky and Virginia Resolutions, asserting that states could nullify unconstitutional federal laws — setting in motion a constitutional argument about the limits of federal power that would echo through the republic for generations.

The Undeclared War at Sea

The Quasi-War of 1798–1800 was fought almost entirely in the Caribbean, in the sea lanes where French privateers had been picking apart American merchant shipping for years. It was never formally declared, never given an official name by the Congress that authorized it, and is often overlooked in histories of early American military power. It should not be. It was the proving ground of the permanent United States Navy — and the Navy performed beyond any reasonable expectation.

The American fleet began with approximately sixteen vessels and a collection of converted merchant ships. Against a French naval establishment that had dominated Atlantic waters for decades and had recently humiliated British squadrons in the Caribbean, the odds looked poor. They were less poor than they appeared. On the morning of February 9, 1799, off the island of Nevis in the Caribbean, USS Constellation — thirty-eight guns, commanded by Captain Thomas Truxton — encountered the French frigate L'Insurgente, thirty-six guns. A sudden squall took down L'Insurgente's main topmast, and Truxton pressed the advantage without hesitation. After a brief but savage engagement, L'Insurgente surrendered — the first significant American naval victory of the war, won against a vessel that had been terrorizing Atlantic shipping for years.

A year later, Truxton and Constellation fought the French frigate Vengeance in a moonlit night battle that lasted five hours. Vengeance eventually fled but was so badly damaged she barely reached Curaçao. Over the course of the conflict, the United States Navy captured eighty-six French privateers — a remarkable performance for a fleet barely two years old. The Quasi-War demonstrated something that no treaty or diplomatic dispatch could have established: that American warships could fight and win.

Meanwhile, Adams found himself under enormous pressure from within his own Federalist Party to escalate. Hamilton, commanding the Provisional Army, wanted a full continental war — one that might also conveniently suppress domestic opposition. Adams resisted. He had spent enough time in France and in European diplomacy to read the situation with clarity: France did not actually want a full-scale conflict with the United States. Talleyrand had miscalculated, as he had a talent for doing when his personal greed interfered with his strategic judgment. The question was how to find an exit.

The Peace That Cost Adams Everything

The exit came from an unexpected direction. In August 1798, British Admiral Horatio Nelson destroyed the French fleet at the Battle of the Nile, eliminating France's naval power in the eastern Mediterranean and making a war on multiple fronts strategically untenable. By November 1799, Napoleon Bonaparte had seized power in France and was pivoting toward continental consolidation; he wanted Louisiana Territory from Spain and peace with America. Talleyrand, retained as Foreign Minister under the new regime, quietly signaled through diplomatic back channels that France was willing to negotiate without preconditions.

Adams seized on this opening over the furious objection of his own cabinet — several of whom were secretly reporting to Hamilton — and nominated a new minister to France. When Congress balked, he expanded it to a three-man commission. The negotiations in Paris produced the Convention of 1800, signed on September 30, 1800, and ratified by the Senate with modifications on December 18, 1801. The 1778 Treaty of Alliance — America's first and, for 147 years, only formal alliance with a foreign power — was formally annulled. A new commercial agreement was established. The convention made no provision for compensation for the hundreds of seized American ships, which remained a bitter grievance, but it ended the Quasi-War and established a working peace.

The political cost to Adams was severe and, in the long arc of history, somewhat ironic. His decision to seek peace — against the wishes of his own party, against the ambitions of Hamilton, and against the war fever his own dispatch release had ignited — was the act of political courage that defined his presidency. Federalists who had wanted a decisive war against France never forgave him. Hamilton published a vicious pamphlet attacking Adams's character and fitness for office. The Federalist coalition fractured. Thomas Jefferson, who had spent two years opposing the Quasi-War and defending French motives, won the presidency in the election of 1800 — in part because the war Adams had ended never became the triumphant Federalist cause Hamilton had imagined it would be.

The XYZ Affair and the Quasi-War left a complicated inheritance. The permanent United States Navy was its most durable product — the Navy that would defend American commerce against Barbary pirates, fight the British to a draw in 1812, and grow into a global force. The Alien and Sedition Acts were its most troubling product: the first major federal assault on political speech, and the template against which future civil liberties arguments would measure themselves. The nullification doctrine that Jefferson and Madison invoked in response planted seeds that would not fully germinate until the 1830s — and would not be definitively settled until 1865.

And there is the smaller, human-scale legacy: John Adams, who made peace when war would have been easier, who chose the republic's long-term interests over his party's short-term ambitions, who stepped away from power in 1801 as gracefully as Washington had in 1797. He did not get credit for it in his lifetime. History has been more generous. The man who refused to let the republic be baited into a war it could not yet sustain — and who built the Navy that made future wars winnable — understood something about durability and restraint that the XYZ Affair, at its most hysterical, threatened to drown out entirely.