He was a noble and ascended the throne after King Bana. Ravana after obtaining the boon from Brahma that he cannot be killed by any God, demon, Naga or Yaksha, advances the heavenly cities. The Devas knowing about the boon do not fight him. Ravana is disappointed. He comes down to Earth and sees the capital of Ayodhya ruled by Anaranya. King Anaranya refuses to run away or give the kingdom to Ravana. A fierce fight ensures. Anaranya is wounded and curses Ravana “In the very line you deride Oh Ravana, there will be born a King who will destroy you and your race”.This curse was the precursor for Lord Rama to be born in the Sun or the Ikshvaku dynasty.