O=P(Cl)(Cl)[Cl:3].CN([CH:9]=[O:10])C.[CH3:11][C:12]1[CH:17]=[CH:16][C:15]([S:18]([N:21]2[CH2:26][CH2:25][C:24](=O)[CH2:23][CH2:22]2)(=[O:20])=[O:19])=[CH:14][CH:13]=1>>[Cl:3][C:24]1[CH2:25][CH2:26][N:21]([S:18]([C:15]2[CH:16]=[CH:17][C:12]([CH3:11])=[CH:13][CH:14]=2)(=[O:20])=[O:19])[CH2:22][C:23]=1[CH:9]=[O:10]A solution of POCl3 (1.5 eq.) in DMF (2.5 eq) at 0° C. was stirred for 15 min. 1-[(4-methylphenyl) sulfonyl]piperidin-4-one (1.0 eq) obtained from step I was added to the above solution and the reaction was continued at room temperature for 2 h Reaction was quenched with water and the organic layer was separated, dried over anhydrous Na2SO4 and concentrated under reduced pressure to afford crude product, which, on purification by column chromatography afforded the desired 4-chloro-1-[(4-methylphenyl)sulfonyl]-1,2,5,6-tetrahydropyridine-3-carbaldehyde.