Shootings across the city injured at least 16 people last night, nearly half of whom were attending the same barbecue in Bedford-Stuyvesant, police said.

The shooting that injured seven took place at about 11:30 p.m. outside an apartment building on Chauncey Street, according to the NYPD. Four men and three women, all in their late teens and early twenties, were wounded, shot variously in the hand, shoulder, back, cheek, arm, and leg. They were taken to local hospitals, and are all expected to survive, according to police.

"It was just a bunch of teens," one of the victims' fathers told the Daily News. "As soon as the fireworks stopped, the gunfire started."

It appears the shooting started after a man was turned away from the barbecue the group was having outside their building. Police said that a 21-year-old man is in custody, and charges against him are pending.

Authorities think that the barbecue shooting on Chauncey Street may have been linked to a 9:30 p.m. shooting nearby, when a 22-year-old man was shot in the chest near the intersection of Chauncey and Broadway.

Also in that area, at about 10:15 near Cooper Street and Wilson Avenue, an 18-year-old was shot five times in the chest, police said. He was taken to a nearby hospital and is stable. No arrests have been made yet, but the NY Post reports it may have been a drive-by shooting.

Then, at about 11:15 p.m., a 22-year-old man was shot in the leg while walking down the street near St. Johns Place and Franklin Avenue. He's stable, and no arrests have been made in that case, either. And earlier last night, at about 5 p.m., a 24-year-old was shot twice in East Flatbush, police said. He's also stable, and similarly no arrests have yet been made.

Just past midnight, a man was shot near Ocean Avenue and St. Paul's Court in Flatbush. Also around that time, a woman walked into Kings County Hospital with a gunshot wound, but police don't yet know where the shooting occurred. According to the NYPD, both of those victims are stable and no arrests have been made.

Last night's shootings weren't confined to Brooklyn: At about 8:15 p.m., a 20-year-old was shot near East 116th Street and Pleasant Avenue in East Harlem. The bullet hit him in the side of the head, but police said that he's expected to survive. No one's been arrested in that shooting.

And just past midnight in the Morrisania section of the Bronx, a man was shot in the leg, police said. He's stable, and no arrests have been made.

At about 12:45 a.m., a man was shot in the hand in Richmond Hill, Queens, and walked into Jamaica Hospital, police said. He was stable as of this morning, and no one has been arrested.

Including walk-ins to hospitals in Staten Island and Brooklyn, police say that there may have been as many as 20 people shot last night, though the details of those walk-in cases aren't yet clear. We'll update if more information becomes available.

Last year, a teenager was arrested for shooting up a 4th of July barbecue in a Brooklyn park. Despite yesterday's violence, shootings are down so far this year compared to last year, by roughly 18%, according to the most recent NYPD crime statistics.