Combine facts and answer this: Gandalf is a fictional character played by English stage and screen actor, Ian McKellen, in what two J.R.R. Tolkien novels turned films?
"The Hobbit" and "The Lord of the Rings"