He assumed office at a critical period , when the republic was all but openly attacked by . He assumed office at a critical period , when the republic was all but openly attacked by General Boulanger .