A Goose Creek man told women outside a bar that he was a U.S. marshal, and then they spotted a knife behind his back, according to police who arrested him Sunday.

When Goose Creek police arrived and asked the man for his badge number, he said 714, the badge number of Sgt. Joe Friday, the lead cop on the old “Dragnet” television series, an officer noted in the incident report.

Edward D. Albright, 48, of Rickey Court, was being held in the Berkeley County jail Wednesday on charges of impersonating a law enforcement officer and carrying a weapon.

Here’s what the officers said happened:

Patrons at the K Lounge at 205 N. Goose Creek Blvd. called Goose Creek police about 12:50 p.m., saying a man was in the parking lot with a knife and claiming to be a U.S. marshal.

An officer arriving at the bar asked Albright about the knife, and he handed over a switchblade. The blade was 3.5 inches long, which put it in violation of a city ordinance.

Albright told officers he was a U.S. marshal investigating two stolen vehicles in the parking lot. He said he did not have his badge with him. When asked what field office he was working out of, he said he preferred to remain anonymous. Then he said his supervisor was a Mr. Jones, but he couldn’t remember his phone number.

At that point, Albright was handcuffed.

Two women told officers that they were walking to their cars in the parking lot when Albright approached them and asked who owned their cars and claimed he was a U.S. marshal.

The women asked to see his badge. He said he didn’t have it on him. Then he asked to see their registration papers.

As one woman went to get her papers out of the car, the other woman spotted a knife behind Albright’s back. Both women went back inside the bar, locked the door and called police.

An officer called the local U.S. Marshals Service field office and they asked for Albright’s badge number, which Albright had said was 714. The officer recognized that as the badge number of the “Dragnet” character played by Jack Webb.

The field office said Albright was not one of its marshals.

Albright was arrested and taken to the jail. He also was given a trespass notice not to go near the K Lounge.