The Repository Códice

The Smugglers Who Became the Government

August 22, 2026 · Runtime 10:05 · Watch on YouTube

Spain's answer to a war it did not start was not more soldiers. It was an entire new government, and the biggest fleet it had ever sent to South America. This is how the port two episodes called a crime became a capital -- and how the same decree quietly rerouted a mountain of silver to go with it.

Chapters

  1. 0:00 Portugal attacks first
  2. 0:33 An empire panics
  3. 0:52 The war of 1762
  4. 1:19 Nine years of quiet buildup
  5. 1:43 A government that never existed
  6. 2:04 The largest fleet Spain ever sent
  7. 2:34 Taken without a fight
  8. 2:50 Colonia, one more time
  9. 3:11 A week, not longer
  10. 3:31 The treaty that undercuts the war
  11. 4:03 The port becomes the capital
  12. 4:25 The mountain changes sides
  13. 4:57 Eight months in office
  14. 5:19 The real architect
  15. 5:51 Free trade, 1778
  16. 6:20 The smugglers' route, with a stamp
  17. 6:46 Lima loses
  18. 7:10 Seven hundred percent
  19. 7:29 Who collected the growth
  20. 7:50 Richer, not more powerful
  21. 8:09 A footnote: the Falklands
  22. 8:32 The tension nobody named yet
  23. 8:56 A mountain and a port, one government
  24. 9:31 Two hundred fifty years later
  25. 9:48 Next: the viceroy runs

Transcript

Portugal attacks first 0:00

February, seventeen seventy-six. Two Portuguese fleets appear off Rio Grande de São Pedro and open fire. The Spanish garrison, fourteen hundred and fifty men against an army Portugal had spent nine years quietly building to six thousand, is forced to withdraw from the entire region. Madrid did not see this coming, and everything that follows, the new government, the biggest fleet Spain ever sent here, the mountain that changes hands without a single shot, starts as a scramble to answer for that.

An empire panics 0:33

Spain's answer was not more soldiers. It was an entire new government, and the biggest fleet it had ever sent to South America, to fight a war nobody in Madrid had started. This is how a smuggling port became a capital, in eighteen months, because an empire panicked.

The war of 1762 0:52

This had happened before. Fifteen years earlier, as one theater of the same global war that decided the fate of French Canada, Spain had conquered Colonia do Sacramento and four other Portuguese positions here, including Rio Grande de São Pedro. The peace treaty of seventeen sixty-three gave Colonia back. It let Spain keep the rest. Portugal never accepted that as final.

Nine years of quiet buildup 1:19

From seventeen sixty-seven on, Portugal built up an army on this frontier without announcing why. By February of seventeen seventy-six, that army moved. Two fleets under Robert MacDouall and Jorge Hardcastle shelled the fortress at Rio Grande. The Spanish garrison, outnumbered four to one, could not hold the line.

A government that never existed 1:43

On the first of August, seventeen seventy-six, a royal decree created something that had never existed: the Viceroyalty of the Río de la Plata. Its organizer was a soldier named Pedro de Cevallos, and his first job was not paperwork. It was to lead the fleet that would make the new government's borders real.

The largest fleet Spain ever sent 2:04

On the twentieth of November, over nine thousand troops left Cádiz under Cevallos, the largest expeditionary force Spain had ever sent to South America. Six ships of the line, each carrying sixty to seventy guns, six frigates, and more than a hundred transports, under the command of the Marqués de Casa Tilly. Against the fourteen hundred and fifty men who had been forced to retreat eight months earlier. This was not reinforcement. This was overwhelm.

Taken without a fight 2:34

The fleet reached South America in February of seventeen seventy-seven. On the twenty-third, it took the island of Santa Catarina without a fight. The Portuguese garrison saw nine thousand men arriving and left.

Colonia, one more time 2:50

Then Cevallos turned south, toward the city this whole story keeps returning to. On the twenty-third of May, seventeen seventy-seven, his forces laid siege to Colonia do Sacramento. It was, by now, at least the fourth time in a century this exact town had changed hands by force.

A week, not longer 3:11

The Portuguese garrison, seven hundred soldiers and three hundred sailors under Colonel Francisco José da Rocha, was already starving under blockade before the siege even started in earnest. On the third of June they surrendered. No siege of Colonia in this whole story has ever needed a second week.

The treaty that undercuts the war 3:31

