Derek Hough stayed by wife Hayley Erbert's side just weeks after she suffered a medical emergency and was diagnosed with a cranial hematoma.

The "Dancing with the Stars" judge shared an update with his social media followers about Hayley's ongoing recovery efforts following a skull implant surgery. Earlier this month, Hayley was hospitalized and required immediate brain surgery.

"With immense relief, gratitude and overwhelming joy I’d like to share that Hayley’s cranioplasty surgery has been successfully completed as planned," he wrote on Instagram.

DEREK HOUGH'S WIFE NEEDS SKULL IMPLANT SURGERY AFTER HOSPITALIZED FOR ‘LIFE-THREATENING’ EMERGENCY

Derek Hough wife Hayley Erbert pose in front of christmas tree

Derek Hough said wife Hayley Erbert had "successful" surgery. (Tiffany Rose)

"My sincere appreciation goes to the exceptional medical team. Their expertise and steady hands were pivotal in this journey, ensuring a smooth and successful surgery. Especially Dr. Mai who not only performed the surgery but was also the one who saved her life 2 weeks ago."

The professional dancer was overwhelmed with gratitude for the "outpouring of support and prayers" from friends, family and fans. 

APP USERS CLICK HERE TO VIEW POST

"Your thoughts, prayers, and positive energy have been a source of strength and comfort for us during this challenging time," Hough wrote. "It’s truly heartwarming to know how much love and care surrounds us."

DEREK HOUGH'S WIFE ON 'LONG ROAD OF RECOVERY' FOLLOWING EMERGENCY BRAIN SURGERY

The surgery was performed to replace a large portion of her skull that was removed during her craniectomy, Hough revealed in an earlier Instagram post.

APP USERS CLICK HERE TO VIEW POST

He added, "This surgery marks a significant milestone in my wife’s recovery journey, and your support has played a crucial role in getting us here. We are filled with hope and optimism for the future, knowing she is on the path to a full recovery, surrounded by such a loving community."

LIKE WHAT YOU’RE READING? CLICK HERE FOR MORE ENTERTAINMENT NEWS

Hough revealed on Dec. 7 that Erbert, a "DWTS" professional dancer, became "disoriented" after performing and needed to be hospitalized. She was then diagnosed with a cranial hematoma from a burst blood vessel and required an emergency craniectomy.

Derek Hough and Hayley Erbert cuddle at Netflix's "El Camino: A Breaking Bad Movie" premiere

Hayley required emergency brain surgery earlier this month. (Rodin Eckenroth)

CLICK HERE TO SIGN UP FOR THE ENTERTAINMENT NEWSLETTER

According to the Mayo Clinic, "An intracranial hematoma is a collection of blood within the skull. It's usually caused by a blood vessel that bursts in the brain." 

The "Dancing with the Stars" judge previously praised his wife for her strength and resilience only days after requiring emergency brain surgery.

Derek Hough and wife Hayley Erbert dress up for Hollywood event

Erbert was diagnosed with a cranial hematoma from a burst blood vessel. (Michael Kovac)

"Hayley has always inspired me with her will, her strength, and her resilience and no more so than in the last 48 hrs," Hough wrote on Instagram. "She is now on the long road of recovery. Words cannot express how grateful and thankful we are for the support and love that you have given us."

CLICK HERE TO GET THE FOX NEWS APP

Erbert and Hough were married in August before embarking on their "Symphony of Dance" tour.