Behavioral evolution relies on genetic changes, yet few social behaviors can be traced to specific genetic sequences in vertebrates. Here, we show experimental evidence that differentiation of a single gene has contributed to divergent behavioral phenotypes in the white-throated sparrow, a common North American songbird. In this species, one of two alleles of ESR1, encoding estrogen receptor a (ERa), has been captured inside a differentiating supergene that segregates with an aggressive phenotype, such that ESR1 expression predicts aggression. Here, we show that the aggressive phenotype associated with the supergene is prevented by ESR1 knockdown in a single brain region. Next, we show that in a free-living population, aggression is predicted by allelic imbalance favoring the supergene allele. Cis-regulatory variation between the two alleles affects transcription factor binding sites, DNA methylation, and rates of transcription. This work provides a rare illustration of how genotypic divergence has led to behavioral phenotypic divergence in a vertebrate.