the karkota emperors were primarily hindu. they built spectacular hindu temples in their capital parihaspur. they however also allowed buddhism to flourish under them. stupa, chaitya and vihara can be found in the ruins of their capital. martand sun temple in the anantnag district were built by lalitaditya. it is the oldest known sun temple in india and was also one of the biggest temple complexes at the time.