Who or what was Shogun from the early Asia?

"Shogun" was the title held by a military Japanese ruler. The power of the Shogun was sometimes greater than the Emperor, and sometimes lesser, depending on the time in question.