The peace treaty came five months later, San Ildefonso, the first of October. And here is the part that undercuts the whole war. Spain gave Santa Catarina back. Spain recognized Rio Grande de São Pedro, the place Portugal had actually attacked, as Portuguese territory. What Spain kept was Colonia, the Banda Oriental, and the seven towns from the last episode. Which is exactly what it already held before the shooting started.

The port becomes the capital 4:03

On the fifteenth of October, in Buenos Aires, Pedro de Cevallos was formally invested as the first Viceroy of the Río de la Plata. The port episode six called illegal for a hundred years was now the capital of a territory organized into seven provinces, covering what is today Argentina, Uruguay, Paraguay, and Bolivia.

The mountain changes sides 4:25

And one of those seven provinces was Potosí. The mountain from episode four. Upper Peru, and the silver mines inside it, were cut away from the Viceroyalty of Peru and handed to this new one. Which means the exact metal that episode six's smugglers used to carry south to Buenos Aires, sin quintar, off the books, unstamped, now had a legal reason to travel that same road. The empire did not just legalize the port. It rerouted the mountain to match it.

Eight months in office 4:57

Cevallos held the office for about eight months. In June of seventeen seventy-eight he left for Spain. He died that December, at sixty-three. The man who organized the viceroyalty, led the largest fleet Spain had ever sent here, and took Colonia by siege, barely saw the government he built begin to function.

The real architect 5:19

The man who actually built it was his successor. Juan José de Vértiz y Salcedo, viceroy from seventeen seventy-eight to seventeen eighty-four, is the one historians call the true architect of this government. He created the intendancy system that ran it, opened customs houses to collect the new tariffs, built the city's first theatre, and ordered its first census. Buenos Aires, the village episode six described with no coin in circulation, counted about thirty-seven thousand people.

Free trade, 1778 5:51

Eighteen months after the decree that created the viceroyalty, Charles the Third signed the Reglamento de Comercio Libre. Thirteen Spanish ports opened to direct trade with the Americas, with almost the entire empire allowed to trade through them, Venezuela and Mexico the only exceptions. Tariffs dropped to four to seven percent. And Buenos Aires, which had never been allowed to trade directly with Spain at all, was on the list.

The smugglers' route, with a stamp 6:20

Look at what that actually legalized. Hides and tallow out, manufactured goods in, moving straight across the Atlantic instead of through Lima. That is not a new trade route. That is the smugglers' route from episode six, with a customs stamp on it. The empire spent two centuries prosecuting this exact exchange. Now it was collecting tax on it.

Lima loses 6:46

And remember who fought hardest against this route for two hundred years. Lima. The merchants who built a customs house at Córdoba in sixteen twenty-two specifically to tax goods coming up from Buenos Aires, back in episode six, lose here. Free trade did not just legalize the smugglers' road. It ended the monopoly the whole rivalry had been about.

Seven hundred percent 7:10

The result is measured. Trade through Buenos Aires grew seven hundred percent between seventeen seventy-eight and seventeen eighty-eight. Not from a new product. From legalizing an old one, and from a mountain of silver that now had a legal reason to come this way instead of Lima's.

Who collected the growth 7:29

Who collected that growth? Largely the same merchant families who had built their fortunes on contraband for two centuries. Their trade had a stamp now instead of a bribe. Networks that used to answer to nobody started answering to the new viceroyalty instead, and got richer doing it than they ever had smuggling.

Richer, not more powerful 7:50

But richer did not mean more powerful. The same reforms that legalized their trade also centralized administration into new intendancies staffed overwhelmingly by officials born in Spain. The merchants who now filled the treasury found the senior posts of the government they were funding closed to them.

A footnote: the Falklands 8:09

One more territory came bundled into this same office, almost as a footnote. Vértiz's own title listed him as governor of the Malvinas Islands too, what Britain calls the Falklands. The same viceroyalty built to keep Portugal out of this coastline was, on paper, already responsible for a British claim sitting inside its own waters.

The tension nobody named yet 8:32

That is the tension this episode leaves running. An empire that built its most powerful new capital in South America, staffed the government with its own men, and funded it with the wealth of a class it would not let govern, on a coastline it had just finished proving it could not fully defend. Nobody in seventeen seventy-eight called any of that a contradiction. It would take thirty years to.

A mountain and a port, one government 8:56

So what actually happened here? Not a defense of the border. Portugal attacked, Spain fought a war, and the treaty gave back almost everything Portugal wanted in the first place. What changed permanently was administrative, and it reaches back further than this episode. A silver mountain and a smuggling port, two separate crimes in two separate episodes, were placed under the same government and the same customs stamp. The empire did not defeat the smugglers. It hired them, and gave them the mountain to go with the port.

