The correct option is D Vikramaditya II
Throughout their reign, the Pallavas were in constant conflict with both Chalukyas of Badami in the north and the Tamil kingdoms of Chola and Pandyas in the south. Finally. the Pallava king Nandivarman was finally defeated by the Chola ruler Vikramaditya II in the 9th century CE.