Pandyan Dynasty
During this period, Rajendra Chola was not only exerting control over the Vengi kingdom of the Eastern Chalukyas, he was also constantly trying to expand their kingdom northwards into the Western Chalukya territory. For a while the Cholas were preoccupied with their invasion of Ceylon (modern Sri Lanka) and with their territorial issues with the Pandyan Dynasty of Madurai, and the rulers of Kerala. Taking advantage of this confusion and with an intent of reducing Chola power in Vengi, Jayasimha II interfered in Vengi after the death of its incumbent King Vimaladitya and installed Vimaladitya's son of his choice, Vijayaditya II on the throne. Vijayaditya initially did well with this support by occupying Bezwada. This was against the plans of the Rajendra Chola who wanted Rajaraja Narendra, a prince born to Vimaladitya's queen from the Chola clan. To further strengthen himself, Jayasimha II had marched south of the Tungabhadra river and occupied Bellary, the Raichur Doab and perhaps part of Gangavadi (modern south-east Karnataka) as well. Rajendra Chola employed a two-pronged attack. One army going into the Vengi kingdom to successfully assist Rajaraja Narendra over his claims over the Vengi throne, and the other into the Western Chalukaya kingdom itself. In the west, Jayasimha II was defeated in the battle of Masangi (Maski in modern Raichur district) in c.1021. But the Chola army could not proceed any further and the Tungabhadra river remained the tacit border between the two empires.