O=[C:2]1[C:11]2[C:6](=[CH:7][CH:8]=[C:9]([C:12]3[O:16][C:15]([CH:17]=[O:18])=[CH:14][CH:13]=3)[CH:10]=2)[N:5]=[CH:4][NH:3]1.O=S(Cl)[Cl:21].[ClH:23]>CN(C=O)C>[ClH:21].[Cl:23][C:2]1[C:11]2[C:6](=[CH:7][CH:8]=[C:9]([C:12]3[O:16][C:15]([CH:17]=[O:18])=[CH:14][CH:13]=3)[CH:10]=2)[N:5]=[CH:4][N:3]=1A mixture of the compound of formula (IX) (0.6 g, 2 5 mmol), SOCl2 (15 mL) and one drop of DMF was heated under reflux until the reaction was complete (TLC analysis). The volatile components were evaporated (including SOCl2) to provide crude (Xa).HCl (0.9 g) that could be used directly in the next step.