Discovering that the Mayberry Town Council is comprised entirely of men and that no woman has ever been on the council or even been considered, Ellie decides to throw her hat in the ring - much to the chagrin of every man in town, including Andy, who calls the idea "silly".
But despite the best efforts of Mayberry's menfolk, Ellie gets on the ballot and actually appears to have a good chance of winning. The men then come up with a scheme to force their wives to forgo their support of Ellie (by cutting off their charge accounts), causing the women to fire back with a scheme of their own - resulting in a full blown battle of the sexes!
Once it becomes clear that things are getting out of hand, Ellie reluctantly withdraws her candidacy. However, when Opie announces that the men showed the women who's really boss, Andy realizes how wrong his sexist attitude is and sets out make amends. Although the outcome isn't revealed, in later episodes Ellie is a part of the council.