An Ider, Alabama, police officer has been arrested and charged with driving under the influence.

Around 3:30 am Tuesday, a DeKalb County deputy saw a Black Chevrolet Avalanche traveling on Highway 35 in the middle of the road.

The deputy decided to stop the vehicle after seeing it cross the dividing line several times and almost collide with an 18-wheeler.

The driver was identified as Jeremy Pinegar. He was charged with DUI.

Pinegar was off-duty at the time of the crash, but, "[he] was currently employed as a Police Officer in the Town of Ider," a DeKalb County Sheriff's Office spokesperson explained.

DeKalb County Sheriff Nick Welden released the following statement:

“Those of us that are employed as law enforcement officers are held to the highest standards, and those that cannot conform to those standards have no place in this line of work. Drinking and driving is a serious offense as it endangers innocent people on the roadway.

I’d like to commend our deputy for being alert and getting this driver off the roadway before anyone was seriously hurt. I’d also like to thank the Officers with the Rainsville Police Department for assisting in the stop.

God Bless."