What ended the USSR?

USSR ended in 1991 because of: - Bad economy
- Bad Leadership
- Afghan war
- Falling of Berlin wall
- Government not liked by the public