In the VIII and IX centuries Uzhgorod was already known as a centre of the tribes of White Croats. And there are evidences of existence of fortifications as far back as 872 A.D. In the beginning of X c. Uzhgorod was the capital of the great principality of the Slavonic Prince Laborets, who perished in 903 during the defence of the city fortress (Hungvar or Hung) against nomad Hungarian tribes invading the Danube lowlands.
In the middle of the XI c. Hungarian feudal lords began to seize the territory of Transcarpathia and up to the XII c. the whole area came under the rule of the Hungarian king. The Uzhgorod castle became one of the strong points of Hungary. When the Polovtsi hordes under the ledership of Kutesk Khan came tj the Uzhgorod walls, they could not capture the stronghold in 1086.
In 1290 the town came into the hands of Amodey, a wealthy feudal lord. In 1315 Uzhgorod saw the rising against Hungarian dominion. Its leader was Petr Petenko (Petunya). The rising was suppressed in 1317 with great cruelty. In 1332 the town became the property of the magnate Drugeth and was owned by this family for 369 years - up to 1691.
At the beginnning of the 16 century the region came under Austrian rule. Uzhgorod remembers the national-emancipatory war of the Hungarian people (kurutzs) against the Hapsburgs (1703-1711)/ In the summer of 1704 the insurgent forced the Austrian garrison, sheltered behing the walls of the Uzhgorod castle, to capitulate.