The Hannya Shogun is a character in The Legend of the Mystical Ninja. He is the main antagonist of the game, an old man who hides under the guise of a young and strong leader. The're was appear as cameo in the video game Ganbare Goemon 2: Kiteretsu Shōgun Magginesu.
The Hannya Shogun, as his name implies, is the leader of the Hannyas, an organized group of masked thieves who use counterfeit money in order to perform criminal activities.
He orders his men to kidnap the Ruler of Edo and his daughter, Princess Yuki. He keeps the princess confined under his own guard and throws the feudal lord into the dungeons, taking on his guise so that he can perform crimes at his leisure while remaining unnoticed.
He is aided by a mystical fox who gives him all his powers. He also wears a giant armor in the shape of a fierce samurai warrior in combat.
In the end, Goemon and Ebisumaru manage to defeat him, and looking himself cornered, he threatens to harm the princess. The fox, hearing this, confronts him saying that wasn't part of the plan and that he promised the princess would be released. He then breaks their partnership and disappears in a puff of smoke. Goemon steps forward and whacks the shogun with his pipe, making his mask to fall off and revealing the 'dreadful' Hannya Shogun to be nothing more than a helpless old man.