Jamie Lynn Spears Emotionally Talks Daughter Maddie's Accident: 'I Was Living a Mother's Worst Nightmare'

Jamie Lynn Spears is grateful for her "miracle."

Jamie Lynn Spears is grateful for her "miracle."

The 25-year-old former Nickelodeon star shared a sweet Instagram picture of her 8-year-old daughter, Maddie, celebrating her cousin's baptism on Sunday, looking healthy and happy after suffering a serious ATV accident last month. Jamie Lynn thanked all her fans for their continued prayers.

"A month ago, at this time, I was living a mother's/anyone's worst nightmare happening right in front of my eyes, helplessly," she wrote. "Fast-forward -- Today, we were able to celebrate the baptism of our sweet Kylie Blair."

WATCH: Jamie Lynn Spears Poses With Daughter Maddie and Mom Lynn in Selfie Following ATV Accident

"I'm not one to preach, but we were shown God's grace, and we still feel undeserving of His mercy," she continued. "I'll never stop thanking each of you for your prayers, because we recognize the miracle it created. We are beyond blessed, and we will NEVER forget y'all, and God's unbelievable mercy. #Godisgood."

WATCH: Jamie Lynn Spears' Daughter Maddie Was Submerged in Pond for 2 Minutes After ATV Crash, Police Report Says

Last month, Maddie was hospitalized after she got into an ATV accident and was submerged in a pond on the family property for two minutes. Thankfully, she has made a full recovery. Just two weeks after the accident, Maddie amazingly returned to basketball practice.

Watch below: