Ten people are in hospital after shots were fired in the Moss Side area of Manchester.
Greater Manchester Police said victims suffered “minor to major injuries”.
Armed police were called to the shooting in Claremont Road, at the junction of Cowesby Street, at about 02:30 BST.
Several people were in the area following the Caribbean Carnival, which had finished some hours before, the force said.
On Sunday morning litter was strewn across Claremont Road, including empty drink bottles, food wrappers and nitrous oxide canisters.
Residents said a street party was held annually on the road after the carnival in nearby Alexandra Park.
Moss Side anti-violence campaigner Dr Erinma Bell told the BBC she understood the shooting had been carried out by one man, who had been firing pellets.
Police have not confirmed how many people were involved or what sort of gun was used.
Det Sup Debbie Dooley said: “We currently have a number of people in hospital all being treated for different injuries, but thankfully most do not appear to be life-threatening at this time.
“Officers are trying to establish exactly where this incident took place and who is responsible for such a dangerous attack.”
Extra officers will be patrolling the area over the coming days to reassure the public, she added.