LIEURON, FRANCE -- Some 2,500 partygoers attended an illegal New Year rave in northwestern France, violently clashing with police who failed to stop it and sparking concern the underground event could spread the coronavirus, authorities said Friday.

The revellers had set up the illegal rave in Lieuron south of Rennes in Brittany after skirmishes with police, said a statement from the local prefecture. Many were still on the site Friday as a sanitary cordon was thrown up around it.

Local gendarmes tried "prevent this event but faced fierce hostility from many partygoers" who set one of their cars of fire and threw bottles and stones, it said.

Those present had come from across France and even abroad, it said.

Such mass gatherings are strictly prohibited across France to prevent the spread of COVID-19 and a nationwide 8:00 pm curfew -- which was not lifted for New Year -- applies across the country.

Reports said that the rave party took place in a empty warehouse belonging to a storage company.

Prosecutors have opened an investigation into the illegal organisation of a musical gathering and premeditated violence against persons in authority.

Vehicles registered from all over France were still parked at the site Friday and many revellers were present as techno music thudded away, an AFP journalist said.

'LITTLE SOCIAL DISTANCING'

Participants interviewed by AFP said that the revellers had included partygoers from foreign countries, including Spain and Britain.

One participant, who gave his name as Jo from the Alsace region of eastern France and refused to be identified further, said they had all met at a meeting point on Thursday evening in the parking lot of a shopping centre.

Then the convoy headed for Lieuron where the police tried to prevent them from passing, he said.

He acknowledged that "very few had respected social distancing" at the event, which was supposed only to end later on Saturday.

French authorities have been particularly concerned about mass wildcat rave parties throughout the pandemic but New Year's night was a particular concern.

In the southern city of Marseille, security forces halted an illegal party grouping some 300 people, police said. Over 150 people were warned and the three suspected organisers have been arrested.

Interior Minister Gerald Darmanin said that 132,000 police had been deployed across France for the New Year celebrations to ensure security and that the curfew was respected.