A 51-year-old man has died in a pileup involving nine motorcycles and an RV near a campground in New Brunswick.

Edmundston police say eight men and a woman, all of whom were driving motorcycles, also suffered injuries in Friday night's crash and are in hospital.

Police say the male motorcyclists involved in the crash were members of various biker groups such as Hells Angels, Red Devils and Dark Siders.

According to police, the crash occurred on Highway 144 as the motorcyclists tried to pass the RV while it was preparing to turn into the St-Basile campsite entrance.

Police say in an attempt to avoid hitting the fifth wheel, the motorcycles came in contact with each other creating a "domino effect."

They say the deceased rider, a man from Boisbriand, Que., came in contact with the RV.