It was the Kamakura period. The Shogunate was established by Yoritomo Minamoto. During this period, Buddhism flourished and the Samurais proved themselves against the Mongols who invaded Japan twice but failed each time. Later the Shogun became the actual ruler of Japan.