Gunfire broke out in Bushwick early this morning when cops shot a man suspected of shooting another man in the arm. Police say it started shortly after 1 a.m. when plainclothes officers assigned to the 83rd Precinct's Anti-Crime unit "discovered" a 52-year-old man in front of 1266 Madison Street bleeding from a bullet wound in his arm.

The victim gave officers a description of the shooter, and the officers quickly caught up to the suspect as he tried to flee the area. As they drew close, police say the suspect turned toward officers on Jefferson Avenue between Evergreen Avenue and Bushwick Avenue and opened fire, discharging multiple rounds and hitting their vehicle.

UPDATE 10:49 a.m.: Security camera footage shows the chaotic scene, with gunfire audibly erupting at approximately 17 seconds in:

Cops fired back and chased the gunman as additional uniformed officers arrived at the scene, shooting him in the left calf. He was apprehended on Jefferson between Bushwick and Broadway.

"I was in my bed texting and I hear crack-crack-crack," says local resident Pete Jensen, who lives at Broadway and Jefferson. "I thought maybe it was fireworks. But then, ten seconds later, I hear crack-crack-crack-crack-crack-crack-again. I'd say at least ten shots rang out. I immediately ran to the window, and then outside, and there was a guy bloody on the sidewalk."

Here's the scene this morning, where police have cordoned off the area:

Live scene #brooklyn #nyc #shooting

A photo posted by Pete Jensen (@petejensen845) on

Police say a .40 caliber Taurus Millennium firearm was found near the suspect, who was taken to Elmhurst hospital in stable condition. The original shooting victim is also hospitalized in stable condition. None of the cops were shot, but six officers were treated for tinnitus.

Witnessed the craziest shoot out in Bklyn last night -- only picture I got before cops cleared the block

A photo posted by Bruce Labounty (@brucelabounty802) on

No charges have been filed yet, and the investigation is ongoing.