We study how two selection systems for public officials, appointment and election, affect policy outcomes, focusing on state court judges and their criminal sentencing decisions. First, under appointment, policy congruence with voter preferences is attained through selecting judges with homogeneous preferences. In contrast, under election, judges face strong reelection incentives, while selection on preferences is weak. Second, the effectiveness of election in attaining policy congruence critically depends on payoffs from the job, which implies that the effectiveness of election may vary substantially across public offices. Third, reelection incentives may discourage judges with significant human capital from holding office. (JEL D72, K41)