Question: who shifted the capital of magadh from rajagrih of patliputra
Answer: It was the ancient capital city of the Magadha kings until the 5th century BC when Udayin ( 460 - 440 BC ) , son of Ajatshatru , moved the capital to Pataliputra .