Gandalf the Grey is a main character in the books "The Hobbit" and "The Lord of the Rings". In the Third Age Gandalf came to Middle-earth as one of the Istari (or wizards). He worked much to help in the destruction of the One Ring, and in the War of the Ring. Later in the Third Age during the War of the Ring, he was later reborn as "Gandalf the White"' and succeeded Saruman as the head of the Istari order. Gandalf is also known by other names: Olórin, Mithrandir, Tharkûn, Incánus, Gandalf Stormcrow, Gandalf Greyhame, Láthspell, White Rider, The Grey Pilgrim, Old Greybeard, Gandalf the Wandering Wizard. Círdan gave Gandalf the Elven Ring Narya, the Ring of Fire, which he had been given by Gil-galad. At the end of the Third Age, Gandalf left Middle-earth for Valinor, together with the bearers of the other two Elven Rings and the Ring-bearers of the One Ring.