Lienz is a medieval town in the Austrian state of Tyrol. It is the administrative centre of the Lienz district, which covers all of East Tyrol. The municipality also includes the cadastral subdivision of Patriasdorf.
The area of Lienz had been settled since the Bronze Age about 2000 BC. Celtic people lived here from about 300 BC on, mainly as miners, who came under control of the Roman Empire in 15 BC. The area was incorporated into the province of Noricum and Emperor Claudius had a municipium called Aguntum erected near Lienz in the today’s municipality of Dölsach. Aguntum became the see of an Early Christian bishop in the 5th century but decayed during the Slavic settlement of the Eastern Alps and the subsequent fights with the Bavarii under King Tassilo I about 600. Part of the Slavic principality of Carantania, the area passed under Bavarianandfinally Frankish suzerainty during the 8th century. Lienz itself was first mentioned as Luenzina in a deed issued by the Bishop of Brixen about 1030. The settlement itself, together with neighbouring Patriasdorf, then belonged of the Patriarchs of Aquileia, who were elevated to immediate landlords by Emperor Henry IV in 1077. It was then purchased by the scions of the Meinhardiner dynasty, who held the office of Aquileian Vögte (reeves) and chose Lienz as a residence. From about 1127 they called themselves Counts of Görz (Gorizia).