Toshogu Shrine is located with Ueno-Park and was built in memory of Tokugawa Ieyasu in 1627.