Donald Trump was elected the 47th president of the United States on Wednesday, an extraordinary comeback for a former president who refused to accept defeat four years ago, sparked a violent insurrection at the U.S. Capitol, was convicted of felony charges and survived two assassination attempts.

With a win in Wisconsin, Trump cleared the 270 electoral votes needed to clinch the presidency.

The victory validates his bare-knuckle approach to politics. He attacked his Democratic rival, Kamala Harris, in deeply personal — often misogynistic and racist — terms as he pushed an apocalyptic picture of a country overrun by violent migrants.

The coarse rhetoric, paired with an image of hypermasculinity, resonated with angry voters — particularly men — in a deeply polarized nation. As president, he’s vowed to pursue an agenda centered on dramatically reshaping the federal government and retribution against his perceived enemies.