The city was damaged by an earthquake in AD 518 .
It was again rebuilt by the Byzantine Emperor Justinian I who renamed it Iustiniana Secunda .
The city was damaged by an earthquake in AD 518 and it was again rebuilt by the Byzantine Emperor Justinian I who renamed it Iustiniana Secunda .