Edo Castle (Edo-jō), also known as Chiyoda Castle (Chiyoda-jō), is a flatland castle that was built in 1457 by Ōta Dōkan. It is located in Chiyoda in Tokyo, then known as Edo, Toshima District, Musashi Province. Tokugawa Ieyasu established the Tokugawa shogunate here. It was the residence of the shogun and location of the shogunate, and also functioned as the military capital during the Edo period of Japanese history.
After the vacation of the shogun and the Meiji Restoration, it became the Tokyo Imperial Palace. Some moats, walls and ramparts of the castle survive to this day. However, the grounds were more extensive during the Edo period, with Tokyo Station and the Marunouchi section of the city lying within the outermost moat. It also encompassed Kitanomaru Park, the Nippon Budokan Hall and other landmarks of the surrounding area.
The castle later came under the control by the Late Hōjō clan. The castle was vacated in 1590 due to the Siege of Odawara. Tokugawa Ieyasu made Edo Castle his base after he was offered six eastern provinces by Toyotomi Hideyoshi. He later defeated Toyotomi Hideyori, son of Hideyoshi, at the Siege of Osaka in 1615, and emerged as the political leader of Japan.