[N+:1]([C:4]1[C:5](=O)[NH:6][C:7]2[CH2:8][CH2:9][CH2:10][CH2:11][C:12]=2[CH:13]=1)([O-:3])=[O:2].P(Cl)(Cl)([Cl:17])=O>CC[N+](CC1C=CC=CC=1)(CC)CC.[Cl-].C(#N)C>[Cl:17][C:5]1[C:4]([N+:1]([O-:3])=[O:2])=[CH:13][C:12]2[CH2:11][CH2:10][CH2:9][CH2:8][C:7]=2[N:6]=1A solution of intermediate (8) (0.072 mol) and BTEAC (0.0362 mol) in ACN (150 ml) was stirred at room temperature. Phosphoric trichloride (0.222 mol) was added dropwise. The mixture was stirred and refluxed for 8 hours. The solvent was evaporated till dryness. The residue was poured out into water and NH4OH. The mixture was extracted with DCM. The organic layer was separated, dried, filtered and the solvent was evaporated, yielding 15 g of 2-chloro-5,6,7,8-tetrahydro-3-nitroquinoline (intermediate 9).