A shocking video that showed a Palm Beach County sheriff’s detective shooting at his ex-girlfriend and killing himself was released by the Boynton Beach police on Friday.

Deputy Michael DeMarco is seen in the surveillance footage dressed on his sheriff’s uniform and driving his unmarked sheriff’s car. He approaches his ex-girlfriend and shoots her with a service pistol before committing suicide in a fit of rage. 

According to police documents cited by the  Palm Beach Post, DeMarco waited in his patrol car outside the Inlet Harbor Club condominium complex in Boynton Beach on Oct. 12 to confront Yuly Solano, who was walking her dog, Coco.

The Boynton Beach police released a package on Friday that included two surveillance videos provided by Inlet Harbor managers and taken from different angles, the Post said.

In one video that is one minute and 10 seconds long, Solano is seen walking her dog through the parking lot of the complex north of Gateway Boulevard just after 8 a.m. EST.

DeMarco then pulls up in his car and follows Solano as she walks away from him and they are removed from the view of the frame. When they come back on screen, Solano is seen with her hand to her face and DeMarco reappears with a gun in his hand.

According to the Post, the footage then jumps to Solano and DeMarco on the ground. Coco jumps on DeMarco’s body and the video ends. The area police said the skip in the video was how they received it and that they did not edit it.

In the other video which is 22 seconds long and shot from a different angle, DeMarco approaches her with his gun out.

New York Daily News reported that DeMarco said, “You treat me worse than a dog,” moments before he fired at Solano several times before he fired the gun in his chest and head.

Police arrived to find DeMarco dead, while Solano lay four feet away “screaming in pain and fear,” the documents said. She remains in the intensive care unit after being rushed to the hospital.

A GoFundMe was set up by Aryana Solan o’s daughter, to ask for donations for her mother’s treatment. Aryana said Solano was shot four times during the incident. Solano faces several surgeries, according to friends who spoke to the  Sun Sentinel.

New York Daily News also said DeMarco had harassed her emails and with constant phone calls after they broke up because Solano felt he was being racist and possessive, according to police reports.

The officer also reportedly filed a civil lawsuit against her to get money for furniture because he did not want "to have another man sleep on the mattress that he purchased for them.”

The Daily Mail reported that Solano who is now slowly recovering was now planning on suing the condominium association where the shooting took place

In her claim, she stated that she asked for protection and begged Inlet Harbor to put DeMarco on notice. She believed him to be mentally unstable and knew he was armed and feared her own and her daughter's safety.

However, Solano said, representatives of the association did not act or report her fears to the police as legally required.