[C:1]([CH:6]=[C:7]1[S:11][C:10](=[O:12])[N:9]([CH2:13][CH2:14][CH2:15][CH2:16][S:17][C:18]2[N:23]3[CH:24]=[CH:25][N:26]=[C:22]3[CH:21]=[CH:20][CH:19]=2)[C:8]1=[O:27])([O:3][CH2:4][CH3:5])=[O:2].[ClH:28]>CO>[ClH:28].[C:1]([CH:6]=[C:7]1[S:11][C:10](=[O:12])[N:9]([CH2:13][CH2:14][CH2:15][CH2:16][S:17][C:18]2[N:23]3[CH:24]=[CH:25][N:26]=[C:22]3[CH:21]=[CH:20][CH:19]=2)[C:8]1=[O:27])([O:3][CH2:4][CH3:5])=[O:2]To a solution of 0.70 g (1.73 mmol) of 5-carboethoxymethylene-3-[4-(imidazo[1,2-a]pyridin-5-ylthio)butyl]thiazolidine-2,4-dione in 20 ml of methanol, 0.20 ml of concentrated hydrochloric acid was added, followed by stirring, after which the solvent was distilled off. The residue was washed with diethyl ether to yield 0.74 g (96.8%, white solid) of the desired product.