The Sailendra dynasty built this Largest Buddhist monument in the world between AD 780 and 840. It was built as a place for glorifying Buddha and a pilgrimage spot to guide mankind from worldly desires into enlightenment and wisdom according to Buddha.
http://borobudurpark.com/en/temple/borobudur-2/