who attacked the western roman empire causing it to collapse?

There were multiple factors that contributed to the fall of the Western Roman Empire, including economic instability, political corruption, and internal unrest. However, one of the key external factors that contributed to the collapse of the Western Roman Empire was the invasions and attacks by various barbarian tribes such as the Visigoths, Vandals, and Ostrogoths. These tribes invaded Roman territories and sacked cities, weakening the empire's defenses and eventually leading to its collapse in 476 AD.