Ieyasu Tokugawa, the first general of Tokugawa, built the Nijo castle in 1603 to protect Kyoto Imperial Palace and as a base while proceeding to the capital. Stone walls were built with about 500 meters from east to west, 400 meters from north to south, and moats were found around the area. If you walk on the corridor of Ninomaru Goten, a Japanese National Treasure, it will make a sqeaky noise. Be sure to also visit the Imerial Palace where the Royal Family lived for 500 years before the capital moved to Tokyo.