What is Shogun?

Shogun was the title given to chief military commanders in Japan from around the 8th century A.D. to the 12th century A.D. and then to hereditary officials who governed Japan with the emperor as nominal ruler until 1968. At that time the shogunate was terminated and the power to rule was returned to the emperor.