We consider a spectral problem generating a hierarchy of nonlinear evolution equations including the sine‐Gordon equation and a physically interesting generalization in the laboratory coordinates. The direct and inverse problems are treated. The time evolution of the spectral data is explicitly given and, therefore, the Cauchy problem for the related equations is solved.