[O:1]=[C:2]1[N:11]2[C:6]([CH:7]=[CH:8][CH:9]=[CH:10]2)=[CH:5][CH:4]=[C:3]1[C:12]([O:14][CH2:15][CH3:16])=[O:13].O=P(Cl)(Cl)Cl.O.CN([CH:26]=[O:27])C>>[CH:26]([C:5]1[CH:4]=[C:3]([C:12]([O:14][CH2:15][CH3:16])=[O:13])[C:2](=[O:1])[N:11]2[C:6]=1[CH:7]=[CH:8][CH:9]=[CH:10]2)=[O:27]Ethyl 4-oxo-4H-quinolizine-3-carboxylate (1) (1 g, 4.0 mmol) was dissolved in 2 ml DMF followed by the addition of POCl3 (1.0 ml, 11 mmol). The reaction mixture was stirred for 1 h, poured into 100 ml water and extracted three times with 100 ml dichloromethane. Evaporation of the organic solvent gave a sticky yellow solid, which was further purified by flash chromatography (ethyl acetate), followed by overnight stirring with 10 ml ether to remove the last traces of DMF. Filtration of the suspension and drying in vacuo gave a bright yellow powder (920 mg, 93%). M.p. 179-181° C. 1H NMR (δ, CDCl3): 1.43 (t, J=7 Hz), 4.42 (q, J=7 Hz), 7.51 (dd, J=7 Hz, J=7 Hz, 1H), 8.06 (dd, J=7, J=7 Hz, 1H), 8.80 (s, 1H), 9.57 (d, J=7 Hz), 9.90 (s, 1H). MS: m/z 245.0683; required for C13H11NO4: 245.0688.