SOMERSET, Pa. (AP) – A Pennsylvania man set up a fake drunken-driving checkpoint only to be charged with drunken driving himself when real troopers arrived to investigate.

The (Somerset) Daily American says 20-year-old Logan Shaulis will be sentenced June 27. He pleaded guilty Thursday to drunken driving, possessing instruments of crime, and impersonating a public servant.

READ MORE: Whitmer Announces 90 New Manufacturing, Professional Services Jobs In Southwest Michigan

Police say Shaulis used a flashing blue light bar, parked diagonally across state Route 601 and set up road flares about 4 a.m. on May 30.

A motorist who stopped says Shaulis claimed he was a trooper with the “drug and alcohol division” and demanded to see her identification.

READ MORE: Child Tax Credit: When Will You Get Your First Check?

When police arrived, Shaulis tried to hand a BB pistol to the car’s passenger, saying he couldn’t get caught with it.

Shaulis’ attorney says Shaulis has since completed substance abuse treatment.

MORE NEWS: ATF Agents Hold A Classroom, Simulated 'Use Of Force' Training For The Media, To Better Explain Police Policy To Public

© Copyright 2016 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.