To help Naruto bring peace, Nagato revived all those who died during the Leaf invasion. The surviving villagers were the first to witness the change in Nagato’s heart and, consequently, Naruto’s victory over Paine. Kakashi was resurrected as soon as his conversation with his father ended, allowing Sakumo to move on with the knowledge that his son is not ashamed of his father. Because of his technique, Nagato dies. On his last breath, he warns Naruto that his path will not be easy, but Naruto is the only one who can walk it. Conan takes the bodies of Nagato and Pathi Deva to Hidden Rain and swears loyalty to Naruto, as he will now carry the dream of her friends.