 Both empires replaced their early Theravada Buddhist religion with Vajrayana Buddhism in the 7th century.The Srivijaya empire flourished as a Buddhist cultural centre over 600 years from 650 to 1377 in Palembang, Sumatra.Built as a mandala on a hill from 770 to 825 in central Java, the Borobodur stands today as the living testament of the Srivijaya empire's grandeur.