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: 'I'm Worried I'm Going To Kill My Parents' Man Told 911, Pointed Fake Gun At Fort Worth Police Before Being Killed

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: Dallas City Council Unanimously Approves Major Ethics Reforms

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: Harris County Jail, Texas' Largest, Under Renewed Scrutiny After Report Of Sexual Assault Of Sergeant

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.