Photo: Cory Wharton/Instagram

Cory Whartonand girlfriendTaylor Selfridge’s newborn daughterMaya Gracehas “finally made it home” after undergoing heart surgery.
“We have had some dark days, but today isn’t one of them. MAYA got discharged from the hospital and we finally made it home,” he captioned the snap. “Thank you everybody for all your uplifting words and prayers over the past days.”
He shared the same photo onTwitterand added, “We know it’s a long journey but today we celebrate.”
Last week, Whartonannounced his daughter’s birthand revealed that she had been diagnosed with tricuspid atresia, a congenital heart defect requiring open-heart surgery.
“First off I wanna say God is good,” Whartonwrote in part to his followerson Instagram, alongside a series of photos of Maya in the hospital. “And thank you to EVERYONE for your prayers throughout this pregnancy & birth!”
He then explained that tricuspid atresia is a form of congenital heart disease that “happens when the heart’s tricuspid valve does not develop. This valve plays a part in the heart’s essential function, which is to pump blood between the lungs and body.”
According to theMayo Clinic, people with tricuspid atresia can’t get enough oxygen through their body; they tend to tire easily and often are short of breath. It is treated with multiple surgeries.
Cory Wharton/Instagram

Wharton said, “Maya had her first successful surgery on Tuesday and now she’s in the recovery process🙏🏽 She is doing very well, we can’t wait to bring her home 🏠 & show her the love that she needs.”
He noted that the condition will require Maya to have two open-heart surgeries, one at 4 to 6 months old and another one around age 3 or 4.
He added, “Right now we are all trying to stay positive & having that successful surgery on Tuesday is something to celebrate. That’s one down, we have two left.”
Never miss a story — sign up forPEOPLE’s free weekly newsletterto get the biggest news of the week delivered to your inbox every Friday.
On Thursday, Wharton thanked the medical staff and the after Maya was discharged alongside amontage of clipsof his daughter during the “Nicu experience.”
“Real quick I want to say thank you to all the nurses who looked after Maya & everybody made us feel as comfortable as we could in this situation & A big thank you to the CHD community and everyone for your positive messages,” he shared. “I read all the stories and it just makes me feel a lot better so thank you ❤️”
source: people.com