The years 1185 to 1333 are known as the Kamakura period. This is named after city of Kamakura which was the center of power of the Kamakura shogunate. Minamoto no Yoritomo was the founder and first shogun of the Kamakura shogunate. Mongols tried to invade Japan between the years 1272 and 1281. Japanese were successful at driving away the Mongols. But, this badly affected Japan. Shogunate also became weak and its rule ended in 1333. For a short time, Go Daigo became the emperor of Japan.