During the 5th to 13th centuries, Southeast Asian empires were influenced directly from India and followed Mahayana Buddhism. The Chinese pilgrim Yijing noted in his travels that in these areas, all major sects of Indian Buddhism flourished.[3] Srivijaya to the south and the Khmer Empire to the north competed for influence and their art expressed the rich Mahāyāna pantheon of bodhisattvas. From the 9th to the 13th centuries, the Mahāyāna and Hindu Khmer Empire dominated much of the Southeast Asian peninsula. Under the Khmer Empire, more than 900 temples were built in Cambodia and in neighboring Thailand.