From late antiquity to the late Middle Ages (330AD-1430AD) it was the second most important city of Byzantine Empire. Then Thessaloniki faced many invasions from enemies such as the Avaroi, Bulgars and others. In the year 1204, the crusaders conquered Thessaloniki and created the Kingdom of Thessalonica. Later it was liberated by Byzantines and then sold to the Republic of Venice but the year 1430, it was conquered by the Ottoman Empire. 