The 59th Emperor of Japan, Emperor Uda, abdicated early in the Heian Era. He then took the monk’s vows, founded the Ninnaji Temple in 888 AD, and retired there as its head priest. In this capacity, he constructed a residence known as Omuro. Because its palatial design was reminiscent of the imperial household at Gosho, the living compound eventually came to be known as Omuro Gosho, or the Omuro Imperial Palace. Thus, the historical bonds between the temple and the imperial family run deep. From the days of the Omuro Gosho until the modern era, the abbot at Ninnaji was traditionally one of the Imperial family, an arrangement that served to unite the various Buddhist denominations and schools in Japan.