A loyalty oath is an oath of loyalty to an organization, institution, or state of which an individual is a member. In the United States, such an oath has often indicated that the affiant has not been a member of a particular organization or organizations mentioned in the oath.
During the American Civil War, political prisoners and prisoners of war were often released upon taking an "oath of allegiance". Lincoln's Ten percent plan featured an oath to "faithfully support, protect and defend the Constitution of the United States, and the union of the States thereunder" as a condition for a Presidential pardon. During Reconstruction, retroactive loyalty oaths were proposed by Radical Republicans, which would have barred former Confederates and Confederate sympathizers from federal, state, or local offices.
Loyalty oaths were common during World War II. In support of Roosevelt's National Recovery Administration, 100,000 school children marched to Boston Common and swore a loyalty oath administered by the mayor, "I promise as a good American citizen to do my part for the NRA. I will buy only where the Blue Eagle flies." Another use of loyalty oaths in the United States was during the 1950s and 1960s. The Red Scare during the 1950s and the Congressional hearings chaired by Senator Joseph McCarthy helped to sustain a national mood of concern about communist agents and a fear such agents may injure the U.S. government through espionage or outright violence.