Yugoslavia lasted about as long as the Soviet Union, notably interrupted by WW2, when it was split up and occupied by Axis forces.
After the war, Yugoslavia was held together for decades mostly by the prestige of Marshal Tito, but after his death in 1980, the old internal troubles between the member states of Yugoslavia once again came to the fore.