Harrowing video released by police on Wednesday shows the moment a masked gunman in the Bronx chases down his fleeing target — and starts blasting away.

The gunman is seen on video chasing after a 27-year-old man and firing shots as he crosses the street and closes in on him near Stratford and Westchester avenues on Monday around 4 a.m.

As the Bronx-bred victim falls to the ground in front of the camera, his attacker follows behind and shoots at him several more times, the surveillance footage shows. The wanted man fled east on Westchester Avenue.

The victim was taken to Jacobi Medical Center in critical but stable condition, with injuries to his face, right buttocks and right foot, cops said.

Police said the incident is believed to be gang-related.