Nagabhatta I (c. 730-756 CE) was the contemporary of Dantidurga Rashtrakuta (c. 753-756 CE), who defeated the Pratiharas. Vatsaraja was Nagabhatta I's successor, while Nagabhatta II ruled later (c. 805-833 CE). The Rashtrakuta-Pratihara rivalry defined early medieval politics.