To that end he adopted the alias 'Pain' to conquer Amegakure and invented the Six Paths of Pain to overcome his handicap and kill Hanzo, becoming a 'god' in the eyes of Amegakure's citizens.
Though the encounter crippled Nagato, the experience of having his best friend die caused Nagato to come to the realization that peace could only be attained by teaching the world the pain caused by war.
However, a trap laid by Amegakure's dictator Hanzo led to Yahiko's death, causing Nagato to take over as the new leader of the organization. Nagato desired peace for the world, aiding Yahiko to create the Akatsuki to achieve that shared dream. Orphaned from the war-torn country of Amegakure, Nagato met fellow orphans Konan and Yahiko before they are all trained by Jiraiya. 'Saṃsāra Eye') into the child's body, giving him the ability to use powerful abilities based on the six Buddhist paths of reincarnation. At a young age, Nagato was secretly visited by Madara Uchiha who implanted his Rinnegan (輪廻眼, lit. The first and leading 'Pain' appearing in the series is actually Yahiko (弥彦), one of six animated corpses collectively known as 'The Six Paths of Pain' (ペイン六道) that are all controlled by one person's will: Nagato (長門) of Amegakure.