WALTHAM (CBS) – Dukes of Hazzard actor Tom Wopat was arrested Wednesday night in Waltham on drug and assault charges.

Waltham Police confirmed that Wopat was arrested just before 11 p.m.

READ MORE: NH State Police Release Video Of SUV Wanted In Hit And Run That Killed Retired Sgt. Donna Briggs

Wopat was wanted in connection with an allegation that he inappropriately touched a female cast member during a rehearsal of “42nd Street” on July 27.

Tom Wopat in Waltham District Court (WBZ-TV)

When Wopat was pulled over, police found two bags of white powder believed to be cocaine.

Prosecutors said Wopat told police he bought the cocaine in New York “in large quantities.”

The 65-year-old was arraigned on charges of indecent assault and battery and possession of a Class B substance Thursday afternoon.

READ MORE: Coronavirus In Massachusetts: Today's Developments

Wopat was ordered to stay 100 yards away from the victim, and the Reagle Music Theatre. The victim was in court, and said “I just don’t want him near me.”

The judge set his bail at $1,000 and said his pre-trial conference was scheduled for September 26. He drove away without comment.

Wopat played Luke Duke in the 1980s sitcom.

MORE NEWS: It Happens Here: Dunstable's Little Red Schoolhouse Is An Up-Close Lesson In History

WBZ NewsRadio 1030’s Bernice Corpuz reports