An oath of allegiance was required of Confederate POW's swearing their loyalty to the united states before tgeir release. Keith Lanier