Hermann Göring later testified at the Nuremberg Trials that the Nazis ' willingness to repress German communists prompted president Paul von Hindenburg and the German elite to cooperate with the Nazis .