 Temple worship according to Āgamic rules can be said to have started during the Pallava dynasty (551-901 A.D.) in South India, but they were fully under establishment during the Chola dynasty (848-1279 A.D.) The temples during the Chola period expanded to Sri Lanka and islands in South East Asia.The temple complex was expanding with niches for various deities on the stipulated sides of the sanctum.