These victories highlight voter disillusionment with both established parties before the next national election.