Harry Potter And The Cursed Child has become the most nominated new play in Olivier history.
The spell-binding production received nods in 11 categories including best director, best new play and outstanding achievement in music for next month's awards.
In the best actor category, Jamie Parker, who plays Potter in the sequel to JK Rowling's books, is up against Buried Child actor Ed Harris, Travesties star Tom Hollander and six-time winner Sir Ian McKellen who receives his 10th nomination.
READ MORE: Feminists call for removal of Milo Yiannopoulos from Glasgow University rector candidacy
In the musical categories, Groundhog Day, which opened on Broadway this month, receives eight nominations while Andrew Lloyd-Webber, as a composer, collects three nods for three separate shows, Sunset Boulevard, Jesus Christ Superstar and School Of Rock The Musical.
Former Labour MP Glenda Jackson's role in King Lear sees her up for her first Olivier since 1984 in the best actress category.
Jackson will go up against former Doctor Who actress Billie Piper, who has received rave reviews for her performance in the title role of Yerma, The Glass Menagerie's Cherry Jones and Hedda Gabler's Ruth Wilson.
Co-written by Rowling, Jack Thorne and John Tiffany, who is up for best director, The Cursed Child is also nominated for best set design, best lighting design, best costume and best sound.
Noma Dumezweni, who plays Hermione in the play, is shortlisted for best actress in a supporting role while the production's choreographer, Steve Hoggett, is also nominated.
In the best supporting actor category, Anthony Boyle, who plays Scorpius Malfoy, will face competition from Rafe Spall who is nominated for his performance as sinister Judge Brack in Hedda Gabler.
Travesties' star Freddie Fox and The Glass Menagerie's Brian Smith are also listed for the accolade.
Renowned actor Sir Kenneth Branagh will also be honoured for his contribution to theatre at this year's awards.
Julian Bird, executive producer of the Olivier Awards said: "In a year of global change, the nominees for this year's awards demonstrate London theatre's ability to challenge our perceptions, stir our emotions, and entertain us.
READ MORE: Feminists call for removal of Milo Yiannopoulos from Glasgow University rector candidacy
"From new British plays and musicals, to reinventions of well-known titles, the Oliviers proudly celebrate an extraordinary range of acting and creative talent."
The nominations were announced by former winners Denise Gough and Matt Henry.
The Olivier Awards 2017 with Mastercard will take place at the Royal Albert Hall on Sunday April 9.
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules here