The name of the city is related to the Albanian word kroi meaning "fountain". In Albanian the city is known as Krujë or Kruja. In Byzantine documents of the early 7th century it has been attested as Kroai (in Greek Κροαί), while in medieval Latin it was known as Croia, Croya and Croarum. During the Ottoman era it was also known as Ak Hisar or Akçahisar from the Turkish words ak (white) and hisar (castle).[2]

Krujë is found at an altitude of 600 m (1,969 ft) on the foot of Mount Krujë (Albanian: Mali i Krujës) of the Krujë Gorge, while south and west of the town is found the plain of the Ishëm River.[3] The town is located in the northern part of the outer Albanides tectonic unit, which consists of anticlines of Mesozoic carbonate platforms. The administrative center of the municipality is the town of Krujë, but it also includes the villages of Barkanesh, Brre and Picerragë. The closest cities to Krujë are Tiranë and Durrës at a distance of 20 and 37 km respectively.

In ancient times the region of Krujë was inhabited by the Illyrian tribe of the Albani, while the town is located near the Iron Age Illyrian site of Zgërdhesh.[4][5] Some scholars have identified the site with the main settlement of the Albani, Albanopolis, while others identified Albanopolis with Krujë itself.[5][6] During the Illyrian Wars the area of Krujë was captured by the Roman Republic.

Krujë Castle is a major landmark located on the highest point of Kruje

Early medieval artifacts of Krujë include dress items and weaponry found in fifth- and sixth-century cemeteries, which display the high status and the wealth of the burials. Originally a middle-sized fortress like other urban centers of Krujë expanded to a town probably from the sixth to the ninth century AD.[7] In 1190 Krujë became the capital of the first autonomous Albanian state of the middle ages, the Principality of Arbër founded by Progon of the House of Progon.[8] During the reign of Gulam of Albania the principality was dissolved and incorporated in the newly founded Kingdom of Albania. During the late 13th and early 14h century the Byzantine and later the Serbian Empire took control of the city. The Kingdom of Albania was eventually dissolved between 1363 and 1368, when Karl Topia captured its capital Durrës and incorporated its territories, including Krujë in 1363 in the Princedom of Albania.[9] After 1389 the House of Thopia gradually lost control of the town, which by 1395 had come under Ottoman vassalage. The Ottomans lost control of Krujë in the early 15th century, when it was captured by Niketa Thopia and regained it in 1415.[10] After its recapture it was incorporated in the Sanjak of Albania and formed an administrative unit with the status of Subaşilik as attested in the regional register of 1431.[10] During the Albanian Revolt of 1432-1436 the city was unsuccessfully besieged by Andrea Thopia.

Alley of the old market

Until 1432, the subaşi (governor) of Krujë had been Zagan Bey[citation needed], then Hizir Bey, and later during 1437—1438 Skanderbeg was its governor. In November 1438 Hizir Bey was again appointed as subaşi of Krujë until he was replaced in April 1440 by Umur Bey.[11] On 28 November 1443 Skanderbeg gained control over Krujë by deceiving its subaşi with forged sultan's letter.[10] In 1444 Skanderbeg incorporated it in the League of Lezhë, the confederation of the Albanian principalities. From 1450 until 1477 Krujë was defended successfully by the Albanian troops four times against the Ottoman army, which eventually captured it in 1478 during the fourth Siege of the city. During the first siege of Krujë in 1450, the 1,500 to 2,000 soldiers of the League of Lezhë under Vrana Konti and Skanderbeg defeated an Ottoman force of about 100,000 men led by Sultan Murad II, who had tried to bribe Konti to surrender the castle of the town. In the following decade Krujë was first besieged in 1466 and then in 1467 unsuccessfully by Ballaban Pasha and Sultan Mehmed II, whose total troops were about 150,000. After Skanderbeg's death in 1468, the city's garrison was supplemented by troops of the Republic of Venice. In 1476 the town was once more besieged by a ten-thousand-man army under Gedik Ahmed Pasha; however, the local garrison led by proveditor Pietro Vetturi fended off the Ottoman besiegers, who retreated after the arrival of reinforcements under Francesco Contarini and Nikollë Dukagjini. The city was eventually conquered by the Ottomans in 1478 after being besieged for over a year.[12] This success was viewed by the Ottomans as a good omen that the siege of Shkodra would also be successful.[13]

