Rama's loyal brother, Laxmana had been cursed by Sage Durvasa and had gone to heaven. Rama could not bear this loss. He decided to go to heaven himself. He wanted to crown Bharata as the king of Ayodhya, but both Bharata and Shatrughna felt that they were not the rightful successors to the throne.
Rama wanted to know what the people of Ayodhya wanted. The people of Ayodhya loved Rama and announced that they would also accompany Rama to heaven. Rama had to agree to their wish. He bid a tearful farewell to his faithful devotee Hanuman, and blessed him. Then, he went to the banks of the Saryu River and walked into the water. The people of Ayodhya, who had been accompanying Rama all the while, followed their king and went to heaven.