In text messages to his girlfriend, Lawrence Weinstein was insistent.

"Get her [to] drink faster," he texted Kelly Drucker last October, referring to an acquaintance she was having dinner with at a restaurant in Bucks County.

"Just keep her drinking," he said in text messages revealed Tuesday by police in Northampton Township. "And pee at your house no matter what."

At Drucker's home in Northampton Township, police say, she spiked the victim's wine with grain alcohol, pressuring her to drink more. Then she took explicit photos of the woman, using a hidden camera mounted inside the home's bathroom.

Weinstein, 44, and Drucker, 45, were arrested Tuesday and charged with felony violations of the state wiretapping act for the use of the hidden camera, as well as reckless endangerment, false imprisonment, and related offenses. Weinstein, a former supervisor in the township, was also charged with indecently assaulting an unconscious woman in a separate incident in 2012.

He and Drucker were released from custody late Tuesday after posting bail, court records show. They face preliminary hearings on Oct. 18.

Weinstein resigned from his position in September at the height of the investigation, citing personal reasons. In a biography on the website of the Ardmore law firm where he works, Weinstein wrote that he had been elected to the board in 2013, serving as its secretary.

Barry Moore, president of the township supervisors, said in a statement Wednesday that he and his colleagues were "shocked and disappointed by the news" of Weinstein's arrest.

"Nothing Mr. Weinstein did as an elected official would have anyone expect he was capable of such disturbing conduct," Moore said, adding that the board offered its "sincerest thoughts, concern and prayers" to the victims. Coincidentally, the board was poised to vote Wednesday night to fill Weinstein's vacancy on the board.

The text messages Weinstein sent and the plot they describe came to light in August, when Drucker's ex-husband noticed that their teenage daughter was carrying a new iPhone, one that the girl said had belonged to her mother, according to an affidavit of probable cause filed in the case.

This concerned him. His daughter previously had an experience in which an older man texted her nude images of himself and pressured her to send him similar images of herself. When he examined his daughter's phone, he found "numerous naked photos and videos of Kelly Drucker going to the bathroom," the affidavit said. He also found text messages between Drucker and Weinstein, whom she had been dating.

In the messages, the couple talked about setting up a camera in a bathroom at Drucker's home, as well as a hidden camera mounted in a pair of glasses. Another lengthy string of text messages revealed the incident from last October.

Through the texts, reproduced in the affidavit, the two formulated a plan to bring the victim, who worked for Northampton Township, back to Drucker's house after dinner, placating her with praise of how "good a job she's doing."

Over the course of several hours, authorities said, Weinstein coached Drucker in their "mission," as he described it in the texts, urging her to serve the victim drinks of "½ everclear and ½ wine" and to encourage her to spend the night at the home.

"Can't wait until so drunk passes out and gets naked," Weinstein texted Drucker, later asking her to get the victim "drunk and sloppy."

When the victim went to use the bathroom, Drucker texted Weinstein that she "got pics."

Later in the evening, the victim fell ill and passed out in the bathroom, prompting a string of texts from Weinstein, referencing the "spy glasses" he had given Drucker.

"Go help her with lights on and glasses on and get her naked!!!" he wrote. "I will reward you."

In August, detectives interviewed the victim, who said she remembered having dinner last October with Drucker and being "so sick" the following morning.

The victim said she went back to Drucker's home because Drucker insisted and there, she said, she was served "wine that didn't taste right," according to the affidavit. She said she didn't remember anything after that, authorities said. She said the photos of her inside Drucker's bathroom had been taken without her knowledge.

During a subsequent search of Drucker's home, detectives found her cell phone, a wireless camera, and the "spy glasses," the affidavit states.

When detectives interviewed Weinstein in August, he said he had gone to Drucker's house that night after she had called him, "concerned" about the victim being ill in the bathroom.

Detectives later searched Weinstein's home and recovered several cell phones, an iPad and a computer. Some of the files on the devices were encrypted and unable to be viewed, the affidavit said.

On the iPad, investigators found a  2012 selfie of Weinstein and another woman, who appeared to be unconscious. In other photos, the affidavit said, Weinstein was seen sexually assaulting the woman.

When detectives located that victim, she said she "did not recall the incident and was unaware of it having occurred," the affidavit states. She told authorities she had not given Weinstein permission to touch her.