Franco saved Spain from a similar fate.
Homage to Catalonia by George Orwell.
The "republicans" lost to Franco in part because they were marxists too busy slaughtering each other. I think they spent more energy executing one another than fighting the war.
Reading Orwell you can't help but be glad Franco won.
Eventually.