Confounding many expectations, mainstream conservatives prevented the far-right National Front from breaking through in local elections seen as a test of faith in France's battered political system.
In the first of two rounds, a centre-right bloc headed by former President Nicolas Sarkozy led the pack with about a third of the vote, according to exit polls.
Left-wing parties and the anti-immigrant, anti-Europe National Front (FN), each had about a quarter of the vote. The outcome enabled the FN to claim it was continuing its onward march, by duplicating its score last year in elections to the EU - a shock that prompted anguished scrutiny of the country's traditional politics. But the result fell short of the 30 per cent mark that opinion pollsters had been predicting, and the FN itself had predicted it would emerge as the "first party of France".
"Tonight, the far right, even if it is too high, is not France's leading political party," Prime Minister Manuel Valls, a Socialist, said tartly.
Sarkozy declared that his bloc was the true voice of France's conservatives and moderates. He is staking much on the cantonal (local) elections to power his return to the presidency in 2017.