 For most of Japan's history the Emperor was a powerless figurehead while real power rested in the Shogunate, and this was no different for Emperor Godaigo who was overshadowed by the Kamakura Shogunate.But in 1324, in the dying years of the Kamakura period, the Emperor plotted to overthrow the Shogunate but his plan was discovered.Undeterred, he tried again seven years later but was once again discovered due to the treachery of Fujiwara Sadafusa, Godaigo's trusted adviser.