A major setback for the ruling party in municipal elections