On multivariable analysis , residual lymph node metastasis ( ypN + ) and TRG were the only independent prognostic factors for cumulative incidence of distant metastasis ( P < .001 and P = .035 , respectively ) and DFS ( P < .001 and P = .039 , respectively ) , whereas local recurrence was significantly affected by ypN status ( P < .001 ) and lymphatic invasion ( P = .026 ) .