Sankt Veit an der Glan (Slovene: Šentvid ob Glini) is a town in the Austrian state of Carinthia, the administrative centre of the Sankt Veit an der Glan District. It was the historic Carinthian capital until 1518.
Several archaeologic findings suggest a settlement in the area already in Carolingian times. According to legend, a 901 battle ofBavarian forces against invading Magyars instigated the founding of the town. As first mentioned in a 1131 deed, a Saint Vitus Church of the Roman Catholic Diocese of Gurk was located here within the Duchy of Carinthia. According to a 1137 agreement, it was "repurchased" by the Bishopric of Bamberg.