Knin (, , ) is a city in the Šibenik-Knin County of Croatia, located in the Dalmatian hinterland near the source of the river Krka, an important traffic junction on the rail and road routes between Zagreb and Split. Knin rose to prominence twice in history, as the capital of both the medieval Kingdom of Croatia and, briefly, of the unrecognized self-proclaimed Republic of Serbian Krajina for the duration of Croatian War of Independence from 1991 to 1995. Etymology The name is likely derived from the Illyrian Ninia. According to an alternative explanation, offered by Franz Miklosich and Petar Skok, the name - derived from a Slavic root *tьn- ("to cut", "to chop") - has a meaning of "cleared forest". The medieval names of Knin include ; ; . The Latin name is still used as a titular episcopal see, the Diocese of Tinum. History Ancient The area consisting of today's Knin, or more specifically, the Spas hill, was inhabited since the stone age. In the vicinity of today's Knin was once a town called Burnum, which served as a Roman military camp in the 1st century BC. Middle Ages The original settlement grew atop the Spas hill in the earliest history and which later formed the castle of Knin. The first church, a monastery dedicated to Saint Bartholomew, was built during the time of Trpimir I in the 9th century in Kapitul (south-east from Knin Castle, where the later bishopric was located). It was later expanded or rebuilt by a certain Duke of Croatia, probably Svetoslav, during the reign of king Stephen Držislav of Croatia in the 10th century. Knin is first mentioned in the 10th-century work De Administrando Imperio as the centre of the Knin county (županija), and as one of the populated towns in Croatia. Around 1040, at the behest of the Croatian kings, a seat of the royal bishop was established in the nearby royal village of Biskupija (Kosovo), in the church of Saint Mary. The first "bishop of the Croats" is named Marko Giudice, and he and his successors were attached to the royal court as preachers and king's "special bishops" until 1102. In the second half of the 11th century, Knin became a more permanent royal residence of king Demetrius Zvonimir around 1080. Because of this, it has led to Knin being known as the "City of Croatian Kings" or "Zvonimir's City" (Zvonimirov grad)