Updated

Josh Duggar was supported by his wife Anna on his way to court on Thursday in Arkansas for a pre-trial hearing ahead of his upcoming child pornography trial.

Duggar, who appeared in TLC’s "19 Kids and Counting," was charged in April with two counts of downloading and possessing child pornography. The 33-year-old faces up to 20 years in prison and fines of up to $250,000 on each count if convicted. The former TV star has pleaded not guilty.

Before the hearing got underway, Duggar was seen walking into the court hand-in-hand with his wife, who announced earlier this week the birth of their seventh child together

According to a local KNWA reporter on the scene, Judge Timothy L. Brooks ordered an evidentiary hearing with witnesses to take place on Nov. 29, which is just one day before his trial is scheduled to begin.

JOSH DUGGAR, WIFE ANNA WELCOME 7TH CHILD

The former "19 Kids and Counting" star faces up to 20 years in prison and fines of up to $250,000 on each count if convicted. 

The former "19 Kids and Counting" star faces up to 20 years in prison and fines of up to $250,000 on each count if convicted.  (Kris Connor/Getty Images)

One day before Duggar's court appearance on Thursday, Judge Brooks ruled on several motions filed by both sides in the case. Per the Nov. 17 filing, Duggar received a small victory when Brooks denied the prosecution's motion to allow a statement Duggar made on Facebook in 2015 in which he admitted to his pornography addiction as evidence.

The judge did note, however, that if Duggar "takes the stand and testifies that he did not view adult pornography or was not addicted to pornography, or if he otherwise contradicts any statement he made in the social media post in 2015, the Government may seek to leave to introduce the statement to impeach his credibility."

JIM BOB DUGGAR ANNOUNCES CANDIDACY FOR ARKANSAS STATE SENATE

The judge also denied the prosecution's motion asking the court to bar Duggar from suggesting to the jury that someone else might have committed the crimes. 

"It is the Government's burden to prove that Defendant committed the crimes set forth in the indictment beyond a reasonable doubt, and Defendant is entitled to create reasonable doubt in the jury's minds by pointing the finger at others who may have possibly committed the crimes," the filing states.

In terms of a motion about sequestering witnesses, Judge Brooks ruled that "any witness who has testified — including the Government's designated case agent sitting at counsel table — is prohibited from discussing the substance or his or her own testimony with any witness who has not yet testified and been formally excused from their obligations as a witness. Defendant and his witnesses will be subject to the same sequestration rule."

He also noted that "the Court's rule does not limit counsel from conferring with their own witnesses and preparing them to testify."

Anna Duggar and Josh Duggar welcomed their seventh child in October, just weeks ahead of his child pornography trial.

Anna Duggar and Josh Duggar welcomed their seventh child in October, just weeks ahead of his child pornography trial. (Kris Connor/Getty Images)

The judge also weighed in on Duggar's motion that asked the court to prohibit the government from sharing at trial that he refused to answer questions to him posed by law enforcement during an interview on Nov. 8,  2019.  Duggar's legal team essentially wants to exclude 10 separate statements he made invoking his Fifth Amendment right to remain silent. Brooks granted the motion with the instruction that the court "request a sidebar and make its argument outside of the presence of the jury" if the need arises.

JUDGE REFUSES TO SUPPRESS VIDEO EVIDENCE IN JOSH DUGGAR CASE

TLC pulled "19 Kids and Counting" in 2015 over revelations that Duggar had molested four of his sisters and a babysitter. Duggar’s parents said he confessed to the fondling and apologized.

Per KNWA, the prosecution argued that they should be allowed to use the molestation allegations as evidence in the hearing and said that one or two witnesses will testify to "multiple instances" of child molestation.

Josh Dugger's mugshot

The former star of '19 Kids and Counting' was arrested in Arkansas in April. (Washington County Police Department)

Speaking for the defense, Justin Gelfand argued that notice of the witnesses being called was limited to only "a single email" containing some information about what the witness, reportedly including Duggar's father Jim Bob, "may testify to."

The defense then posed a question as to whether Duggar actually committed a crime in 2002 or 2003 under Arkansas statutes, pointing out that it is "undisputed that Mr. Duggar has never been charged."

CLICK HERE TO SIGN UP FOR OUR ENTERTAINMENT NEWSLETTER

Gelfand said that he would have liked to receive "proper nouns, dates, and specific allegations" in regard to the potential testimonies.

Because the "information was the subject of a lawsuit [Duggar] filed in this court," the judge called Gelfand's claims "very disingenuous."

Josh Duggar's parents Michelle and Jim Bob.

Josh Duggar's parents Michelle and Jim Bob. (Photo by D Dipasupil/Getty Images for Extra)

Additionally, the defense claimed that they don't believe Duggar's childhood behavior "is probative to behavior in his 30s" and stressed that discussing it in court would lead the trial to become a "series of minitrials" surrounding Duggar's previous potential crimes.

Prosecutor William G. Clayman pushed back, saying he followed all notification requirements and that one of the witnesses in question who has already been subpoenaed with Jim Bob has been impossible to reach, per the outlet.

The judge said that he would be "very hesitant" to make a ruling on the matter if he does not know whether the witness will be present to be called at the trial.

CLICK HERE TO GET THE FOX NEWS APP

The judge also agreed to take the competing motions under advisement and admitted that Duggar’s prior acts could be considered "highly probative" to his capacity to potentially commit crimes today.

Fox News has reached out to reps for Jim Bob, 56, regarding his potential testimony.

Duggar has also previously apologized for his pornography addiction and for cheating on his wife.

His jury trial is scheduled for Nov. 30.

The Associated Press contributed to this report.