Emperor Harsha, after consolidating his rule in North India, attempted to expand his empire southwards across the Vindhya range. However, his campaign was decisively halted at the banks of the Narmada River by Pulakesin II, the powerful ruler of the Chalukya dynasty of Vatapi (Badami).