[NH2:1][C:2]1[CH:6]=[C:5]([C:7]2[CH:12]=[CH:11][N:10]=[CH:9][CH:8]=2)[S:4][C:3]=1[C:13]([O:15]C)=[O:14].C[O-].[Na+].CO.Cl>O>[NH2:1][C:2]1[CH:6]=[C:5]([C:7]2[CH:8]=[CH:9][N:10]=[CH:11][CH:12]=2)[S:4][C:3]=1[C:13]([OH:15])=[O:14]A mixture of methyl 3-amino-5-(pyridin-4-yl)thiophene-2-carboxylate (2.34 g, 10 mmol), sodium methoxide (1.62 g, 30 mmol), methanol (40 mL) and water (10 mL) was refluxed for 4 h. The mixture was allowed to cool to room temperature and stirring was continued overnight. The mixture was cooled under ice-bath, then conc. HCl (2.48 mL, 30 mmol) was added (pH was approx. 4). The resultant yellow precipitate was collected by filtration and washed with water and methanol to afford the title compound (2.02 g, 92%) as a yellow solid: