Deputy Robert Sunkel, left, and Deputy Linda Nolan, right. (Courtesy of Indian River Sheriff's Office)

The woman's sedan collided with a septic tanker and a flatbed truck on Wednesday morning, cops say. The smaller car and the septic truck immediately caught fire, and within moments, flames erupted on the scene.

According to the Indian River County Sheriff's Office, Deputy Robert Sunkel was the first to arrive on scene. In the dashcam footage, Deputy Sunkel can be seen breaking the car window with a baton, and attempting to reach the woman in the car.

The Indian River County Sheriff's Office reported that the woman was trapped in the vehicle between the seatbelt, the steering wheel and the airbag. Deputy Sunkel was unable to free her.

Deputy Linda Nolan soon arrived on scene with a fire extinguisher that proved to be of little use.

So instead, the two deputies reached into the flaming car, and pulled the woman to safety.

The woman was then airlifted from the scene and is in critical condition, authorities said.

Deputy Nolan sustained second degree burns to her right hand. She was treated on the scene as well as at Indian River Medical Center. She took the following day off duty as a result of the injuries, the sheriff's office said.