Electors are typically chosen and nominated by a political party or the party's presidential nominee, and are usually party members with a reputation for high loyalty to the party and its chosen candidate. Thus, a faithless elector runs the risk of party censure and political retaliation from their party, as well as potential legal penalties in some states. Candidates for electors are nominated by state political parties in the months prior to Election Day. In some states, such as Indiana, the electors are nominated in primaries, the same way other candidates are nominated. In other states, such as Oklahoma, Virginia, and North Carolina, electors are nominated in party conventions. In Pennsylvania, the campaign committee of each candidate names their candidates for elector (an attempt to discourage faithless electors). In some states, high-ranking and/or well-known state officials up to and including governors often serve as electors whenever possible (the Constitution prohibits federal officials from acting as electors, but does not restrict state officials from doing so). The parties have generally been successful in keeping their electors faithful, leaving out the rare cases in which a candidate died before the elector was able to cast a vote.