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.