Dramatic body camera footage shows Atlanta police officers rescuing a man from a burning car after it struck a metal utility pole and burst into flames.

According to authorities, the incident occurred at approximately 4:00 a.m. on Sunday on Lenox Road near State Route 400.

Passersby tried to pull the occupants from the burning car, but the front passenger was stuck inside, police said.

In the video, officers can be seen attempting to pry the door open and using a fire extinguisher to battle the flames.

They eventually were able to free the man through the rear driver's side door.

MUST-SEE: Retiring Officer Surprised by Son During Emotional Final Radio Call

Bongino on Chicago Gun Violence: 'It's Time to Let Cops Be Cops'

Officials said three people were taken to the hospital, and one officer walked away with minor scrapes and bruises.

The Atlanta Police Department released a statement praising the officers.

We are extremely proud of the actions of these officers. They acted quickly and with determination and ultimately were able to remove the passenger before he sustained further injury. We are also thankful for the actions of the citizens who stopped and assisted immediately after the accident. This accident could have been much worse than it was where it not for the actions of the citizens and officers who put aside concern for their own safety and acted to help those in need.

Police are investigating what caused the crash.

Watch the dramatic footage below.

(WARNING: Graphic language)

'Resign Rahm!': Chicago Protesters 'Ready to Get Arrested' at March Against Gun Violence

Caldwell: Chicago Murder Rate Shows 'False Narrative' on Strict Gun Control Laws

This Is Not a 'Trump-Free Zone': Chicago Protesters March Over Violence, Demand Ouster of Emanuel