captain semmes first act , upon seizing the fort , was to raise the south carolina palm-and-crescent battle flag up the same flagpole that had carried francis scott keys famous star-spangled banner , just thirty-one years before .