Complex sentence: Most people quickly learned that open opposition was dangerous and that the Gestapo had their informants and agents spread everywhere, yet a significant number of them remained committed and worked against the National Socialist government.
Split into simpler sentences: Most people quickly learned that open opposition was dangerous; for Gestapo informants and agents were widespread. Yet a significant number of them remained committed and worked against the National Socialist government.