Feudal Era
Japan's feudal era was characterized by the emergence and dominance of a ruling class of warriors, the samura. In 1185, following the defeat of the Taira clan, sung in the epic Tale of Heike, samurai Minamoto no Yoritomo was appointed shogun and established a base of power in Kamakura. After his death, the Hōjō clan came to power as regents for the shoguns. The Zen school of Buddhism was introduced from China in the Kamakura period (1185–1333) and became popular among the samurai class. The Kamakura shogunate repelled Mongol invasions in 1274 and 1281, but was eventually overthrown by Emperor Go-Daigo. Go-Daigo was himself defeated by Ashikaga Takauji in 1336.