Police have arrested a suspect in a Tampa, Florida shooting on Sunday that killed two people and left 16 others injured after a dispute between two people that resulted in "senseless" gunfire, police said.

The shooting happened just before 3 a.m. near a strip of bars and clubs in the 1600 block of East 7th Avenue in the Ybor City neighborhood.

On Sunday afternoon, Tampa Police Chief Lee Bercaw told reporters 22-year-old Tyrell Steven Phillips had been arrested and charged with second-degree murder with a firearm, in connection with the overnight shooting.

FLORIDA SHOOTING LEAVES AT LEAST 2 DEAD, 18 INJURED DURING HALLOWEEN CELEBRATIONS

Tyrell Phillips mugshot

Tyrell Phillips booking photo (Hillsborough County Sheriffs Office)

Bercaw credited the arrest to the many tips from the community.

During the incident, a 14-year-old black male and 22-year-old white man were killed.

Sixteen others were injured, 15 of whom suffered injuries from gunshot wounds.

RAGING PORTLAND DRIVER RIPS THROUGH ROSE PARADE IN FURIOUS VIDEO

police officer walking to vehicle

It was unclear what led to the fight before the shooting. (FOX13 Tampa WTVT)

Bercaw told reporters the majority of the victims, who were between 18–27 years old, had been released from the hospital. Five remained with non-life-threatening injuries.

Footage captured from surveillance cameras is being reviewed and could lead to the arrests of additional shooters, according to the chief.

"What happened is completely unacceptable and the Tampa police department is not going to tolerate it," Bercaw said. "We make arrests quickly. We have a sense of urgency. And if you’re going to be out there with a gun, you’re going to pay for it."

FLORIDA GIRLS HIDE FROM SHOTGUN-WIELDING MAN WHO ENTERS HOME: VIDEO

police car, officers at scene

At least two people were killed and 18 more hospitalized with injuries, police said. (FOX13 Tampa WTVT)

Video posted online shows people in Halloween costumes drinking and talking on the street when shots ring out, triggering a stampede. Some people topple over metal tables and take cover behind them. Video from the aftermath shows police officers treating several people lying wounded on the ground.

Some officers were on the scene at the time of the shooting, but none were injured, Bercaw said.

CLICK TO GET THE FOX NEWS APP

The circumstances that led to the fight remain under investigation.

Stephen Sorace of Fox News Digital contributed to this report.