In 702 A.D., the Taihō Code was promulgated as an adaptation of the governmental system of China's Tang Dynasty. One section called for the establishment of a university ("daigaku") including a medical school with an elaborate training program, but due to incessant civil war this program never became effective. Empress Kōmyō (701–760) established the "Hidenin" and "Seyakuin" in the Kōfuku-Temple (Kōfuku-ji) in Nara, being two Buddhist institutions that provided free healthcare and medicine for the needy. For centuries to come Japanese Buddhist monks were essential in conveying Chinese medical know-how to Japan and in providing health care for both the elite and the general population.