Josh Duggarhas been charged with receiving and possessing child pornography.

On Friday, the former19 Kids and Countingstar appeared at the hearing at the U.S. District Court for the Western District of Arkansas via Zoom, due to the COVID-19 pandemic, where he was charged.

During his court appearance, he pleaded not guilty to the two charges against him: one count of receipt of child pornography and one count of possession of child pornography. (His attorneys declined to have the judge read out the charges against him.)

“Josh Duggar has been charged in a two-count indictment. He has pled not guilty to both charges and we intend to defend this case aggressively and thoroughly. In this country, no one can stop prosecutors from charging a crime. But when you’re accused, you can fight back in the courtroom — and that is exactly what Josh intends to do,” his attorneys, Justin Gelfand, Travis W. Story and Greg Payne, said in a statement.

Josh allegedly used the internet to download material of child sexual abuse, “some of which depicts the sexual abuse of children under the age of 12, in May 2019,” according to a press release.

If he is convicted, Josh faces up to 20 years of imprisonment and fines up to $250,000 on each count.

Listen below to the episode ofour daily podcast PEOPLE Every Dayfor more on Josh Duggar.

Josh, who tuned into the meeting from an Arkansas detention center, will remain in jail as he awaits a bond hearing.

U.S Chief Magistrate Judge Erin L. Wiedemann said if he is awarded bail, Josh will have to be “in a residence where there’s no minor in the home.”

When the judge asked, “Do you understand what you’ve been charged with?” Josh replied, “Yes, your honor.”

TLC did not respond to PEOPLE’s request for comment following his arrest.

Josh Duggar.courtesy Washington county arkansas

josh duggar

Josh has faced various controversies since entering the public eye with his family on TLC reality series,19 Kids and Counting.

In mid-May 2015, Josh apologized for his “wrongdoing” after a 2006 police report revealed that he had been investigated as a teen for inappropriately touching five underage girls. His sisters Jill, 25, and Jessa, 24, subsequentlystepped forward as two of the victims.

Want to keep up with the latest crime coverage? Sign up forPEOPLE’s free True Crime newsletterfor breaking crime news, ongoing trial coverage and details of intriguing unsolved cases.

Months later, in August 2015,Gawkerreported that the oldest Duggar son appeared to have had active accounts onAshley Madison, a website created to facilitate cheating on your spouse.

Josh ultimately confessed to having a pornography addiction and cheating on wifeAnna Duggarin anapologetic statementon the Duggar family website.

“I have been the biggest hypocrite ever. While espousing faith and family values, I have secretly over the last several years been viewing pornography on the internet and this became a secret addiction and I became unfaithful to my wife. I am so ashamed of the double life that I have been living and am grieved for the hurt, pain and disgrace my sin has caused my wife and family, and most of all Jesus and all those who profess faith in Him,” the statement read.

Josh and Anna Duggar with their kids.anna duggar/instagram

anna duggar

Various outlets had previously reported that Homeland Security raided the Duggar family home, which they denied.

If you or someone you know has been a victim of sexual abuse, text “STRENGTH” to the Crisis Text Line at 741-741 to be connected to a certified crisis counselor.

source: people.com