ORINDA (CBS SF) — A California Highway Patrol officer is being recognized for saving the life of a driver following a fiery crash along state Highway 24 in Orinda.

A post on the CHP Contra Costa Facebook page said Officer Richman recently responded to a solo vehicle crash on westbound Highway 24 just east of the Orinda exit.

READ MORE: Crews Stop Progress of Grass Fire That Burned 30 Acres on Altamont Pass

The officer saw that the car had crashed into a tree and was catching fire, and a number of people were trying unsuccessfully to free the driver, according to the CHP.

Car burns after crash along Highway 24 in Orinda. (California Highway Patrol)

Officer Richman began trying to pull the driver out but found the vehicle doors jammed shut because of the crash. While the car was engulfed in flames Richman managed to get in through a driver side window, pull the driver out through the window, and move the driver to safety.

READ MORE: Most of California's COVID Alternate-Care Sites Were Unneeded

Shortly after rescuing the driver, the vehicle became fully engulfed in flames.

CHP Officer Richman (California Highway Patrol)

“If it was not for Officer Richman’s quick & selfless action, the driver would have surely perished in the fire,” said the caption on the Facebook post.

Both Richman and the driver were treated for smoke inhalation, while the driver was also treated for injuries from the crash that were not life-threatening.

MORE NEWS: Bacon May Disappear From San Francisco Bay Area Breakfast Menus