We propose a theory of small campaign contributions driven by an electoral motive, i.e., the desire to influence election outcomes. Though small donors take as given the actions of others, strategic interactions induce patterns consistent with empirical findings, e.g., election closeness and underdog effects. We also study different forms of campaign finance laws, and show why caps should be combined with a progressive tax on contributions. Next, we introduce large donors and show that several conclusions in the literature may be significantly modified by the interaction with small donors. Throughout, we discuss the empirical implications of our findings.