Well I mean most national anthems are loosely based on American early 1800s marches by John Phillip Sousa; he set the stage and others copied – the best example of a copy is the Soviet/Russian national anthem – arguably one of the best in the John Philip Sousa march genealogy.
But civil war era? I don’t know of anthems from that time frame