With Rama Raya, who was the regent of Sadasiva , the fourth dynasty of Aravidus came to power.He was the son in law of Krishnadeva Raya.Rama Raya interferred in the affairs of the Deccan Sultans. As a result the Muslim rulers formed a confederacy against the Vijayanagara empire. The battle took place on the banks of river Krishna (Battle of Talikota ). The Vijayanagar forces were successful at first but the treachery of their two generals led to their final defeat. Rama Raya was killed by the Sultan of Ahmadnagar. His brother fled the city carrying with him the imperial treasure and the royal family members.Hampi was left undefended and the conquerers ruthlessly destroyed its beauty. Thereafter the city never recovered its splendour.