After the rains retreat the monks who had split into two groups agreed to make up their differences because the local lay people were not making any offerings to them. The monks sent a representative to see the Buddha and invite him to go back to the city. The elephant palilayaka was heartbroken to see the Buddha go, and followed him out of the forest, and even made as if he would follow the Buddha into the city. The Buddha turned to him and said, "Palilayaka. This is the limits of your territory. From here on is the territory of man, which are a great danger to animals such as you. You cannot come with me! Palilayaka the elephant stood and roared in grief, but did not dare follow the Buddha. As soon as the Buddha was out of sight, his heart broke and he died right there. The texts state that the elephant and the monkey, after dying at that time, were reborn as devas in the Tavatimsa heaven.