After the Spanish Socialist Workers Party (PSOE) won parliamentary elections and formed a government in October of that year, the right-wing military establishment accepted the new democratic rules of the game and foiled a coup attempt that sought to block the advance of the left. The PSOE also realigned the party along more moderate lines, renounced Marxist policies, and led a comprehensive reform program, El Cambio (the change).