FARMINGTON, N.M. (KRQE) – Deputies say a man shot himself during a traffic stop and then pulled the gun on the deputy that pulled him over.

“Hey, he’s got a gun. He’s got a gun,” said a San Juan County Sheriff’s Deputy in dash camera video from Saturday night.

The deputy had been following 48-year-old Kurt Trennepohl, trying to pull him over as he drove with no headlights on.

“He’s not really driving crazy. Our speeds are about 42 now,” the deputy said.

Trennepohl drove west on Highway 516 into Farmington.

After about 2.5 miles, the deputy put his lights and sirens on again to try to stop him.

This time, the truck slowed to a stop in a right-turn lane.

As the deputy got closer, he saw Trennepohl was in bad shape.

“Send me medics now. Hey, what’s going on, sir?” the deputy asked the driver.

However, the deputy quickly went from worrying about the driver’s safety to worrying about his own.

“Hey, don’t touch anything. Do not touch anything. Do not touch anything,” the deputy said. “Hey, he’s got a gun. He’s got a gun. It looks like he’s got a gunshot wound to the face.”

Lt. Kyle Lincoln with the San Juan County Sheriff’s Office said what you cannot see in the video is Trennepohl in the truck, grabbing his gun, putting his finger on the trigger and angling the barrel toward the deputy.

“Put your hands up. Get out of the vehicle. Get out of the vehicle,” the deputy ordered.

When Trennepohl is finally on the ground and handcuffed, the deputy tried to talk to him.

“What did you do?” the deputy asked him.

“I shot myself,” Trennepohl said.

“Why, huh?” the deputy asked.

Lt. Lincoln said deputies still don’t have the answer to that because Trennepohl is recovering at UNM Hospital and has not yet been interviewed.

Deputies believe Trennepohl shot himself in the face after pulling over. When the deputy opened the door to Trennepohl’s truck, he saw the cab was filled with smoke and he noticed a strong carbon smell.

“Looks like he’s got a gunshot wound straight to the eye,” the deputy said on the dash camera video.

The Sheriff’s Office said it has received reports of Trennepohl threatening suicide before.

The deputy on scene said he could smell alcohol on his breath and online records show he has two DWI convictions.

When Trennepohl gets out of the hospital, he faces a charge for aggravated assault on a police officer with a deadly weapon.