It saw the collapse of the Western Roman Empire, which came to an end in 476 AD. This empire had been ruled by a succession of weak emperors, with the real political might being increasingly concentrated among military leaders. Internal instability allowed a Visigoth army to reach and ransack Rome in 410. Some recovery took place during the following decades, but the Western Empire received another serious blow when a second foreign group, the Vandals, occupied Carthage, capital of an extremely important province in Africa. Attempts to retake the province were interrupted by the invasion of the Huns under Attila. After Attila's defeat, both Eastern and Western empires joined forces for a final assault on Vandal North Africa, but this campaign was a spectacular failure.