Two children were among 10 people injured in a shooting at a street party in the Moss Side area of Manchester.
Armed police were called to Claremont Road at about 02:30 BST.
Police said nine victims, including two children over the age of 12, had “pellet-type wounds” that are not serious. A 10th person – a man – is in a serious condition with a broken leg.
The shooting took place at a party held after the first day of this weekend’s Caribbean Carnival in Alexandra Park.
Ch Supt Wasim Chaudhry, from Greater Manchester Police (GMP), said police believed the weapon used was a shotgun with “pellets in its rounds”.
He said those injured were aged between 12 and their 50s and mainly suffered injuries to their legs.
“Discharging a firearm… in as large a crowd as this is completely reckless,” he said.
“I think its more by luck than by anything else that people haven’t suffered life-threatening injuries,” he added, saying the motive remained unclear.
Police said they were treating the attack as the attempted murder of 10 people.
They have urged anyone with information to contact them.
Councillor Pat Karney said: “You can’t tar a whole community because of some idiotic behaviour.
“I think the fact that over 16,000 people came out to the carnival yesterday indicates the strength of the community here and their desire to celebrate their area.”
The Caribbean Carnival, which has been held every summer since 1972, draws thousands of people.
Residents said a street party was usually held in Claremont Road after the first day of events.
Youth worker Kemoy Walker, who had been on the main stage at the carnival on Saturday, said he had been at another street party in Claremont Road until about 23:30.
“The party I was at was beautiful,” he said.
“When I left there was lovely dancing. That’s Moss Side, that’s the culture. I’m in shock this morning.”
Organisers said Sunday’s carnival events would continue.
‘Michael’, a witness to the shooting
I was there enjoying the good vibes, having a drink, and then I noticed two crowds of youths gathering and I thought something might happen but I wasn’t expecting a shooting.
The next thing I heard was one gunshot, which I thought was a balloon or some kind of glass getting dropped, but then I heard two more and then there was a lot of panic.
I went behind a wall because I didn’t know whether it was the start of some kind of gun battle but I was safe.
There was a man surrounded by people and he was injured but luckily he was alive. He was able to walk to the ambulance.
It was quite a long time [before the police arrived] considering somebody had been shot but I think the ambulance was waiting for armed police – it was just informal security there – and then eventually the police did turn up.
This is just a street party – it’s nothing to do with the main carnival.
In fact, organisers advise people not to go to the street parties because they are not officially affiliated or sanctioned by carnival.
Greater Manchester deputy mayor Beverley Hughes said the shooting was “very upsetting and it causes a deal of distress and people feel that their reputation is challenged again”.
She added: “I think the carnival, as well as being two days of intense enjoyment for the community, is a really important statement about where that community has come… and so I think for it to be abandoned would be a very unfortunate message.”
Det Sup Debbie Dooley said: “The area is being searched and examined while we are also trying to speak to as many people as possible and are reviewing CCTV to get all the facts.”
Extra officers will be patrolling the area over the coming days to reassure the public, she added.
Since the 1980s, Moss Side has been associated with problems linked to drugs, gangs and violence.
Former police officer Martin Harding, who now works with local schools, said the number of shootings had significantly fallen in recent years.
At the scene: Anna Jameson, BBC Radio Manchester
The Caribbean Carnival was meant to be a celebratory event, especially given the 70th anniversary of the arrival of the Windrush generation.
Moss Side has done much work in the last few years to reinvent its image – in the past it had become notorious for violent crime.
The events overnight will be seen as absolutely shocking for the local community.
Officers will understand that and they will know there will be a lot of people who will be scared in their own homes – that is why they are putting on extra patrols over the coming days.
He said: “It’s another sign that some of the work in Moss Side – and neighbouring Hulme – is working because, going back, it used to be an almost a daily occurrence that there would be incidents of a similar nature taking place in the area.”
He said the area, where a new Manchester Metropolitan University building is based, had a “proud community” and there would be “lots and lots of disappointment” with the latest shooting.