and Gandalf is inspired by none other than Odin the All-Father, the most important Viking deity. Even Tolkien’s One Ring is inspired by the Norse story of the cursed ring Andvaranaut.
And, as a final touch, Odin connects Asgard to Midgard with a rainbow bridge called Bifrost. This is an adapted version of the full Viking creation myth, focusing solely on Odin's part in it.