National treasure Mary, 81, announced she would be leaving GBBO in August, after it was revealed the show had been sold to Channel 4 in a big money deal.
In a statement, Mary insisted that she wished to remain "loyal" to the BBC. GBBO hosts Mel Giedroyc and Sue Perkins also announced their departure, however Paul Hollywood is sticking with the programme when it switches channels.
It has now been announced Mary will be at the helm of a brand new cooking series with the BBC, which will see her visiting grand houses around the country before unearthing their cooking traditions.
Mary Berry's Secrets From Britain's Greatest House is thought to feature historical residences such as Hampton Court Palace in Surrey, although the exact homes are yet to be confirmed.
Announcing her news, Mary said: "I am so excited to be doing this new series with the BBC - I have always had an enquiring mind so I know I will be inspired by the great houses we visit."
Charlotte Moore, director of content at the BBC, told the Broadcast Commissioning Forum: "This series will be a real treat for BBC One viewers to go behind the scenes with Mary Berry and explore Britain's great houses through her love of cooking."
The Great British Bake Off is produced by Love Productions, and the company's decision to leave the BBC and move to Channel 4 has been a controversial one.
Meanwhile, last week, Candice Brown was crowned the 2016 winner of the show. Watch the moment she won below!