EastEnders star June Brown is among the stars nominated for this year's British Academy Television Awards.
Her nomination for best TV actress marks the first time the veteran soap star has been recognised by Bafta.
Stephen Fry, Harry Hill and Jonathan Ross compete for the best entertainment performance prize alongside ITV duo Anthony McPartlin and Declan Donnelly.
BBC drama Hancock and Joan has received three nominations, including a best actor nod for star Ken Stott.
Stott's competition includes rising star Ben Whishaw for Criminal Justice and Jason Isaacs, cited for his role as comedian Harry H Corbett in The Curse of Steptoe.
Hancock and Joan also gets a best actress nod for Maxine Peake, with its third nomination coming in the best single drama category.
Brown's nomination marks the first time a soap actress has been nominated in her category since Jean Alexander - Hilda Ogden in Coronation Street - was shortlisted in 1988.
The 82-year-old, who has played Dot Cotton since EastEnders' launch in 1985, is cited for the January 2008 solo episode in which she appeared alone.
Fry is recognised for both QI and his Gutenberg Press documentary
Other best actress nominees include Andrea Riseborough, recognised for playing the young Margaret Thatcher in The Long Walk to Finchley.
Elsewhere, Brown's former EastEnders co-star Ross Kemp gets two nominations for his factual programmes in Afghanistan and Kenya.
Welsh star Rob Brydon gets a nomination for best comedy performance for his role in BBC sitcom Gavin and Stacey.
The show was the big winner at last year's event, winning best comedy performance for James Corden and the audience award.
Peep Show's David Mitchell, also recognised in the comedy performance category, gets a second nod for best comedy programme for That Mitchell and Webb look.
Fry, recognised elsewhere for his hosting role on QI, also gets a second nomination for his BBC Four documentary on the Gutenberg Press.
QI gets another nomination for best entertainment programme, where it faces competition from ITV's The X Factor, Harry Hill's TV Burp and The Friday Night Project (also known as The Sunday Night Project).
Peep Show is one of four shows shortlisted for the best situation comedy award, with the BBC's Outnumbered and Channel 4's The IT Crowd also nominated.
In the features category, Sir Alan Sugar's reality contest The Apprentice goes up against Jeremy Clarkson's motoring show Top Gear.
EastEnders, meanwhile, receives its 10th nomination for best continuing drama, with previous winners Casualty and Emmerdale also recognised.
This year's awards will be held on 26 April at the Royal Festival Hall on London's South Bank.
The nominations for the programme of the year award, the only prize voted for by the public, will be announced shortly.