In its olden days, this destination was the capital of the state of Magadh Mahajanpad. During that time, the name was Rajgrih, which means the 'Royal Home'. Connection of the region with Buddhism developed due to the fact that Lord Buddha spent a long time in Rajgir. The place also finds it mention in Mahabharata, the Hindu epic. In the epic, the destination is mentioned as Girivraja and the ruler was Jarasandha.