PRAGUE — The European Parliament elections shifted to the Czech Republic, Slovakia, Malta and Latvia on Saturday as voters in those European Union nations took part in a landmark ballot in which resurgent nationalists are challenging traditional parties over the future of Europe.

The stakes for the EU are especially high in this year's vote, which is taking place in all of its 28 nations from Thursday to Sunday. Voters are electing 751 lawmakers, with each nation apportioned a number of seats based on its population, for a legislature that increasingly affects the everyday lives of ordinary Europeans.

Anti-immigrant and far-right groups are hoping to gain ground in the European Parliament and use it to claw back power from the EU for their national governments. Moderate parties, on the other hand, want to cement closer ties among countries in the EU, which was created in the wake of World War II to prevent renewed conflict.

"We stand at a crossroads — that is, whether the EU is going to be stronger and more integrated or, quite the contrary, a process of its weakening is to begin," Zuzana Caputova, Slovakia's president-elect, told reporters after voting in the town of Pezinok.

A Slovak far-right party that openly admires the country's wartime Nazi puppet state could win seats in the European Parliament for the first time. Its members use Nazi salutes, blame the Roma minority for crime, consider NATO a terror group and want the country to leave the western military alliance and the EU.

Polls in Slovakia favor the leftist Smer-Social Democracy party, the senior member of Slovakia's current coalition government, to win the most votes. But the polls also suggest that the far-right People's Party Our Slovakia will win seats in the European legislature for the first time.

In neighboring Czech Republic, a centrist party led by populist Prime Minister Andrej Babis expected to win the most votes, despite the fact that Babis is facing fraud charges involving the use of EU funds. Babis wants his country to remain in the bloc but is calling for EU reforms.

Meanwhile the Czech Republic's most ardent anti-EU group, the Freedom and Direct Democracy party, is predicted to capture its first seats in the EU legislature.

Britain, Ireland and the Netherlands have already voted this week, and the rest of the EU nations will vote Sunday. Official results will only be released Sunday night after all polls close.

The legislature affects Europeans' daily lives in many ways: cutting smartphone roaming charges, imposing safety and health rules for industries ranging from chemicals and energy to autos and food, supporting farming and protecting the environment.

Voting in the Netherlands may have already produced a surprise. An Ipsos exit poll forecast a win for the Dutch Labor Party, and predicted that pro-European parties would win most of the Netherlands' seats instead of right-wing populist opponents.

In Ireland, early vote counts and an exit poll suggest that the Green Party is gaining strength as it challenges three larger parties in both local and European Parliament elections.

In the Irish votes on Friday, an exit poll of more than 3,000 voters showed that Ireland's top two parties — the governing party Fine Gael and the more conservative opposition party Fianna Fail — are running neck and neck, followed by the nationalist Sinn Fein party and the pro-environment Greens. Early vote counts on Saturday in Ireland's local election confirmed these trends.

Vote counting in the European Parliament races will begin Sunday morning.

Overall, the European Parliament's traditional political powerhouses are expected to come out with the most votes. But the center-right European People's Party and the center-left Socialists & Democrats look set to lose some clout and face their strongest challenge yet from an array of populist, nationalist and far-right parties.

Those upstart parties hope to emulate what President Donald Trump did in the 2016 U.S. election and what Brexiteers achieved in the U.K.: to disrupt what they see as an out-of-touch elite and gain power by warning about migrants massing at Europe's borders ready to rob the continent of its jobs and culture.

The traditional parties warn that this strategy is worryingly reminiscent of pre-war tensions, and argue that unity is the best buffer against the challenges posed by a world in which China, the U.S. and Russia are all flexing their economic and military prowess.