 According to the chronicle and writings of Marcellinus Comes, a devastating earthquake destroyed several towns in Dardania in the year 518.The city of Ulpiana suffered extensive damage.Emperor Justinian rebuilt the city and its fortifications.