BUENOS AIRES, Argentina (AP) — Frustrated voters in Argentina weighed whether to hand the presidency to a right-wing populist who has shaken up the political system and pledges to drastically overhaul the state if he wins an election taking place Sunday.

Javier Milei, a self-described anarcho-capitalist who admires former U.S. President Donald Trump, sent shockwaves through the nation after receiving the most votes in the August primaries. The chainsaw-wielding economist and first-year lawmaker has said he will slash public spending, halve the number of government ministries, eliminate the central bank and replace the local currency with the U.S. dollar.

He first made a name for himself with angry tirades blasting what he calls the “political caste” on television, and has gained support from Argentines struggling to make ends meet amid annual inflation of 140% and a rapidly depreciating currency. His platform also calls for reshaping Argentine culture, and he casts himself as a crusader against the sinister forces of socialism at home and abroad.

“Argentina is in for a wild ride,” Benjamin Gedan, director of the Latin America program at the Washington-based Wilson Center, said. “The most likely scenario is rather worrisome: a polarized society, divided Congress, combative and inexperienced leader and an economy hurtling toward an abyss.”

Polls opened at 8 a.m. (1100 GMT) and close 10 hours later. Voting is conducted with paper ballots, making the count unpredictable, but initial results were expected around four hours after polls close.

Pre-election polls, which have been notoriously unreliable, gave Milei a slight lead that would be insufficient to avoid a runoff in November. In order to win outright, a candidate has to receive 45% of the vote, or 40% and a 10-point difference with the runner-up.

Whatever the results, Milei has already inserted himself and his libertarian party into a political structure dominated by a center-left and a center-right coalition for almost two decades.

Former Security Minister Patricia Bullrich of the main opposition coalition battled Milei for right-wing support and argued her team had the necessary connections and experience negotiating legislation to bring about the change the country needed.

Economy Minister Sergio Massa, a leading figure in the center-left administration in power since 2019 and in second place in most polls, sought to rally support despite the fact inflation has soared on his watch. He blamed recent troubles on a historic drought that decimated exports and said he prevented things from getting worse.

“The worst is over,” Massa often said at his rallies.

On the streets of Argentina, citizens are skeptical of that, and they are bracing for impact. Those with any disposable income are snapping up goods in anticipation of a possible currency devaluation. The day after the primaries, the government devalued the peso by nearly 20%.

Argentines were also buying dollars and removing hard currency deposits from banks as the peso accelerated its already steady depreciation.

Massa and Bullrich focused much of their firepower in the campaign’s final days on warning voters against electing Milei, painting him as a dangerous upstart. Massa in particular said that Milei’s plans could have devastating effects on social welfare programs, education and health care.

The health, education and social development ministries are among those Milei wants to extinguish.

Milei characterized his two main opponents as part of the entrenched and corrupt establishment that brought South America’s second-largest economy to its knees. That message resonated among many Argentines who watched their economic prospects wither under successive administrations in which both Massa and Bullrich served.

Running as an anti-establishment candidate, Milei became the undisputed star of the election campaigning. So many people surrounded his vehicle as he approached his polling station that he needed a phalanx of bodyguards. Groups of supporters threw flower petals on his car and sang “Happy Birthday.” He turned 53 on Sunday.

“First round, damn it!” supporters chanted as Milei left the polling station.

Julieta Le Bellot, a 34-year-old student, was waiting for her boyfriend to vote and couldn’t believe her eyes as people waited for Milei to arrive.

“That there are so many people who have come to see him is something I don’t understand,” she said, noting that she intended to vote for Massa because “he’s the least worst” option.

But for Ignacio Cardozo, 20, casting his ballot for Milei was a vote of hope. “I’m young, and I want a different Argentina for when I grow up, for my children,” he said before voting in a middle-class neighborhood of Buenos Aires.

Milei has also railed against what he called the “socialist agenda.” He opposes sex education, feminist policies and abortion, which is legal in Argentina. He called the notion of social justice “an aberration” and disputed that humans have had a role in causing climate change.

“What madness are we living in? The madness of stupid political correctness where, basically, if you don’t recite the ‘cool socialism,’ if you aren’t ‘woke,’ then you’re violent, you’re a danger to democracy,” he said in a television interview last month.

Cristian Ariel Jacobsen, a 38-year-old photographer, said he voted for Massa in hope of preventing Milei’s victory and his “project that puts democracy at risk.”

Martín Leguizamón, a 73-year-old retiree, said after casting a ballot in Buenos Aires that he supported Bullrich because she’s “the only one who has the ovaries to bring order.”

As a rising star in the global culture wars, Milei received support from several like-minded leaders, including Brazil’s former far-right president, Jair Bolsonaro. Bolsonaro’s lawmaker son, Eduardo, planned to follow the election from Milei’s campaign headquarters along with several leaders of Spain’s far-right Vox party.

Like Trump and Bolsonaro, Milei already cast doubt on the electoral system. He said fraud cost him as many as five points in the primaries, although he never filed a complaint in court. Political analysts warned that Milei could be setting the stage to question the results of Sunday’s election.

The election comes at a time when several Latin American countries have seen elections marked by anti-incumbent sentiment and political outsiders amid general discontent over the economy and crime. Daniel Noboa, an inexperienced politician who is the heir to a banana fortune, won the presidency in Ecuador earlier this month.

___

Associated Press photographer Natacha Pisarenko contributed to this report.