A robbery suspect was shot and killed by police near Dallas, Texas, Friday after taking a female hostage.

Two Irving police officers respond to a robbery in the afternoon when the suspect took a female hostage and threatened her with a handgun if cops didn’t back down, KDFW-TV reported.

Video captured the harrowing scene that unfolded next.

One of the officers fired a single shot that struck the suspect in the head killing him and causing him to fall to the ground. The hostage escaped with no physical injuries.