The Modesto (CA) Police Department on Friday released video footage of the night last month that Officer Michael “Mikey” Rokaitis was shot while serving a search warrant at a home.

The 21-minute video includes the shooting, a bloodied Rokaitis being pulled from a room and the frantic minutes that ensued inside the home, the Modesto Bee reports.

Police Chief Brandon Gillespie said in the video that Rokaitis has undergone seven surgeries since the shooting, including one to have part of his right leg amputated. He spent 12 days in the ICU but is now in stable condition.

The shooter, later identified as 42-year-old Jesse Collins James Brooks, is charged with three counts of attempted murder on a peace officer, multiple weapon violations and an outstanding warrant for violating probation.