An automatic gain control (AGC) circuit for an electromagnetic wave receiving system, the AGC circuit comprising a video detector connected to receive an IF input signal from the receiving system, a first circuit means connected to an output of the video detector to sample-and-hold the amplitude of an IF input signal pulse, a second circuit means for detecting the leading edge of an input signal pulse to provide a leading edge trigger (LET) signal and a third circuit means for detecting the trailing edge of an input signal pulse to provide a trailing edge trigger (TET) signal which are connected to receive an IF input pulse, an output from the second circuit means (LET) being connected to an input of the first circuit means and to an input of control circuitry, the first circuit means output being connected to the control circuitry, an output from the third circuit mean (TET) being connected to another input of the control circuitry which has a gain control signal line connected to a control input of a switch having N inputs, each of which are connected to outputs of N parallel paths whose inputs are connected to receive an analog IF input signal from the receiving system, each of the N parallel paths having an amplifier connected to receive the analog IF input signal with an output being connected to a free-running sampling analog-to-digital (ADC) converter that provides a digitized IF signal to a digital delay unit having a read/write control line connected to an output from the control circuitry, an output of each digital delay unit being connected to one of N inputs of said switch which has one single output, each of the amplifiers having a different fixed amplification value to provide an IF signal in the paths with staggered amplifications, wherein the writing into the delay units is started and stopped by signals from the control circuitry based on a pulse's LET and TET, the control circuitry comparing the sampled-and-held amplitude from the first circuit means to reference levels once the TET is activated and then selects an amplification gain setting amongst the N paths that produced the largest digitized version of the analog signal IF pulse without ADC over-range, the control circuitry setting the switch to a position that allows the data from the selected path to be read out to provide a leveled digital IF output at the switch's output.