You had a state full of a lot of uneducated people who were getting really high salaries, and were promised ridiculously high pensions (and medical insurance) despite producing inferior goods. At some point, demand for such goods was bound to fall and the salaries and the benefits were unsustainable. That time is now.