Mahendra Varman I introduced the cave style of architecture during the Pallava period.