Earlier in the war, Francis Scott Key, a Federalist by affiliation, had opposed the decision to go to war. But recent events—the burning of Washington, the fight for Baltimore—had allied him with President Madison, who was calling for national unity after Washington’s destruction, exhorting “all the good people . . . in providing for the defense” of the nation.4 Though Key’s anthem was published anonymously, it would help the cause.

