Although multiple factors influence outcomes, in both states the ruling alliances relied heavily on welfare schemes, such as cash transfers to women, which appear to have played a significant role