Some in the crowd then threw eggs at the bar guarded by riot police in the south-western town of Bayonne.
Nicolas Sarkozy described the protesters – Basque nationalists and supporters of his rival Socialist candidate Francois Hollande – as “hooligans”.
The president left the bar after about an hour.
The Basque region straddles south-western France and northern Spain.
Some chanted “Nicolas kampora”, which in the Basque language meant “Nicolas get out”.
Nicolas Sarkozy was also showered with campaign leaflets calling for greater Basque autonomy.
Riot police had to be deployed around the Bar du Palais, where the president took refuge.
Visibly angry, Nicolas Sarkozy later denounced “the violence of a minority and their unacceptable behavior”.
“Here, we’re in France, on the territory of the French republic, and the president of the republic will go everywhere. And if that doesn’t please a minority of troublemakers, too bad for them,” Nicolas Sarkozy said.
The president also said he was “saddened to see Hollande’s Socialist militants associating with [Basque] separatists in violent protests to terrorise ordinary people who want just one thing: to meet and talk with me”.
A senior member of Francois Hollande’s campaign team later said that while the party leader condemned any violence, no Socialist was involved in the Bayonne incident, the AFP news agency reports.
Opinion polls show that Nicolas Sarkozy is lagging behind Francois Hollande, although the current president is narrowing the gap.
Ydtnk3qp_wIMisleading allegations, rumours and outright lies about voting and fraud are flooding online spaces in…
At least 158 people have died in Spain's worst flooding disaster in generations. On October…
Google has been fined two undecillion (a two followed by 36 zeroes) roubles by a…
Embarking on a home remodel is an exciting journey, promising enhanced comfort, increased property value,…
The US presidential candidates continued to campaign across key swing states on October 20. Footage…
Elon Musk has said he will give away $1 million a day to a registered…