Stunning, Just Released Footage of Wild Shootout That Left Gunman Dead and a Police Officer Wounded (Warning: GRAPHIC)Florida prosecutors on Thursday unveiled shocking surveillance footage of a deadly police shootout that left the gunman dead and an officer seriously injured.

The Miami Herald reported the shooting happened outside a marijuana growhouse in Westchester, Fla. last July, but it’s the first time the footage has been made public.

According to the newspaper, police had arrived to search the house, unaware that the homeowner, Gerard Delgado, had just stepped outside and into his tinted BMW moments before. When officers began speaking with another man from the house, Luis Estevanell, Delgado burst out of the car and started shooting.

As the officers returned fire, Delgado, behind a tree in the driveway, was shot in the head by a police bullet. The gruesome footage captures him in the last moments of his life. Miami-Dade Detective John Saavedra was shot three times in the stomach, but was treated and released from the hospital.

According to the Herald, police discovered 80 pounds of marijuana in the house.

Prosecutors played the footage during a bail hearing for Estevanell, who is charged with cocaine possession, marijuana trafficking and second-degree felony murder — applicable because of a state law that makes anyone who commits a felony in which a death occurs eligible for murder charges.

Watch the surveillance footage below. ​***CONTENT WARNING: GRAPHIC***