In southern India, power was shared by the Pallavas in Kanchipuram and the Pandyas and Cholas vying for control of Thanjavur (Tanjore).

Does it follow that "Control of Thanjavur was being contested by the Pandyas and Cholas."?
yes