[CH3:1][C:2]1[N:7]2[CH:8]=[CH:9][N:10]=[C:6]2[N:5]=[C:4](O)[C:3]=1[C:12]1[CH:17]=[CH:16][CH:15]=[CH:14][CH:13]=1.O=P(Cl)(Cl)[Cl:20]>>[Cl:20][C:4]1[C:3]([C:12]2[CH:17]=[CH:16][CH:15]=[CH:14][CH:13]=2)=[C:2]([CH3:1])[N:7]2[CH:8]=[CH:9][N:10]=[C:6]2[N:5]=1250 mg of the product of step 1 and 10 mL POCl3 were heated to 100° C. for 1 h. The excess POCl3 was removed by distillation and the residue was treated with ice and diluted with dichloromethane. The phases were separated, the aqueous layer was extracted twice with dichloromethane, the combined organic layers were dried over Na2SO4 and concentrated to give the crude product.