Middle Ages 
“Claudiopolis, Coloswar vulgo Clausenburg, Transilvaniæ civitas primaria”. Gravure[a] of medieval Cluj by Georg Houfnagel (1617)
At the beginning of the Middle Ages, two groups of buildings existed on the current site of the city: the wooden fortress at Cluj-Mănăştur (Kolozsmonostor) and the civilian settlement developed around the current Piaţa Muzeului (Museum Place) in the city centre. Although the precise date of the conquest of Transylvania by the Hungarians is not known, the earliest Hungarian artifacts found in the region are dated to the first half of the 10th century. In any case, after that time, the city became part of the Kingdom of Hungary. King Stephen I made the city the seat of the castle county of Kolozs, and King Saint Ladislaus I of Hungary founded the abbey of Cluj-Mănăştur (Kolozsmonostor), destroyed during the Tatar invasions in 1241 and 1285. As for the civilian colony, a castle and a village were built to the northwest of the ancient Napoca no later than the late 12th century. This new village was settled by large groups of Transylvanian Saxons, encouraged during the reign of Crown Prince Stephen, Duke of Transylvania. The first reliable mention of the settlement dates from 1275, in a document of King Ladislaus IV of Hungary, when the village (Villa Kulusvar) was granted to the Bishop of Transylvania. On August 19, 1316, during the rule of the new king, Charles I of Hungary, Cluj was granted the status of a city (Latin: civitas), as a reward for the Saxons’ contribution to the defeat of the rebellious Transylvanian voivode, Ladislaus Kán.
Many craft guilds were established in the second half of the 13th century, and a patrician stratum based in commerce and craft production displaced the older landed elite in the town’s leadership. Through the privilege granted by Sigismund of Luxembourg in 1405, the city opted out from the jurisdiction of voivodes, vice-voivodes and royal judges, and obtained the right to elect a twelve-member jury every year. In 1488, King Matthias Corvinus (born in Klausenburg in 1440) ordered that the centumvirate—the city council, consisting of one hundred men—be half composed from the homines bone conditiones (the wealthy people), with craftsmen supplying the other half; together they would elect the chief judge and the jury. Meanwhile, an agreement was reached providing that half of the representatives on this city council were to be drawn from the Hungarian, half from the Saxon population, and that judicial offices were to be held on a rotating basis. In 1541, Klausenburg became part of the independent Principality of Transylvania after the Ottoman Turks occupied the central part of the Kingdom of Hungary; a period of economic and cultural prosperity followed. Although Alba Iulia (Gyulafehérvár) served as a political capital for the princes of Transylvania, Klausenburg enjoyed the support of the princes to a greater extent, thus establishing connections with the most important centres of Eastern Europe at that time, along with Košice (Kassa), Kraków, Prague and Vienna.