During the sixth and the seventh centuries, the western Deccan saw the rise of the Chalukyas based in Vatapi. The Pallavas had the more difficult existence of the two as they had to fight on two fronts - against the Pandyas as wells as the Chalukyas.