Nijo-jo Castle (二条城) was built for Shogun Tokugawa Iayasu to live in. The castle and surrounding buildings were finished in 1626 after 23 years of construction. A succession of shoguns lived here until 1867 when the Tokogawa Shogunate weakened. It was an Imperial Palace from then until 1939. It now belongs to the City of Kyoto.