is a Shingon Buddhist temple in Ukyō-ku, a western ward in the city of Kyoto, Japan. The site was originally a residence of Emperor Saga (785–842 CE), and later various emperors conducted their cloistered rule from here. The Saga Go-ryū school of ikebana has its headquarters in the temple. The artificial lake of the temple, Ōsawa Pond, is one of the oldest Japanese garden ponds to survive from the Heian period. History The origins of the temple dates back to the Heian period in the year 814 CE, when Emperor Saga had a palace, known as the Saga-in, constructed on the site. The palace later became his seat of retirement, known as Saga Rikyu imperial villa. According to tradition, when Japan suffered a serious epidemic, the Buddhist monk Kobo Daishi, the founder of Shingon Buddhism, suggested that the Emperor Saga personally copy an important Buddhist religious document called the Heart Sutra (Hannya Shingyō). The emperor made a handwritten copy, and the epidemic is said to have ended. The handwritten sutra is kept at the Shingyōden hall of the temple, and is displayed to the public once every sixty years, the next time being in 2078. Pilgrims still come to the temple to make copies of the sutra, which are kept in the temple with the original. In 876, thirty-four years after the death of Emperor Saga, his daughter Princess Masako (正子内親王; 810–879), who was consort of Emperor Junna, turned the complex into a temple and gave it the name Daikaku-ji. It was a monzeki temple (門跡), which means by tradition that only imperial princes were appointed abbot of the temple. Over the years, it became the retirement home of several emperors. In the 13th and 14th centuries the temple became the residence of retired emperors such as Emperor Go-Saga, Emperor Kameyama and Emperor Go-Uda, who could be ordained as monks, but continued to wield power in what became known as cloistered rule. In 1336, during the upheaval between the Kamakura period and the Muromachi period, the temple burned down, but was later rebuilt. During the Edo period, Emperor Go-Mizunoo brought in Momoyama period buildings from the Kyoto Imperial Palace. The temple was placed in a graveled courtyard next to the pond. The hondō, or main hall, and the Founder's Hall were also moved from the Kyoto Imperial Palace. The main images are of the Five Wisdom Kings, centered on Fudō.