This article focuses on the struggles and shifting political strategies of two major political players in northern India: the Yadavs (a low-to-middle ranking pastoral agricultural caste) and the dalits (former untouchables, which in the region mainly come from the Chamar caste) and their political parties, the Samaj wadi Party and the Bahujan Samaj Party, respectively. Both communities (and political parties) have strongly benefited from affirmative action policies over the last three decades. We argue that that these affirmative action policies, and the political rhetoric that has tended to accompany them, have been “vernacularized“ in local sociocultural structures, which in turn has helped to produce folk theories of democracy and social justice that are directly and indirectly legitimizing conflict, and producing new forms of caste-based strategic voting, based on the principle that the enemy of my enemy is my friend.