S5 E21: Barney runs for sheriff when Andy seems lined up for another job. Andy's job falls through and he becomes a write-in candidate for re-election.
A situational comedy from the 1960's. Sheriff Andy Taylor and his son, Opie, move to sleepy Mayberry, North Carolina, which is virtually crime-free. Including Andy's nervous cousin, Barney Fife, as Andy's deputy who is less than the ideal partner.