Aerial shots of the hall are used in the movie
Bosses at Derbyshire's Hardwick Hall are hoping an appearance in the new Harry Potter movie will help boost visitor numbers.
The famous house, near Chesterfield, doubles up as the dark and sinister Malfoy Manor in The Deathly Hallows.
Movie bosses loved the building's huge windows and six-tower skyline.
Exterior shots were filmed from a helicopter and the film-makers photographed and measured inside to help shoot indoor scenes at the studio.
Rachel Albanese, the Hall's visitor experience manager, told BBC Radio Derby: "Hardwick Hall was a perfect setting for Malfoy Manor.
"It's a beautiful building and very mysterious.
"It certainly raises our profile and puts us on the map, not just as a film location but somewhere to visit.
"It couldn't have come at a better time for us as we're in the middle of a major project to move our shop and restaurant down to the stableyards so we can be open all year round."
The Hall was built by Bess of Hardwick in the 1590s and was featured in the 2001 film Anita and Me as well as several television documentaries.
Bosses opted to keep the filming secret although there were rumours among people living nearby.
Rachel explained: "We've had filming in the past but nothing as major as this.
"There was a bit of talk about it towards the end of last year but we've managed to keep it quiet until now."
Rachel and her colleagues were invited to a cast and crew screening of the new film in London at the start of November.
She said: "It was absolutely amazing to go and see it before everyone else.
"As a Harry Potter fan I can't tell you how excited I was."
Time will tell if Hardwick Hall becomes a tourist attraction for Potter fans like platform 9 3/4 at King's Cross station but visitor information can be found at the