Prambanan night view from the Trimurti open-air stage.
A temple was first built at the site around 850 CE by Rakai Pikatan and expanded extensively by King Lokapala and Balitung Maha Sambu the Sanjaya king of the Mataram Kingdom. According to the Shivagrha inscription of 856 CE, the temple was built to honor Lord Shiva, and its original name was Shiva-grha (the House of Shiva) or Shiva-laya (the Realm of Shiva). According to the Shivagrha inscription, a public water project to change the course of a river near Shivagrha Temple was undertaken during the construction of the temple. The river, identified as the Opak River, now runs north to south on the western side of the Prambanan temple compound. Historians suggest that originally the river was curved further to east and was deemed too near to the main temple.[citation needed] The project was done by cutting the river along a north to south axis along the outer wall of the Shivagrha Temple compound. The former river course was filled in and made level to create a wider space for the temple expansion, the space for rows of pervara (complementary) temples.
The statue of Durga Mahisasuramardini in northern cella of Shiva temple.
Some archaeologists propose that the statue of Shiva in the garbhagriha (central chamber) of the main temple was modelled after King Balitung, serving as a depiction of his deified self after death.
The temple compound was expanded by successive Mataram kings, such as Daksa and Tulodong, with the addition of hundreds of perwara temples around the chief temple. Prambanan served as the royal temple of the Kingdom of Mataram, with most of the state's religious ceremonies and sacrifices being conducted there. At the height of the kingdom, scholars estimate that hundreds of brahmins with their disciples lived within the outer wall of the temple compound. The urban center and the court of Mataram were located nearby, somewhere in the Prambanan Plain.
In the 930s, the court was shifted to East Java by Mpu Sindok, who established the Isyana Dynasty. An eruption of Mount Merapi volcano, located north of Prambanan in central Java, or a power struggle probably caused the shift. That marked the beginning of the decline of the temple. It was soon abandoned and began to deteriorate.
The ruins of Prambanan c. 1895, soon after their rediscovery.
The temples collapsed during a major earthquake in the 16th century. Although the temple ceased to be an important center of worship, the ruins scattered around the area were still recognizable and known to the local Javanese people in later times. The statues and the ruins become the theme and the inspiration for the Loro Jonggrang folktale. After the division of Mataram Sultanate in 1755, the temple ruins and the Opak River were used to demarcate the boundary between Yogyakarta and Surakarta (Solo) Sultanates, which was adopted as the current border between Yogyakarta and the province of Central Java.
The Javanese locals in the surrounding villages knew about the temple ruins before formal rediscovery, but they did not know about its historical background: which kingdoms ruled or which king commissioned the construction of the monuments. As a result, the locals developed tales and legends to explain the origin of temples, infused with myths of giants, and a cursed princess. They gave Prambanan and Sewu a wondorous origin; these were said in the Loro Jonggrang legend to have been created by a multitude of demons under the order of Bandung Bondowoso.
The temple attracted international attention early in the 19th century. In 1811 during Britain’s short-lived occupation of the Dutch East Indies, Colin Mackenzie, a surveyor in the service of Sir Thomas Stamford Raffles, came upon the temples by chance. Although Sir Thomas subsequently commissioned a full survey of the ruins, they remained neglected for decades. Dutch residents carried off sculptures as garden ornaments and native villagers used the foundation stones for construction material.
Location of Prambanan in Indonesia.
In the early 1990s the government removed the market that had sprung up near the temple and redeveloped the surrounding villages and rice paddies as an archaeological park. The park covers a large area, from Yogyakarta-Solo main road in the south, encompassing the whole Prambanan complex, the ruins of Lumbung and Bubrah temples, and as far as the Sewu temple compound in the north. In 1992 the Indonesian government created a State-owned Limited Liability Enterprise (PERSERO), named "PT Taman Wisata Candi Borobudur, Prambanan, dan Ratu Boko." This enterprise is the authority for the park management of Borobudur Prambanan Ratu Boko and the surrounding region. Prambanan is one of the most visited tourist attraction in Indonesia.
The Trimurti open-air and indoor stages on the west side of the temple, across the Opak River, were built to stage the ballet of the traditional Ramayana epic. This traditional Javanese dance is the centuries-old dance of the Javanese court. Since the 1960s, it has been performed every full moon night in the Prambanan temple. Since then, Prambanan has become one of the major archaeological and cultural tourism attractions in Indonesia.
Main shrine dedicated to Shiva of Prambanan temple complex
Since the reconstruction of the main temples in the 1990s, Prambanan has been reclaimed as an important religious center for Hindu rituals and ceremonies in Java. Balinese and Javanese Hindu communities in Yogyakarta and Central Java revived their practices of annually performing their sacred ceremonies in Prambanan, such as Galungan, Tawur Kesanga, and Nyepi.
The temple was damaged during the 2006 Yogyakarta earthquake. Early photos suggested that although the complex was structurally intact, the damage was significant. Large pieces of debris, including carvings, were scattered over the ground. The temple was closed to visitors until the damage could be fully assessed. Eventually, the head of Yogyakarta Archaeological Conservation Agency stated that it would take months to identify the full extent of the damage. Some weeks later in 2006, the site was re-opened for visitors.
There is great interest in the site. In 2008, 856,029 Indonesian visitors and 114,951 foreign visitors visited Prambanan. On 6 January 2009 the reconstruction of Nandi temple finished. As of 2009, the interior of most of the temples remains off-limits for safety reasons.
The Prambanan temple compound amid the morning mist.
On 14 February 2014, major tourist attractions in Yogyakarta and Central Java, including Borobudur, Prambanan, and Ratu Boko, were closed to visitors after being severely affected by the volcanic ash from the eruption of Kelud volcano in East Java, located about 200 kilometers east of Yogyakarta. The Kelud volcano erupted on 13 February 2014 with explosions heard as far away as Yogyakarta. Four years earlier, Prambanan was spared from the 2010 Merapi volcanic ash and eruption since the wind and ashfall were directed westward and affected Borobudur instead.
In 2012, the Balai Pelestarian Peninggalan Purbakala Jawa Tengah (BP3) or Central Java Heritage Preservation Authority suggested that the area in and around Prambanan should be treated as sanctuary area. The proposed area is located in Prambanan Plain measured 30 square kilometers spanned across Sleman and Klaten Regency, which includes major temples in the area such as Prambanan, Ratu Boko, Kalasan, Sari and Plaosan temples. The sanctuary area is planned to be treated in a similar fashion to the Angkor archaeological area in Cambodia, which means the government should stop or decline permits to construct any new buildings, especially multi-storied buildings, as well as BTS towers in the area. This is meant to protect this archaeologically rich area from modern day visual obstructions and the encroachments of hotels, restaurants, and any tourism-related buildings and businesses.
(source)