fifth column
Historical term for a subversive group working within a country to undermine it, originating from the Spanish Civil War.
During the Spanish Civil War, the rebels used a fifth column to try to undermine Madrid from within.
Calque of English 'fifth column', from the Spanish Civil War context.