text: In southern India , power was shared by the Pallavas in Kanchipuram and the Pandyas and Cholas vying for control of Thanjavur ( Tanjore ) .
  
  ###
  
  The Pandyas and Cholas had allied to fight the Pallavas for control of Kanchipuram .