고즈케 국
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.