His work was instrumental in the development of the dominant school of Korean Buddhist thought, known variously as "Beopseong", "Haedong" (海東, "Korean") and later as "Jungdo" (中道, "Middle Way")  Wonhyo's friend Uisang (義湘) went to Chang'an, where he studied under Huayan patriarchs Zhiyan (智儼; 600–668) and Fazang (法藏; 643–712). When he returned after twenty years, his work contributed to Hwaeom Buddhism and became the predominant doctrinal influence on Korean Buddhism together with Wonhyo's "tongbulgyo" thought. Hwaeom principles were deeply assimilated into the Korean meditation-based Seon school, where they made a profound effect on its basic attitudes. Influences from Silla Buddhism in general, and from these two philosophers in particular crept backwards into Chinese Buddhism. Wonhyo's commentaries were very important in shaping the thought of the preeminent Chinese Buddhist philosopher Fazang, and Woncheuk's commentary on the "Saṃdhinirmocana-sūtra" had a strong influence in Tibetan Buddhism. The intellectual developments of Silla Buddhism brought with them significant cultural achievements in many areas, including painting, literature, sculpture, and architecture. During this period, many large and beautiful temples were built. Two crowning achievements were the temple Bulguksa and the cave-retreat of Seokguram (石窟庵). Bulguksa was famous for its jeweled pagodas, while Seokguram was known for the beauty of its stone sculpture. Buddhism also flourished in the northern Korean Kingdom of Balhae, established after the fall of Goguryeo, as the state religion. The remains of ten Buddhist temples have been found in the remains of the capital of Balhae, Sanggyeong, together with such Buddhist artifacts as Buddha statuettes and stone lanterns, which suggests that Buddhism played a predominant role in the life of the Balhae people. The Balhae tomb Majeokdal in Sinpo, South Hamgyong Province, are associated with pagodas and temples: This also indicates that Buddhism had a strong influence over the funerary rituals in Balhae. After the fall of Balhae, sixty monks from Balhae including the monk Jaeung (載雄) fled together to the newly founded kingdom of Goryeo (918-1392).