It takes place during the first Mongol invasion of Japan in the 1270s.