Hagoromo Ōtsutsuki (Ten Tails)

The Sage of the Six Paths (六道仙人, Rikudō Sennin) was said to be the legendary figure who founded the ninja world and was the creator and first user of modern ninjutsu, essentially making him the first shinobi in the modern context of the term.

Background
According to Jiraiya, the Sage was a priest who appeared long ago in an age of endless war. He was the first to explain the truth about chakra and tried to use his power and wisdom to lead the world to peace instead of war. The Sage traveled throughout the world, spreading his ideas and religion, the Shinobi Sect (忍宗, Ninshū), which eventually came to be known as ninjutsu. His great deeds and true desire to bring peace to the war-torn world led him to become widely known as the Savior of the World. According to legend, the Sage also used Chibaku Tensei to create the moon at some point during his life.

According to Madara Uchiha, centuries before the main story line, the sage defeated the most powerful monster in the ninja world, the Ten-Tailed Beast. In order to protect the world from the beast the sage developed a new technique. This technique sealed the beast into the sage so he could control it. This was why the sage was known as a god to the ninja world. Though he had sealed the beast, its powers were so great that the seal would break after the sage had died. Knowing this, the sage used the rest of his power to divide the beast's power in to nine parts; now known as the nine tailed beasts. The Ten-Tails' body was then sealed away and sent into the sky where no one could reach it, thus becoming the moon.

The Sage's ultimate wish to establish peace throughout the world was a goal that could never be achieved within his lifetime alone. Near his end, the Sage therefore entrusted his strength, dream and legacy to two brothers. The older brother, who inherited the Sage's "eyes": the power of his chakra and his spiritual energy, believed that power was the true key to peace. The younger brother, who inherited the Sage's "body"; his willpower and physical energy, believed that love was the true key to peace.

On his deathbed, the Sage chose the younger brother to be his successor. Overcome by bitterness and envy, the older brother attacked the younger, beginning a war between them. Their feud would continue on through their descendants: the Senju clan and the Uchiha clan.

Centuries later, the Rinnegan itself would resurface in Nagato. Nagato's connection to the Sage has yet to be explained, although Jiraiya believed that the Sage could have somehow been "reborn" as Nagato in the present era. Nagato himself, however, admitted that his own power paled in comparison to that of the Sage. Still others, such as Kakashi Hatake, believed that the Sage is merely a myth, and that the Rinnegan is merely a mutation.