Two hundred fifty years later 9:31

One measure of how permanent this turned out to be: Buenos Aires is still the capital of Argentina today, two hundred and fifty years after Cevallos organized the territory around it. The war that built the capital is the one part of this story that never got undone.

Next: the viceroy runs 9:48

Next time on Codice: eighteen oh-six, thirty years after this viceroyalty was built to defend this port, a British fleet arrives to take it. The viceroy runs, with the treasury. And the city defends itself.

Description and sources

February 1776. Portugal, having quietly built an army on this frontier since 1767, attacks first -- shelling Rio Grande de São Pedro and forcing a heavily outnumbered Spanish garrison to withdraw from the entire region. Madrid's response is wildly disproportionate to a border skirmish: on the 1st of August 1776, a royal decree creates something that had never existed, the Viceroyalty of the Río de la Plata, and on the 20th of November over nine thousand troops leave Cádiz under Pedro de Cevallos -- the largest expeditionary force Spain had ever sent to South America.

The campaign is short and one-sided. Santa Catarina falls without a fight. Colonia do Sacramento -- the smuggling port from episode six, the treaty prize from episode seven -- is besieged in May 1777 and its starving garrison surrenders in June. And then the peace treaty undercuts the whole war: San Ildefonso, signed in October, gives Portugal back exactly what it attacked for (Santa Catarina, Rio Grande de São Pedro) and lets Spain keep exactly what it already held before the shooting started (Colonia, the Banda Oriental, the seven mission towns).

What actually changed was administrative, and it reaches back further than this war. Upper Peru -- Potosí, the mountain from episode four -- was cut away from the Viceroyalty of Peru and folded into this new one, rerouting its silver toward Buenos Aires instead of Lima. Eighteen months later, the Reglamento de Comercio Libre legalized, at a tariff of four to seven percent, almost exactly the trade episode six's smugglers had been running for two centuries. Commerce through Buenos Aires grew 700 percent in the following decade.

The empire did not defeat the smugglers. It hired them -- and gave them the mountain to go with the port. But the same reforms that made the merchant elite rich also centralized power in officials sent from Spain, closing the senior posts of the government they were funding. Nobody called that a contradiction in 1778. It would take thirty years to.

PRINT-READY, FROM THIS CHANNEL

The Document Set, Vol. 01 — Cajamarca 1532 and Buenos Aires 1595-1680 — the documents at reading size, with author, date, archive and licence

https://therepository.gumroad.com/l/document-set

SOURCES — every image in this video is a public-domain document.

Each plate below is listed with its author, date, holding archive and licence.

  • Kitchin, Thomas | Wikimedia Commons | Public domain
  • Varela y Ulloa, José — 1784 | Wikimedia Commons | Public domain
  • Antonio González Ruiz — 1760 | Wikimedia Commons | Public domain
  • Tomás López de Vargas Machuca | Wikimedia Commons | Public domain
  • Original: Juan de Garay. Reproducción: desconocido — circa 1580 | Wikimedia Commons | Public domain
  • William Faden — 1775, reprinted 1799 | Wikimedia Commons | Public domain
  • Pedro de Cevallos | Wikimedia Commons | Public domain
  • Sargent José Bermudez — circa 1713 | Wikimedia Commons | Public domain
  • Rigobert Bonne — 1780 (undated) | Wikimedia Commons | Public domain
  • L'Huillier de la Serre, Anne François Victor (1733-1790). Cartographe du modèle — 1765 | Wikimedia Commons | Public domain
  • Portugal and Spain — 1777 | Wikimedia Commons | Public domain
  • Bellin, Jacques-Nicolas (1703-1772). Cartographe — 1764 | Wikimedia Commons | Public domain
  • Martín Boneo y Villalonga — 1801 | Wikimedia Commons | Public domain
  • Panorama Villa Imperial de Potosí en 1758 por Gaspar de Berrio | Wikimedia Commons | CC0
  • Sainte Colombe, de (16..-16.. ; hydrographe). Cartographe — 1669 | Wikimedia Commons | Public domain
  • Sainte Colombe, de (16..-16.. ; hydrographe). Cartographe du modèle — 1734 | Wikimedia Commons | Public domain
  • Antoine de Favray — 18th century | Wikimedia Commons | Public domain
  • Jose Bermudes — 1713 | Wikimedia Commons | Public domain

... and 3 more plates, each credited on screen in the video and listed in this project's manifest.