• Josh and Anna Duggar welcomed a daughter named Madyson Lily last month
  • Anna shared an adorable photo of their newborn on Instagram Tuesday
  • The news comes just days before Josh is set to appear in court for a pre-trial conference ahead of his child pornography trial

"19 Kids and Counting" alums Anna and Josh Duggar have welcomed their seventh child.

Anna made the announcement via Instagram Tuesday, sharing a photo of their new daughter sleeping soundly in a green onesie and a flower headband. The baby news comes just days before her husband is set to appear in court for a pre-trial conference ahead of his child pornography trial later this month.

"Meet little Madyson Lily Duggar!" Anna captioned the snap, adding on her Instagram Story that their youngest child was born on Oct. 23, weighed 7 pounds and 9 ounces and was 20 inches long.

Josh's parents, Michelle and Jim Bob Duggar, gushed over the birth of their 22nd grandchild.

"We are always delighted to welcome another grandchild," the couple said in a statement to Us Weekly Tuesday. "They are each a beautiful treasure from the Lord."

Madyson joined Anna and Josh’s six other children: Mackenzie, 12, Michael, 10, Marcus, 8, Meredith, 6, Mason, 4, and Maryella, 23 months.

Anna announced that she and her husband were expecting baby no. 7 in April, just before Josh was arrested on child pornography charges.

"It’s a GIRL!!!!! We are overjoyed to announce baby seven is on the way and we can’t wait to hold her in our arms this fall!" she captioned the video and a family photo she posted on Instagram.

Later that month, Josh was taken into custody at the Washington County jail in Arkansas and charged with one count each of receiving and possessing child pornography. He entered a not guilty plea and was set to begin his trial in July.

Josh filed a motion in June to extend the trial date to 2022, but a judge only granted a four-month extension. The trial is now set for November.

The former reality star is accused of downloading material that depicts the sexual abuse of children under 12, according to court docs previously obtained by Entertainment Tonight. If convicted, Josh faces up to 20 years in prison and fines of up to $250,000 on each count.

Following Josh's arrest, TLC canceled the controversial family's reality show, "Counting On," in June after 11 seasons. 

"Counting On" served as a spinoff series to "19 Kids and Counting" and was created amid the molestation controversy surrounding Josh.

In 2015, news broke that Josh had allegedly molested five underage girls as a teenager. Two of his sisters, Jill Dillard, now 29, and Jessa Seewald, now 28, later came forward as two of the victims, insisting they had already "moved on" and forgiven their brother when the news surfaced.

Following the cancellation of "19 Kids and Counting" that year, Josh also admitted to having a pornography addiction and cheating on his wife Anna after his Ashley Madison profile was leaked when the website was hacked.

Anna continues to support Josh amid his ongoing case. Josh is set to appear in a pre-trial hearing Thursday. The trial is set to start on Nov. 30, Page Six reported.

Josh and Anna Duggar Josh, pictured at at the Family Leadership Summit in Ames, Iowa ,Aug. 9, 2014, and Anna Duggar, pictured at the Iowa caucuses on Jan. 3, 2012 in Johnston, Iowa, make a rare cameo on Facebook. Photo: Getty Images