The Battle of Vatapi was a decisive engagement which took place between the Pallavas and Chalukyas near the Chalukya capital of Vatapi (present day Badami) in 642. The battle resulted in the defeat of the Chalukya king Pulakeshin II in 642 CE and the commencement of Pallava occupation of Vatapi lasted until 654.