Solution:Rajagriha (present-day Rajgir) was the capital of Magadha before the 4th century BC; later, Pataliputra (present-day Patna) became the capital of Magadha.
Bimbisara, considered to be the real founder of the Magadha Empire, made Rajgir his capital.