The GZK mechanism gives the broad energy distribution of cosmic rays in their propagation in extragalactic space.