In 377, in the Gothic War (376-382), the Goths marched on Beroe to attack the Roman general Frigiderus but his scouts detected the invaders and he promptly withdrew to Illyria. The city was destroyed but rebuilt by Justinian.