During the rise of nationalism in the Ottoman Empire Krujë became the battlefield of various anti-Ottoman rebellions also related with the imposition of new taxes. In 1906 the people of Krujë revolted once more against the Ottoman Empire.[3] The Wāli of Shkodër, Sali Zeki Pasha sent four battalions of the Ottoman army stationed in the city against the rebels of Krujë. After prolonged confrontations the Ottoman officials offered to begin negotiations with the rebels. On 20 September 1906 the leaders of Krujë and the Ottoman diplomats met at the Tallajbe quarter of Krujë to discuss the administrative status of the town, however, the Ottoman army under Şemsi Pasha ambushed the rebel leaders.[14] During the battle that followed, which became known in history after the Tallajbe district, about 30 people died including uninvolved civilians.[3][14]

Following the Italian invasion of Albania the country became a protectorate of the Kingdom of Italy. Mustafa Merlika-Kruja, a native of Krujë, who became the Prime Minister of the new regime ordered the formation of a 300-man gendarmerie force to defend the town against resistance groups. However, soon afterward, resistance leader Abaz Kupi, another native of the town, created one of the first permanent resistance forces of Albania in Krujë and gradually took control of the region.[18] In 1943 at the assembly of Tapizë Balli Kombëtar proposed to the LNÇ the creation of provisional resistance government, with Krujë as the capital city, but this proposal was rejected by the LNÇ leaders.[19] In the end of November 1944, the last German troops stationed in the area were defeated and LNÇ battalions entered the town.

In antiquity Krujë was a site used for pagan rituals, while after the spread of Christianity a church dedicated to Saint Alexander was built near Mount Krujë. In the late 9th century David of Krujë is mentioned as one of the bishops, who participated in the Fourth Council of Constantinople. In the early 10th century Krujë had a Byzantine Orthodox suffragan bishop, subject to the metropolitan bishop of Durrës. The Roman Catholic bishopric of Krujë was established in 1167, when its bishop was consecrated by Pope Alexander III.[21] In 1284 the Byzantine Empire expelled the Catholic bishop of Krujë, while after Stefan Uroš II Milutin captured the town, he also expelled the Catholic bishop Andreas Croensis in 1317.[22]

In Illyricum SacrumDaniele Farlati documented fourteen Catholics bishops of the town from 1286 to 1694, while Konrad Eubel documented four additional bishops. Bektashism was introduced in the region of Krujë in the early 18th century.[23] During the Ottoman era a tekke dedicated to the Bektashi saint Sari Saltik was built near the church of Saint Alexander. In 1789–99 the Dollma tekke was built by the Dollma family near the castle. In 1807 Sheikh Mimi, sent by Ali Pasha to Krujë founded another tekke in the town. However, Sheikh Mimi was executed by Kaplan Pasha, who destroyed the tekke, which was restored by Baba Husayn of Dibër in the middle 19th century.[24]

The museums of Krujë include the Skanderbeg museum and the national ethnographic museum. The Skanderbeg museum, founded in 1982, was built in the environs of the Krujë castle. Its collection includes mostly 15th century artifacts related to the Albanian-Ottoman wars, during which the castle was besieged four times by the Ottoman army.[25] The national ethnographic museum of Krujë was founded in 1989 and is located in a 15–6 room villa of the Toptani family built in 1764. The main exhibits of the museum are objects of artisanship, whose age varies from 60 to 500 years.[25]

In 1922 the Director General of Health Services appointed the first director of health services in Krujë, Ihsan Korça while the last to hold the post before the establishment of the Socialist People's Republic of Albania was Abdulla Mehmeti. The first hospital and the first polyclinic of Krujë were built in 1946 and 1948 respectively.[26] During 1968–69 a new medical laboratory and a department of surgery were added and expanded. In 1970 the Directorate of Hygiene and Epidemiology of the district was established in the town. In 1977-9 a new hospital and polyclinic were built, while in 1986 the first Obstetrics and gynaecology hospital of the town was opened.[26] In 2008 the first hospital was rebuilt and renamed after its first director Stefan Gjoni.