There were many different peroids in SHogun , The Herian period was fron 794-1185. The Kamakura period was 1185-1333, The Muromachi period was 1333-1573, Azuchimomoyama period and the Edo period 1603-1868. Shogun was involved in many wars with the Portugues, the Mongolian armies. These attacks were based around the Mongols army, te second invation had 140000 troops from mongoland 400+ boats. At one point the Japanese looked in trouble but then sent in more troops and they killed the Mongolians.