The Prambanan temple is the largest Hindu temple of ancient Java, and the first building was completed in the mid-9th century. It was likely started by Rakai Pikatan as the Hindu Sanjaya Dynasty's answer to the Buddhist Sailendra Dynasty's Borobudur and Sewu temples nearby.
Historians suggest that the construction of Prambanan probably was meant to mark the return of the Hindu Sanjaya Dynasty to power in Central Java after almost a century of Buddhist Sailendra Dynasty domination.
The construction of this massive Hindu temple signifies that the Medang court had shifted its patronage from Mahayana Buddhism to Shaivite Hinduism.