earlier polity is linked to the earlier temple structures in Dieng Plateau, in the northern part of Central Java, which is the oldest surviving structure found in Central Java. The earlier kingdom linked as the predecessor of Mataram kingdom is Kalingga, located somewhere in Central Java northern coast. The story of Sanna and Sanjaya are also described in the Carita Parahyangan, a book from a later period composed around late 16th-century, which mainly describes the history of Pasundan (the Sunda Kingdom). However, in this book, Sanjaya is described as Sanna's son, rather than his nephew. It also mentions that Sanna was defeated by Purbasora, King of Galuh, and retreated to Mount Merapi. So, to avenge the defeat of his father, Sanjaya attacked Galuh and killed Purbasora and his family. Afterwards, Sanjaya reclaimed Sanna's kingdom and ruled West Java, Central Java, East Java, and Bali. He also battled the Malayu and Keling (against their king, Sang Srivijaya). Although the manuscript seems to be romanticised, vague and not providing certain details on the period, nevertheless the almost exact name and theme of the story with historical Canggal inscription seems to confirm that the manuscript was based or inspired from the historical event. Golden age The period between the reign of King Panangkaran to King Balitung (span between 760 and 910) that roughly lasted for 150 years, marked the apogee of Javanese classic civilisation. This period witnessed the blossoming of Javanese art and architecture, as numbers of majestic temples and monuments were erected and dominated the skyline of Kedu and Kewu Plain. Most notable of these temples are Sewu, Borobudur and Prambanan temple. The Shailendras are known as ardent temple builders. King Sanjaya was a Shaivite, and yet his successor Panangkaran was a Mahayana Buddhist. This shift of faith, from Shaivite Sanjaya to Buddhist Panangkaran has raised problematic questions among scholars; whether there were two competing royal families that dominated the political landscapes in Central Java, that each are patrons of either Shaivite Hinduism or Mahayana Buddhism. Or more recently suggested theory, that there were only one dynasty—the Shailendras—and there was only the shift or split of royal patronage in favour to Hinduism or Buddhism. The great builder Panangkaran (r. 760–780) was an enthusiastic developer, he was credited for at least five major temple projects conducted and started during his reign. According to the Kalasan inscription, dated 778 and written in the Pranagari