It appears Josh Duggar's child pornography trial is coming to a close.

The defense rested Tuesday in the Arkansas federal trial of the former reality TV star after a prosecutor sharply questioned a computer expert during the state’s cross-examination.

Duggar, 33, is charged with receiving and possessing child pornography and faces up to 20 years in prison on each count if convicted. His federal trial began last week. The prosecution rested its case Monday, and Duggar’s attorneys began calling witnesses shortly after.

Under questioning by Duggar’s attorneys, forensic computer analyst Michele Bush said the computer where child pornography was downloaded could have been accessed remotely. The defense has argued that someone else downloaded or placed the child pornography onto the computer at Duggar’s workplace, noting that no child pornography was found on Duggar’s phone or laptop.

JOSH DUGGAR'S DAD JIM BOB TO HIS WIFE ANNA DUGGAR: ALL OF THE FAMILY MEMBERS WHO'VE APPEARED AT HIS TRIAL

But Bush acknowledged to prosecutors that the 10 years of experience she claimed as a forensic computer analyst included time as a college student, KNWA-TV reported.

Josh Dugger's mugshot

Josh Duggar faces up to 20 years in prison on each count if convicted. (Washington County Police Department)

Bush told the defense that she had testified numerous times in court as an expert witness. But when challenged by prosecutor William Clayman on how many times she had testified in a federal criminal court case, she first said she would have to check her resumé, then admitted under follow-up questioning that the Duggar case might be her first, the station reported.

Closing arguments were scheduled for Wednesday with jury deliberations to follow.

The second day of Bush’s testimony came hours after a Duggar family friend testified that Duggar admitted in 2003 to molesting four young girls, the Northwest Arkansas Democrat-Gazette reported.

JOSH DUGGAR TRIAL: FRIEND CLAIMS DUGGAR CONFESSED TO MOLESTING CHILDREN 

Jim Bob Duggar and Michelle Duggar have 19 children. Their lives living under one roof in Arkansas was documented on the former "19 Kids and Counting" television show on TLC.

Jim Bob Duggar and Michelle Duggar have 19 children. Their lives living under one roof in Arkansas was documented on the former "19 Kids and Counting" television show on TLC. (Photo by Peter Kramer/NBCU Photo Bank/NBCUniversal via Getty Images via Getty Images)

Duggar, featured on TLC’s "19 Kids and Counting" show, was charged in April. Prosecutors say child pornography was downloaded to the computer in May 2019.

TLC pulled the reality TV show in 2015 over revelations that Duggar had molested four of his sisters and a babysitter. In 2015, Duggar publicly apologized for his pornography addiction and cheating on his wife, calling himself "the biggest hypocrite ever."

CLICK HERE TO SIGN UP FOR OUR ENTERTAINMENT NEWSLETTER

Duggar’s trial is happening as his father, Jim Bob Duggar, runs in a special election for a vacant state Senate seat in northwest Arkansas. Jim Bob Duggar was also featured prominently on the TLC show and previously served in the Arkansas House.

Josh Duggar's wife Anna has remained by his side during the trial. Anna was photographed walking into the federal courthouse in Arkansas holding hands with her husband.

Josh Duggar's wife Anna has remained by his side during the trial. Anna was photographed walking into the federal courthouse in Arkansas holding hands with her husband. (Kris Connor/Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

Jim Bob Duggar is one of four Republicans seeking their party’s nomination. Early voting began Tuesday, and the primary is set for Dec. 14. 

Jim Bob sat in the third row during his son's Tuesday court session, next to Joy-Anna Duggar's husband Austin Forsyth, according to a reporter from The Sun who was at the court. He was seen speaking with Jana Duggar, Jed Duggar and other family members during breaks in the trial. 

Jim Bob previously testified during an evidentiary hearing. He was subpoenaed by the prosecution and confirmed his son had come to him around 2002 with the admission that he inappropriately touched four minor females, identified as Jane Does 1 through 4. However, Jim Bob said he couldn't remember the specifics of the conversation when pressed by the government. 

The Associated Press contributed to this report.