By CBS 2 Chicago Staff

CHICAGO (CBS) — CBS 2 has dramatic bodycam video showing the moments a Chicago police officer shot and killed a man who shot a Home Depot security guard and police.

In the video you can hear gunman Travon Chadwell shooting at police.

READ MORE: Student And Staff Data From Area School District Were Dumped On The Dark Web, And Parents And Staffers Had No Clue

Moments before shooting Chadwell, the officer took cover behind a fence, waiting for the right moment to open fire.

READ MORE: Chicago Weather: Cold Front On The Way

It all started when Chadwell shot a security guard after shoplifting the Home Depot in the Back of the Yards neighborhood in late March.

MORE NEWS: Protesters Say Benet Academy In Lisle Rescinded Lacrosse Coach's Job Offer Because She Is A Lesbian

Chadwell then tried to escape, but ended up in the shootout with police. The officer who was hit by gunfire was released from the hospital that night.

CBS 2 Chicago Staff