Aang awakens to find the group disguised as Fire Nation soldiers heading West on a Fire Nation ship, while Zuko has been restored to his position as crown prince. Sokka has planned a small-scale invasion of the Fire Nation to capture the Fire Lord's palace and defeat Fire Lord Ozai, taking advantage of the solar eclipse. The invasion will be staged by a ragtag group of benders and warriors who Aang has helped along his journey. Initially the invasion proceeds as planned, but Aang fails to find the Fire Lord before the eclipse ends, because Azula knew about the invasion. The invasion ultimately fails, and only Aang and his closest friends are able to escape. Zuko, in a change of heart, decides to defy his father and join the Avatar. Zuko catches up with Aang at the Western Air Temple and offers to teach Aang Firebending. After some reluctance from Katara and Sokka, Team Avatar allows Zuko to join the group. In the series finale, Aang defeats Fire Lord Ozai by taking away his ability to firebend. With Ozai defeated, the war quickly ends. Zuko is crowned the new Fire Lord and, with the help of the Avatar and his friends, begins rebuilding the four nations. The series ends as Aang and Katara kiss in front of the sunset.