The empire started disintegrated after the death of Devapala, and his successor Narayanapala lost control of Assam and Orissa. He also briefly lost control over Magadha and north Bengal. Gopala II lost control of Bengal, and ruled only from a part of Bihar. The Pala empire disintegrated into smaller kingdoms during the reign of Vigrahapala II. Mahipala recovered parts of Bengal and Bihar. His successors lost Bengal again. The last strong Pala ruler, Ramapala, gained control of Bengal, Bihar, Assam and parts of Orissa. By the time of Madanapala's death, the Pala kingdom was confined to parts of central and east Bihar along with northern Bengal.