who shifted capital of magadh from rajagrih to patliputra
Magadha Accounts differ slightly as to the cause of King Ajatashatru's war with the Licchavi, an area north of the river Ganges. It appears that Ajatashatru sent a minister to the area who worked for three years to undermine the unity of the Licchavis. To launch his attack across the Ganges River, Ajatashatru built a fort at the town of Pataliputra. Torn by disagreements the Licchavis fought with Ajatashatru. It took fifteen years for Ajatashatru to defeat them. Jain texts tell how Ajatashatru used two new weapons: a catapult, and a covered chariot with swinging mace that has been compared to a modern tank. Pataliputra began to grow as a centre of commerce and became the capital of Magadha after Ajatashatru's death.
Gurjara-Pratihara dynasty The metropolis of Kannauj had suffered a power vacuum following the death of Harsha without an heir, which resulted in the disintegration of the Empire of Harsha. This space was eventually filled by Yashovarman around a century later but his position was dependent upon an alliance with Lalitaditya Muktapida. When Muktapida undermined Yashovarman, a tri-partite struggle for control of the city developed, involving the Pratiharas, whose territory was at that time to the west and north, the Palas of Bengal in the east and the Rashtrakutas, whose base lay at the south in the Deccan.[32][33] Vatsraja successfully challenged and defeated the Pala ruler Dharmapala and Dantidurga, the Rashtrakuta king, for control of Kannauj.