According to the Canggal inscription dated 732 CE, the area traditionally known as Mataram became the capital of the Medang Kingdom, identified as Mdang i Bhumi Mataram established by King Sanjaya of Mataram. The inscription was found in a Hindu temple in Central Java, 40 km away from Yogyakarta and 20 km away from the giant Borobudur temple complex. This Hindu temple itself was on the border between the area of the Hindu Sañjaya dynasty and the area of the Buddhist Shailendra dynasty. Mataram became the centre of a refined and sophisticated Javanese Hindu-Buddhist culture for about three centuries in the heartland of the Progo River valley, on the southern slopes of Mount Merapi volcano. This time period witnessed the construction of numerous candi, including Borobudur and Prambanan.