On Wednesday, Aug. 14, a group of Philadelphia narcotics officers approached a home with a warrant on the 3700 block of North 15th Street of the Tioga section of the city. In search of drugs at a suspected stash house, police found a man armed with an AR-15 assault-style rifle. During the nearly 8-hour shootout and standoff that ensued, six officers were shot and two others trapped inside the home with the gunman, identified as 36-year-old Maurice Hill of Philadelphia.

After SWAT teams helped to extract the trapped officers and officials spent hours negotiating with Hill, police resorted to tear gas to oust the gunman from the home. With his arms raised and a handgun in his pocket, Hill surrendered to police around midnight. He was taken to the hospital, treated for injuries, then jailed. All of the injured officers were treated at hospitals and released the night of the shooting.

"For a long time last night, I know our collective hearts were in our throats,” Police Commissioner Richard Ross later told reporters. “I did not think it would end nearly the way it did.”

The above video, provided by homeowner Eric Garrity, was captured by a Ring motion-activated doorbell camera at the house across the street from the standoff and includes portions not previously made public. Because the camera is activated by movement, the recording starts and stops frequently, creating gaps in the footage.

More on Wednesday’s police shooting: