ANNA, Texas (CBSDFW.COM) – A close call for a driver and a North Texas police officer was caught on tape.

It was raining when Officer Brandon Blair, with the Anna Police Department, stopped on County Road 373 to help the driver of a sedan involved in a single vehicle accident.

READ MORE: Fort Worth Mayoral Candidates Discuss Issues At Forum Days Before Early Voting Begins

Blair had just arrived at the scene, and hadn’t even finished putting on his rain coat, when a truck coming around a curve slid out of control.

READ MORE: Men Found Dead In Abandoned School In Parker County Sunday Identified

The quick-thinking officer managed to get himself and the pedestrian driver out of harm’s way just seconds before the truck slammed into the sedan.

MORE NEWS: Irving's MacArthur High School Went On Lockdown Due To 'Possible Threat Of Student With Gun'

Both the pedestrian and Officer Blair were uninjured. No word on the condition of the truck driver or what charges, if any, they may face.