The eastern and western sections of the Roman Empire split in 395, leaving Italy without the support it had once received from east of the Adriatic. When the Goths moved toward Rome in the early 5th century, citizens in the provinces, who had grown to hate and fear the bureaucracy set up by Diocletian and followed by succeeding emperors, welcomed the invaders. And then the pillage began.
Rome was first sacked by Alaric in August 410. The populace made no attempt to defend the city (other than trying to buy off the Goth, a tactic that had worked 3 years before); most people simply fled into the hills or headed to their country estates if they were rich. The feeble Western emperor Honorius hid out in Ravenna the entire time.
More than 40 troubled years passed until the siege of Rome by Attila the Hun. Attila was dissuaded from attacking, thanks largely to a peace mission headed by Pope Leo I in 452. Yet relief was short-lived: In 455, Gaiseric the Vandal carried out a 2-week sack that was unparalleled in its pure savagery. The empire of the West lasted for only another 20 years; the sackings and chaos finally destroyed it in 476, and Rome was left to the popes, under the nominal auspices of an exarch from Byzantium (Constantinople).
The last would-be Caesars to walk the streets of Rome were both barbarians: The first was Theodoric, who established an Ostrogoth kingdom at Ravenna from 493 to 526; and the second was Totilla, who held the last races in the Circus Maximus in 549. Totilla was engaged in a running battle with Belisarius, the general of the Eastern emperor Justinian, who sought to regain Rome for the Eastern Empire. The city changed hands several times, recovering some of its ancient pride by bravely resisting Totilla's forces but eventually being entirely depopulated by the continuing battles.