[CH3:1][C:2]1[C:14]2[N:13]3[C:8]([CH2:9][CH2:10][CH2:11][CH2:12]3)=[CH:7][C:6]=2[C:5](=O)[NH:4][N:3]=1.O=P(Cl)(Cl)[Cl:18].CO.[OH-].[Na+]>C(Cl)Cl>[Cl:18][C:5]1[C:6]2[CH:7]=[C:8]3[N:13]([C:14]=2[C:2]([CH3:1])=[N:3][N:4]=1)[CH2:12][CH2:11][CH2:10][CH2:9]3Compound XI (3.00 g, 15 mmol) was heated under reflux with excess POCl3 (25 mL) until no starting material remained (TLC, silic gel, 5% methanol in methylene chloride), then poured over ice, made basic with aqueous sodium hydroxide and the aqueous phase extracted with methylene chloride to isolate the product. The organic phase was dried (MgSO4), filtered, and evaporated to give a residue which was purified by flash column chromatography (silica gel, 5% methanol in methylene chloride) to give 1-chloro-4-methyl-6,7,8,9-tetrahydropyridazino[4,5-b]indolizine XII (3.00 g, 92%)