Singidunum was from the time of the Roman Empire, rebuilt by Justinian in 535, then invaded by Avars.