Rinzai school. It consisted of the five most famous Zen temples of Kamakura: Kenchō-ji, Engaku-ji, Jufuku-ji, Jōmyō-ji and Jōchi-ji. Muromachi (or Ashikaga) (1336–1573 C.E.) During the Muromachi period the Rinzai school was the most successful of the schools, since it was favoured by the shōgun. Gozan-system In the beginning of the Muromachi period the Gozan system was fully worked out. The final version contained five temples of both Kyoto and Kamakura. A second tier of the system consisted of Ten Temples. This system was extended throughout Japan, effectively giving control to the central government, which administered this system. The monks, often well educated and skilled, were employed by the shōgun for the governing of state affairs. Rinka-monasteries Not all Rinzai Zen organisations were under such strict state control. The Rinka monasteries, which were primarily located in rural areas rather than cities, had a greater degree of independence. The O-to-kan lineage, that centered on Daitoku-ji, also had a greater degree of freedom. It was founded by Nampo Jomyo, Shuho Myocho, and Kanzan Egen. A well-known teacher from Daitoku-ji was Ikkyū. Another Rinka lineage was the Hotto lineage, of which Bassui Tokushō is the best-known teacher. Azuchi-Momoyama (1573–1600 C.E.) and Edo (or Tokugawa) (1600–1868 C.E.) After a period of war Japan was re-united in the Azuchi–Momoyama period. This decreased the power of Buddhism, which had become a strong political and military force in Japan. Neo-Confucianism gained influence at the expense of Buddhism, which came under strict state control. Japan closed the gates to the rest of the world. The only traders to be allowed were Dutchmen admitted to the island of Dejima. New doctrines and methods were not to be introduced, nor were new temples and schools. The only exception was the Ōbaku lineage, which was introduced in the 17th century during the Edo period by Ingen, a Chinese monk. Ingen had been a member of the Linji school, the Chinese equivalent of Rinzai, which had developed separately from the Japanese branch for hundreds of years. Thus, when Ingen journeyed to Japan following the fall of the Ming dynasty to the Manchu people, his teachings were seen as a separate school. The Ōbaku school was named after , which had been Ingen's home in China. Well-known Zen masters from this period are Bankei, Bashō and Hakuin. Bankei Yōtaku (盤珪永琢?, 1622–1693 C.E.) became a classic example of a man driven by the "great