Due to the complexity of the trajectory, the curved trajectory SAR signal is seriously two-dimensional (2-D) spacevariant. The Ground Cartesian back-projection (GCBP) algorithm is a fast time-domain algorithm without interpolation, which can meet the imaging accuracy of curved trajectory SAR. However, when the nonsystematic range cell migration (NsRCM) of GCBP image caused by motion error exists, the existing autofocus algorithms is difficult to correctly estimate the phase error. Therefore, an extended 2-D autofocus algorithm is proposed to realize curved trajectory SAR imaging by combining the GCBP algorithm, in this paper. The expression of the spectrum support region of the GCBP image is given, and the spectrum characteristics are analyzed. Then, the spectrum alignment is performed based on these characteristics to eliminate spectrum aliasing. Finally, the analytical property of phase error in the 2-D frequency domain of the GCBP image is analyzed in detail. Based on the property, the prior 2-D phase error structure for the GCBP image is established. According to the structure, the 2-D phase error is computed and compensated to obtain the refocused image. In addition, the index grid division method embedded in the proposed algorithm can effectively compensate the space-variant phase error. The simulation and real data results prove the effectiveness of the proposed algorithm. Index Terms-Ground Cartesian back-projection (GCBP), synthetic aperture radar (SAR), curved trajectory, spectrum alignment, 2-D phase error, prior structure, index grid division algorithm.