The death of Devapala ended the period of ascendancy of the Pala Empire and several independent dynasties and kingdoms emerged during this time. However, Mahipala I rejuvenated the reign of the Palas. He recovered control over all of Bengal and expanded the empire. He survived the invasions of Rajendra Chola and the Chalukyas. After Mahipala I the Pala dynasty again saw its decline until Ramapala, the last great ruler of the dynasty, managed to retrieve the position of the dynasty to some extent. He crushed the Varendra rebellion and extended his empire farther to Kamarupa, Odisha and Northern India.