<Tr> <Th> Partner (s) </Th> <Td> Brian Taylor (1964--1972) Sean Mathias (1978--1988) </Td> </Tr> <Tr> <Th> Website </Th> <Td> Official website </Td> </Tr> <P> Sir Ian Murray McKellen, CH, CBE (born 25 May 1939) is an English actor . He is the recipient of six Laurence Olivier Awards, a Tony Award, a Golden Globe Award, a Screen Actors Guild Award, a BIF Award, two Saturn Awards, four Drama Desk Awards, and two Critics' Choice Awards . He has also received two Oscar nominations, four BAFTA nominations and five Emmy Award nominations . </P> <P> McKellen's career spans genres ranging from Shakespearean and modern theatre to popular fantasy and science fiction . The BBC states his "performances have guaranteed him a place in the canon of English stage and film actors". A recipient of every major theatrical award in the UK, McKellen is regarded as a British cultural icon . He started his professional career in 1961 at the Belgrade Theatre as a member of their highly regarded repertory company . In 1965 McKellen made his first West End appearance . In 1969 he was invited to join the Prospect Theatre Company to play the lead parts in Shakespeare's Richard II and Marlowe's Edward II, and he firmly established himself as one of the country's foremost classical actors . In the 1970s McKellen became a stalwart of the Royal Shakespeare Company and the National Theatre of Great Britain . He achieved worldwide fame for his notable film roles, which include Gandalf in The Lord of the Rings and The Hobbit trilogies and Magneto in the X-Men films, both of which introduced McKellen to a new generation . </P>

Who played gandalf in lord of the rings trilogy