Most people don't like spam calls.

Bryan Kohberger's lead lawyer has accused the public of bias against her client, who is suspected of killing four University of Idaho students, after Latah County residents called police to report a defense expert had contacted them for a survey.

"The afternoon filing on March 22, 2024 was done with the intention of obtaining an immediate order without a hearing," Kootenai County Public Defender Anne Taylor wrote to the court. "Of note, due to the bias and interconnectivity in Latah County, citizens called police and the prosecutor about the survey."

IDAHO MURDERS: KOHBERGER DEFENSE REACHING OUT TO POTENTIAL JURORS WITH ‘SURVEY’ BEFORE JUDGE BANNED CONTACT

Kohberger wearing a red jail issue jumpsuit

Bryan Kohberger arrives at Monroe County Courthouse in Pennsylvania in advance of his highly anticipated extradition hearing. He's charged with the murders of four University of Idaho students. (The Image Direct for Fox News Digital)

The survey is part of the defense's attempt to gather evidence ahead of a change of venue hearing, in which Kohberger's team will try to have the case moved to a larger jurisdiction with more people in the jury pool.

Taylor, in recent court filings, accuses Latah County Prosecuting Attorney Bill Thompson of trying to skirt due process in his request to have the court ban both sides from contacting potential jurors.

"The ability of a prosecutor to have an order signed by a judge within the same building, within a few hours of the filing, and a specific fear the Defense had articulated to the State during the March 21, 2024 meeting, is evidence of the State’s intention to facilitate a due process violation," Taylor alleged.

BRYAN KOHBERGER CASE: IDAHO JUDGE BANS BOTH SIDES FROM CONTACTING PROSPECTIVE JURORS

Idaho victims last photo

Madison Mogen, top left, smiles on the shoulders of her best friend, Kaylee Goncalves, as they pose with Ethan Chapin, Xana Kernodle, and two other housemates in Goncalves' final Instagram post, shared the day before the four students were stabbed to death. (@kayleegoncalves/Instagram)

Taylor's office hired a social psychologist named Bryan Edelman to conduct the polling. In her filing, Taylor conceded "many" of Edelman's questions about "media influence" are "NOT factually correct."

But Edelman, in a signed declaration, denied violating the gag order with his questions. None of them "included any information that was not widely reported and available in the public domain," he wrote. 

BRYAN KOHBERGER'S APPEAL OF GRAND JURY INDICTMENT DENIED BY IDAHO SUPREME COURT

Bryan-Kohberger-Idaho-Murders

Anne Taylor, an attorney representing Bryan Kohberger, arrives at a hearing in Latah County District Court, Sept. 13, 2023, in Moscow, Idaho. (AP Photo/Ted S. Warren, Pool)

Thompson accused the defense of violating a sealed court order regarding the survey by discussing case specifics and by disclosing information that would be inadmissible at trial.

He has also alleged that questions on the juror survey violated the judge's restrictive gag order and asked the judge to cut off contact. Judge John Judge agreed, banning juror contact "until further notice" and scheduling a hearing "as soon as practicable" to discuss the motions in full.

FOLLOW THE FOX TRUE CRIME TEAM ON X

Bill Thompson speaks during Bryan Kohberger’s hearing

Bill Thompson speaks during Bryan Kohberger’s hearing at the Latah County Courthouse in Moscow, Idaho on Aug. 18, 2023. (August Frank/Lewiston Tribune)

Jury contact is typically forbidden, but surveys have been used in the past to bolster defense attorneys' arguments for a change of venue. A hearing on the matter is scheduled for Thursday. 

Kohberger, 29, had studied violent criminals, including the serial killer BTK, whose real name is Dennis Rader, and was pursuing a Ph.D. in criminology at Washington State University in Pullman, Washington, at the time of the murders.

GO HERE FOR MORE TRUE CRIME FROM FOX NEWS DIGITAL

Judge John Judge talks during a hearing

Judge John Judge talks during a hearing at the Latah County Courthouse in Moscow. (August Frank/Lewiston Morning Tribune, Pool)

The WSU campus is just a 10-minute drive from Moscow, Idaho, where four University of Idaho students were massacred in a 4 a.m. home invasion stabbing attack in their off-campus house.

CLICK HERE FOR THE FOX NEWS APP

The attack killed Madison Mogen, 21, Kaylee Goncalves, 21, Xana Kernodle, 20, and Ethan Chapin, 20.

According to court documents, police found Kohberger's DNA on a Ka-Bar knife sheath left under Mogen's body and placed his car and cellphone in the vicinity of the crime scene.