The Maitraka dynasty ruled western India (now Gujarat) from approximately 475 to approximately 776 CE from their capital at Vallabhi. With the sole exception of Dharapaṭṭa (the fifth king in the dynasty), who followed the Mithraic mysteries, they were followers of Shaivism. Their origin is uncertain but they were probably Chandravanshi Kshatriyas. More than hundred temples of this period are known, mostly located along the western coast of Saurashtra.