The one exception was the Sumi-san school founded by Ieom (利嚴; 869–936), which had developed from the Caodong school (曹洞). As Buddhism in medieval Korea evolved, it served to legitimize the state. Initially, the new Seon schools were regarded by the established doctrinal schools as radical and dangerous upstarts. Thus, the early founders of the various "nine mountain" monasteries met with considerable resistance, repressed by the long influence in court of the Gyo schools. The struggles which ensued continued for most of the Goryeo period, but gradually the Seon argument for the possession of the true transmission of enlightenment gained the upper hand. The position that was generally adopted in the later Seon schools, due in large part to the efforts of Jinul (知訥; 1158–1210), did not claim clear superiority of Seon meditational methods, but rather declared the intrinsic unity and similarities of the Seon and Gyo viewpoints. Although all these schools are mentioned in historical records, toward the end of the dynasty, Seon became dominant in its effect on the government and society, as well as the production of noteworthy scholars and adepts. During the Goryeo period, Seon thoroughly became a "religion of the state," receiving extensive support and privileges through connections with the ruling family and powerful members of the court. Although most of the scholastic schools waned in activity and influence during this period of Seon's growth, the Hwaeom school continued to be a lively source of scholarship well into the Goryeo, much of it continuing the legacy of Uisang and Wonhyo. In particular the work of Gyunyeo (均如; 923–973) prepared for the reconciliation of Hwaeom and Seon, with Hwaeom's accommodating attitude toward the latter. Gyunyeo's works are an important source for modern scholarship in identifying the distinctive nature of Korean Hwaeom. Another important advocate of Seon/Gyo unity was Uicheon. Like most other early Goryeo monks, he began his studies in Buddhism with Hwaeom. He later traveled to China, and upon his return, actively promulgated the Cheontae (), which became recognized as another Seon school. This period thus came to be described as "five doctrinal and two meditational schools".