STATEN ISLAND, N.Y. -- A man lying unconscious on the pavement as an NYPD officer desperately performs chest compressions.

Another officer with a look of panic and blood flowing from her hand as she is escorted to a nearby police vehicle.

Several bystanders mixed in with the chaos, some capturing the incident on camera phones while one person calls for an ambulance to treat the man who is shot.

Witness accounts and video obtained by the Advance depict a frenzied and tense scene Tuesday on Prince Street in Stapleton moments after a gunfire exchange in which a man identified by sources as 39-year-old Gregory Edwards was shot and killed by cops, and an officer with the 120th Precinct suffered a gunshot wound to the hand.

VIDEO FOOTAGE

Footage provided to the Advance begins just seconds after the shooting, which occurred at about 8:45 a.m.

The four-minute, 35-second video opens with the injured police officer clutching her bleeding hand as she is escorted into an NYPD squad car at the 10-second mark.

As the footage pans left, a police officer can be seen on his knees performing chest compressions on Edwards, lying motionless on the ground.

Police attempt to push back a crowd of onlookers, and a tense situation unfolds, with many videotaping and screaming at the officers.

The crowd questions where the ambulance is and objects to officers’ attempts to push them back.

At the four-minute mark, an EMS gurney is wheeled into the frame.

A few seconds later, the suspect is wheeled to a waiting ambulance.

27 NYPD officer shot in Stapleton

PRESS CONFERENCE

At a press conference within hours of the shooting at Richmond University Medical Center in West Brighton, NYPD Commissioner James O’Neill said the officer who was shot and her partner responded Tuesday morning to a report of a past domestic assault.

The relationship between the alleged suspect and the domestic violence victim is unclear, but police spotted him during a canvas with the victim.

Officers approached Edwards, who immediately became combative, prompting officers to deploy a taser, said O’Neill.

Edwards allegedly drew a firearm, then officers grabbed his arm as two gunshots were fired from the suspect’s gun. Police then fired three times, which proved fatal for Edwards.

The injured officer was struck in the hand by one of the bullets, police said.

The NYPD released a body-camera photo of Edwards holding a gun, as well as a close up of the pistol on the ground.

O’Neill said Edwards has "a history of committing violent crimes, including domestic assault and weapons charges."

He was previously convicted of a shooting on Staten Island and served five years in prison, O’Neill said.

WITNESS ACCOUNT

Stapleton resident Dominisha Dale, 30, told the Advance she heard several gunshots from a block away and began running toward the scene. A man running toward her along Vanderbilt Avenue said, “'They just shot that n----- down.'”

She turned the corner onto Prince Street, where she said many of the police officers and witnesses appeared to be “shaking,” and looked “scared and nervous.”

“It’s crazy, because it happened in front of his friends sitting beside him,” said Dale.

Dale said she recognized Edwards as someone she’d wave hello to when passing by a house on Prince Street, where friends said he and others often hung out.

Edwards, a father of at least one child, recently got off work at Amazon and went to hang out with friends, according to friends and neighbors at the scene.

“Everybody goes through bad s--- in their life,” said Eric Marshal, 36. “At this age (he) just wanted to work and relax.”

A neighbor said she returned home from a night shift Tuesday morning in the midst of a massive police response, and a section of Stapleton shut down to traffic.

She said the “big guns” carried by NYPD tactical units and the crowd of onlookers was alarming, saying “I’ve never seen anything like this before.”