The Middle Ages in Albania is that period that starts after the region that is now Albania in the Byzantine Empire, until their incorporation in the Ottoman Empire. When the Roman Empire divided into east and west in 395, the territories of modern Albania became part of the Byzantine Empire. Since the end of the 12th century northern part of Albania became part of the Kingdom of Serbia (medieval) succeeded by the Serbian Empire which took over whole Albania and most of the Balkans by the mid 14th century. When the Serbian Empire began its fall (1355-1371) most significant ports of Albania (Scutari and Durazzo) were captured by Venetian Republic and became Albania Veneta. Rest of the region of Albania was divided by local chieftains, most in vassal relation to Venetians or Serbian Despotate.
After the Battle of Savra in 1385 most of local chieftains became Ottoman vassals. In 1415-1417 most of the central and southern Albania was incorporated into the Ottoman Empire and its newly established Sanjak of Albania. In 1432-36 local Albanian chieftains dissatisfied with losing their pre-Ottoman privileges organized a revolt in southern Albania. The revolt was suppressed until another revolt was organized by Skanderbeg in 1443, after the Ottoman defeat in the Battle of Niš, during the Crusade of Varna. In 1444, under Venetian patronage with Skanderbeg as leader of the regional Albanian and Serbian chieftains united against the Ottoman Empire into short-lived alliance disestablished by 1450. Skanderbeg's rebellion against the Ottoman Empire lasted for 25 years. Despite his military valor he was not able to do more than to hold his own possessions within the very small area in the North Albania where almost all his victories against the Ottomans took place. By 1479 the Ottomans captured all Venetian possessions, except Durrazo which they captured in 1501. Until 1913 the territory of Albania would remain part of the Ottoman Empire.