Dancing with the Stars is shaking things up. It has been confirmed that both Tom Bergeron and Erin Andrews will be leaving the show ahead of season 29. Bergeron has been hosting the show since its inception on ABC in 2005, while Andrews boarded the popular competition series in 2014.

The news comes as a surprise, as Tom Bergeron has been heavily associated with the show since the beginning. A representative for Bergeron said, "ABC opted not to pick up Tom's option." So it seems they will be getting a new host when the show returns. Taking to Twitter, Bergeron said the following.

"Just informed Dancing With the Stars will be continuing without me. It's been an incredible 15 year run and the most unexpected gift of my career. I'm grateful for that and for the lifelong friendships made. That said, now what am I supposed to do with all of these glitter masks?"

Erin Andrews similarly confirmed that she would be departing the show as well. Andrews competed on Dancing With the Stars season 10. She was later brought on board to co-host the series alongside Tom Bergeron in season 18. In a Twitter post, Andrews said the following.

"Thank you ABC and the entire Dancing with the Stars family for six memorable seasons. Those years wouldn't have been as special without my loving host Tom Bergeron, the talented dancers and witty judges. I will always cherish my days on that set, even if I wasn't the best at walking in heels."

There is no word currently on who may be brought in to replace Tom Bergeron and Erin Andrews. It's said that ABC is looking to refresh the show's format heading into season 29. In a joint statement, AMC and producer BBC Studios confirmed the news and said that the show will be heading in a new direction.

"Tom Bergeron will forever be part of the Dancing with the Stars family. As we embark on a new creative direction, he departs the show with our sincerest thanks and gratitude for his trademark wit and charm that helped make this show a success. Erin will also not be returning, and we appreciate all that she brought to the ballroom. Fans have been rooting for her since she originally competed as a contestant back in 2010, and her signature sense of humor has become a hallmark of the show."

Several of those who work on the show, as well as former contestants, such as Sharna Burgess and Lea Thompson, took to social media to show their support. Dancing With the Stars is based on the U.K. series Strictly Come Dancing. There is no word yet on when season 29 will debut. However, former Bachelorette star Kaitlyn Bristowe has been tapped to compete next season. This news was previously reported by Entertainment Tonight.