Kōzuke Province
During the Edo period, the area of present-day Ueno was part of the "tenryō" territory administered directly by the Tokugawa shogunate in Kōzuke Province.