First Bulgarian Empire
Sofia first became part of the First Bulgarian Empire during the reign of Khan Krum in 809. Afterwards, it was known by the Bulgarian name "Sredets" and grew into an important fortress and administrative centre.