Pala Empire
Gaya then passed on to the Pala Empire with Gopala as the ruler. It is believed that the present temple of Bodh Gaya was built during the reign of Dharmapala, son of Gopala.