Kruja is mentioned under the name Kroai, in Byzantine documents in the beginning of the 7th century. It is further mentioned by church documents of the IX century as an episcopal center, while in 1190 it returned to the core of Arbëri, the first Albanian feudal state headed by the local ruler, Progon from Arbëria. Later, Kruja is known as the main center of resistance against the Ottoman invaders, led by the national hero Skenderbeu.