A male was shot near Yonge and Dundas Square in the early morning hours on Friday as Raptors fans celebrated the team's first NBA title deep into the night.

The shooting occurred around 4:17 a.m. at the intersection of Yonge and Gould streets, just north of the square, according to Toronto police.

Hundreds of fans were still out on downtown streets relishing the Raptors historic win in Game 6 of the NBA Finals over the Golden State Warriors.

The victim sustained "serious to life-threatening injuries," police said. The person was transported to a hospital for treatment. Police had no further information about the victim.

This is the shooting scene on Yonge at Gould. One male taken to hospital with life threatening injuries. Up to 7 persons of interest in custody and at least 1 firearm recovered. Police don’t know if there is any connection to the celebrations. <a href="https://t.co/rgb6n0XLXy">pic.twitter.com/rgb6n0XLXy</a> —@LindaWardCBC

Seven people were taken into custody in connection with the shooting and one firearm was recovered. It's unclear exactly how the incident unfolded, though police said they received a call about an altercation and the sound of gunshots.

Several police cruisers and TTC transit buses were also damaged during the street celebrations.