This is true.
It's connected to the fall of communism in other parts of Eastern Europe: this provided an opportunity to some of the Republics (notably, Croatia and Slovenia) to elect non-communist government. This was one of the steps on the road of the break-up of Yugoslavia.