Two security agents and two migrants were killed in a shooting in Loon-Plage near the northern city of Dunkirk, French media reported on Saturday, citing security sources.
A 22-year-old man turned himself in to nearby authorities following the shooting, saying he had been the attacker and had also killed a fifth person in a nearby town earlier that day, according to French media.
Authorities found three more weapons in the man's car, French media reported.
Representatives for the Interior Ministry and the Justice Ministry did not immediately respond to requests for comment. It was not immediately clear what the motives were for the shooting.
Loon-Plage, located about 10 kilometres from the English Channel, is the site of a migrant camp.

Hong Kong court finds tycoon Jimmy Lai guilty in landmark security trial
School bus accident in Colombia kills 17, injures 20
Father and son reported behind Bondi shooting that killed 15
Shooting at Australia's Bondi Beach kills 12
Police hold person of interest after Brown University shooting leaves two dead
Hamas says Israel's killing of senior commander threatens ceasefire
Ukraine's Zelenskyy ditches NATO ambition ahead of peace talks
Thailand declares curfew along coast as Cambodia border fighting spreads
