Cumberbatch's television work includes appearances in Silent Witness (2002) and Fortysomething (2003) before playing Stephen Hawking in the television film Hawking in 2004. He has starred as Sherlock Holmes in the series Sherlock since 2010. He has also headlined Tom Stoppard's adaptation of Parade's End (2012), The Hollow Crown: The Wars of the Roses (2016) and Patrick Melrose (2018). In film, Cumberbatch has starred in Amazing Grace (2006) as William Pitt the Younger, Star Trek Into Darkness (2013) as Khan, 12 Years a Slave (2013) as William Prince Ford, The Fifth Estate (2013) as Julian Assange and The Imitation Game (2014) as Alan Turing. From 2012 to 2014, through voice and motion capture, he played the characters of Smaug and the Necromancer in The Hobbit film series. In superhero films set in the Marvel Cinematic Universe, he has played Dr. Stephen Strange in Doctor Strange (2016), Thor: Ragnarok (2017), Avengers: Infinity War (2018) and Avengers: Endgame (2019).