The line refers to the American flag flying over Fort McHenry’s ramparts at dawn after a night of British bombardment (September 1814, War of 1812). “Ramparts” are defensive walls. Francis Scott Key, witnessing the flag still waving, wrote the poem that became the anthem—a symbol of resilience and victory.