AUGUSTO PINOCHET, who died Sunday at the age of 91, has been vilified for three decades in and outside of Chile, the South American country he ruled for 17 years. For some he was the epitome of an evil dictator. That was partly because he helped to overthrow, with U.S. support, an elected president considered saintly by the international left: socialist Salvador Allende, whose responsibility for creating the conditions for the 1973 coup is usually overlooked. Mr. Pinochet was brutal: More than 3,000 people were killed by his government and tens of thousands tortured, mostly in his first three years. Thousands of others spent years in exile.

One prominent opponent, Orlando Letelier, was assassinated by a car bomb on Washington's Sheridan Circle in 1976 -- one of the most notable acts of terrorism in this city's history. Mr. Pinochet, meanwhile, enriched himself, stashing millions in foreign bank accounts -- including Riggs Bank, a Washington institution that was brought down, in part, by the revelation of that business. His death forestalled a belated but richly deserved trial in Chile.

It's hard not to notice, however, that the evil dictator leaves behind the most successful country in Latin America. In the past 15 years, Chile's economy has grown at twice the regional average, and its poverty rate has been halved. It's leaving behind the developing world, where all of its neighbors remain mired. It also has a vibrant democracy. Earlier this year it elected another socialist president, Michelle Bachelet, who suffered persecution during the Pinochet years.

Like it or not, Mr. Pinochet had something to do with this success. To the dismay of every economic minister in Latin America, he introduced the free-market policies that produced the Chilean economic miracle -- and that not even Allende's socialist successors have dared reverse. He also accepted a transition to democracy, stepping down peacefully in 1990 after losing a referendum.

By way of contrast, Fidel Castro -- Mr. Pinochet's nemesis and a hero to many in Latin America and beyond -- will leave behind an economically ruined and freedomless country with his approaching death. Mr. Castro also killed and exiled thousands. But even when it became obvious that his communist economic system had impoverished his country, he refused to abandon that system: He spent the last years of his rule reversing a partial liberalization. To the end he also imprisoned or persecuted anyone who suggested Cubans could benefit from freedom of speech or the right to vote.

The contrast between Cuba and Chile more than 30 years after Mr. Pinochet's coup is a reminder of a famous essay written by Jeane J. Kirkpatrick, the provocative and energetic scholar and U.S. ambassador to the United Nations who died Thursday. In "Dictatorships and Double Standards," a work that caught the eye of President Ronald Reagan, Ms. Kirkpatrick argued that right-wing dictators such as Mr. Pinochet were ultimately less malign than communist rulers, in part because their regimes were more likely to pave the way for liberal democracies. She, too, was vilified by the left. Yet by now it should be obvious: She was right.