Today 's Imperial Palace is on the site of Edo castle , where the Tokugawa shogunate ruled Japan for 265 years ; it was thereafter home to the emperors of the modern era .
The Tokugawa Shogunate is the longest ruling Shogunate in the history of Japan .