Before Jaime King gave birth to her son James last year, she suffered five miscarriages and underwent five rounds of in vitro fertilization, she revealed on Friday.

“For all the struggling women & moms out there that think they are alone—This is the truth about conceiving my son and struggles after 8 yrs of pain and undiagnosed PCOS & Endometriosis,” the 35-year-old “Hart of Dixie” actress and mother wrote in a since-deleted Instagram post (via People).

“9 doctors until Dr. Randy Harris diagnosed me & saved my life from severe ectopic, 5 miscarriages, 5 rounds of IVF, 26 IUI’s, most with no outcome, 4 1/2 years of trying to conceive, 26 hours of brutal labor, early delivery b/c of sudden preeclampsia, tearing and tearing after the stitches were in once I was home, milk supply issues, painful mastitis, uncontrollable crying while breast feeding, worked until the day before I [gave] birth and went back to work 6 weeks after because I was afraid of letting others down.”

In May, King told ABC that the birth of her son was “a long time in the making.”

“I feel like the universe put a little extra magic dust in him,” she said. “He’s like the happiest, most joyful, social and loving child.”

View this post on Instagram

Faceeater/kissinglessons

A post shared by Jaime King (@jaime_king) on