Fresh from his latest turn as Gandalf in Peter Jackson’s Hobbit movies, Ian McKellen is headed to the small screen. He’ll star with Derek Jacobi in ITV sitcom Vicious, from Family Guy and Will & Grace producer Gary Janetti. Janetti is scripting and co-created the comedy with playwright Mark Ravenhill. The British acting icons will play partners Freddie and Stuart, two men who have lived together in a small Covent Garden apartment for nearly 50 years. Freddie was a budding actor and Stuart a barman when they first met, but their careers are now pretty much over and their lives consist of reading books, walking their dog and bickering. Frances De La Tour (Hugo, Alice In Wonderland) plays the pair’s best friend. Vicious is produced by the Shine Group’s Brown Eyed Boy in association with Shine’s Kudos Film and TV. Brown Eyed Boy’s Gary Reich is co-producing with Janetti. Ed Bye is directing. Executive Producer is Jemma Rodgers. ITV will air the show in 2013.

For all of Deadline's headlines, follow us @Deadline on Twitter.