In the wake of this disaster, Rama Raya was killed in the battlefield and his brother Tirumala Deva Raya fled from the battle to Vijayanagar. He carried the major portion of the wealth of the Empire along with the puppet king Sadashiva Raya to Penugonda and tried to re-establish order in the empire. Later he shifted his capital to Chandragiri. With the massacre of nearly all other prominent members of the royal family, and given the prestige that Rama Raya had long enjoyed at court and among the nobility, it soon came to pass that his family inherited by default the position held hitherto by the royal family. Thus was the ""Aravidu"" dynasty of emperors born.