Delaware State Police are probing a cellphone video that shows one of their troopers pulling a gun on a motorist after he refused to get out of his car.

The 1-minute, 23-second clip shows the dramatic Feb. 14 confrontation in Dover between the officer and 40-year-old Mack Buckley, who uploaded the footage to Facebook.

“Sir, out of the car,” the trooper can be heard ordering.

As Buckley responds, “I’m not stepping out of the car,” the officer opens the car door, prompting Buckley to scream and shout: “You cannot pull me out of this!”

That’s when the trooper pulls a gun on Buckley, pointing it at him, saying, “I’m not f—king with you!,” the footage shows.

“Yo! Yo! Why you pulling a gun on me? Why are you pulling a gun on me?” Buckley shouts as the trooper can be heard telling the man to “take your seat-belt off.”

The officer then shouts for Buckley to “get out” and “stop reaching for sh-t.”

Eventually, Buckley exits the vehicle, leaving the cellphone in the car, still filming.

“Hands on the car!” the trooper is heard commanding off-camera as Buckley fires back, “Why are you pulling a gun on me,” according to the footage.

Buckley was arrested and charged with resisting arrest, driving at an unreasonable speed, and failure to have insurance identification and registration.

In the post to Facebook, Buckley claims that he was “allegedly pulled over for speeding, but got no ticket.”

Buckley, who is African-American, alleged that the trooper, who is white, “revealed himself to be a racist.”

“I was illegally detained, arrested, and kidnapped by the Delaware State Police today,” Buckley wrote in the post. “I was pulled out of my car at gunpoint… and subsequently robbed of my credit card and cash. Didn’t get it back… nor is the card that’s missing or cash listed on the property report… except for $5 in ones that was in my wallet.”

The post went on to say: “On the way to the troop [the officer] kept referring to YOU PEOPLE. I asked him who was YOU PEOPLE since there was only him and I in the vehicle.”

“Then he proceeded to say I was a worthless piece of sh-t. He then said you probably didn’t funish [sic] high school. Your [sic] a piece of shit… and he wouldn’t give a f–k if YOU PEOPLE died tomorrow,” Buckley wrote.

Buckley claims that when he asked the trooper to clarify what he meant by “you people,” the officer said “society.”

By Thursday afternoon, the video had garnered more than 40,000 views on Facebook.

According to court records, Buckley has an arrest record dating back to 1999, with convictions for DUI, drug possession, maintaining a vehicle for keeping drugs, criminal impersonation and carrying a concealed deadly weapon.

The video is the second in a week to question Delaware police tactics. Over the weekend, footage emerged of New Castle County Police punching a boy busted during a marijuana investigation.

With Post wires