Factors influencing election outcomes