Wizard character from the Lord of the Rings and other associated works in J.R.R. Tolkien's Tolkien's legendarium.
Actually an embodied Maiar spirit, i.e. the LotR version of an angel, descended in human form.
Ian McKellen portrayed Gandalf in The Lord of the Rings film series directed by Peter Jackson, after Sean Connery and Patrick Stewart both turned down the role.