Pulakeshin II (IAST: Pulakeśin, 610–642 CE), also spelt Pulakesi II and Pulikeshi II, was the most famous ruler of the Chalukya dynasty. During his reign, the Chalukyas of Badami saw their kingdom extend over most of the Deccan.
Ereya, who assumed the name Pulakeshin on his coronation, was born to the Chalukya king Kirtivarman I. When Kirtivarman I died in 597, Ereya was still a young boy and Kirtivarma's brother Mangalesha governed the young kingdom as regent until Ereya came of age. Mangalesha was a capable ruler and continued expanding the kingdom. However, when Ereya came of age, desire for power perhaps made Mangalesha deny prince Ereya his rightful place on the Chalukya throne, and he sought to perpetuate his own line by making his son heir-apparent.
Ereya took shelter in the Bana territory (Kolar), organised an army with the help of his associates and declared war on his uncle. According to the Peddavadagur inscription Mangalesha was defeated and killed in the ensuing battle at Elapattu Simbige (in Anantapur District, AP). Ereya ascended the Chalukya throne as Pulakeshin II and assumed the title Chalukya Parameshwara.