Music fans woke today to the tragic news that country music star and songwriting legend, Mac Davis, has passed away aged seventy-eight.

His cause of death has now been confirmed...

The heartbreaking news was confirmed by Mac's manager, Jim Morey.

via: Getty Images

The star passed away on Tuesday, leaving fans completely devastated.

Throughout his career, the Texas native has taken the country music world by storm.

via: Getty Images

The star initially got his big break in the late '60s as a songwriter when Elvis recorded his works, "Memories," "Don't Cry Daddy," "In the Ghetto" and "A Little Less Conversation," all of which became smash hits.

Mac also wrote for a handful of other artists...

via: Getty Images

Including the likes of Kenny Rogers & the First Edition.

Off the back of his song-writing success, Mac went on to launch a solo career in the '70s.

via: Getty Images

And he got off to a good start, scoring a  Grammy nomination for his hit "Baby Don't Get Hooked on Me."

Though the song was a success on both the country and pop charts...

via: Getty Images

Mac really made a name for himself he was crowned the Academy of Country Music's Entertainer of the Year in '74.

He managed to get several other hits under his belt.

via: Getty Images

Including "Stop and Smell the Roses," "One Hell of a Woman," and the 1980 track, "It's Hard to be Humble."

On top of his music career, Mac also starred on his own TV variety show.

via: Getty Images

As well as making the crossover onto the big screen in the 1979 flick, North Dallas Forty, alongside Nick Nolte.

He's gone on to be inducted into the Nashville Songwriters Hall of Fame.

via: Getty Images

As well as being honored with a coveted spot on the Hollywood walk of fame.

But, this week, there's been some heartbreaking news.

via: Getty Images

Mac has passed away aged seventy-eight.

Fans have been reacting to the tragic news online.

via: Getty Images

Tributes have been pouring in for the late music legend.

His manager confirmed the star's cause of death on Tuesday.

via: Getty Images

The star died Tuesday at a hospital in Nashville, according to his manager, Jim Morey.

Earlier this week, it was reported that the singer became critically ill after undergoing heart surgery.

via: Getty Images

And, sadly was unable to recover. "He was surrounded by the love of his life and wife of thirty-eight years, Lise, and his sons Scott, Noah, and Cody," Morey wrote on Facebook.

Rest in Peace, Mac Davis.

Our thoughts go out to his friends and family at this difficult time. For more on stars we've lost this year, scroll on.