Original: In the 9th century - during the First Bulgarian Empire - a fortress was built in Haskovo that soon was transformed into a town.
Simplified: During the 9th century, a fortress was built, and soon after, a town was built around the fortress.