According to an Canggal inscription discovered in the temple complex, the Shivaite King Sanjaya commissioned a Shivalinga sanctuary to be built on the Wukir hill, only 10 kilometers east of Borobudur.