linguistic:paraphrasing
Emerging from obscurity

In 810, Kūkai emerged as a public figure when he was appointed administrative head of Tōdai-ji, the central temple in Nara, and head of the Sōgō (僧綱, Office of Priestly Affairs).

Shortly after his enthronement, Emperor Saga became seriously ill, and while he was recovering, Emperor Heizei fomented a rebellion, which had to be put down by force. Kūkai petitioned the Emperor to allow him to carry out certain esoteric rituals which were said to "enable a king to vanquish the seven calamities, to maintain the four seasons in harmony, to protect the nation and family, and to give comfort to himself and others". The petition was granted. Prior to this, the government relied on the monks from the traditional schools in Nara to perform rituals, such as chanting the Golden Light Sutra to bolster the government, but this event marked a new reliance on the esoteric tradition to fulfill this role.

With the public initiation ceremonies for Saichō and others at Takao-san temple in 812, Kūkai became the acknowledged master of esoteric Buddhism in Japan. He set about organizing his disciples into an order – making them responsible for administration, maintenance and construction at the temple, as well as for monastic discipline. In 813 Kūkai outlined his aims and practices in the document called The admonishments of Konin. It was also during this period at Takaosan that he completed many of the seminal works of the Shingon School:

All of these were written in 817. Records show that Kūkai was also busy writing poetry, conducting rituals, and writing epitaphs and memorials on request. His popularity at the court only increased, and spread.

Meanwhile, Kukai's new esoteric teachings and literature drew scrutiny from a noted scholar-monk of the time named Tokuitsu, who traded letters back and forth in 815 asking for clarification. The dialogue between them proved constructive and helped to give Kūkai more credibility, while the Nara Schools took greater interest in esoteric practice.