The Avatar came to be when Wan permanently fused with Raava, the spirit of light and peace, during the Harmonic Convergence of 9,829 BG. When Wan was dying, Raava assured him that they would be together throughout all his lifetimes, heralding the beginning of the Avatar Cycle and ensuring the continuation of the Avatar's role as peacekeeper of both worlds.