[NH2:1][C:2]1[CH:3]=[C:4]([C:7]([O:9][CH3:10])=[O:8])[S:5][CH:6]=1.Cl.[N:12]([O-])=O.[Na+].C([O-])([O-])=O.[K+].[K+].[CH3:22][NH:23][CH3:24]>O>[CH3:22][N:23]([N:12]=[N:1][C:2]1[CH:3]=[C:4]([C:7]([O:9][CH3:10])=[O:8])[S:5][CH:6]=1)[CH3:24]To a solution of methyl 4-aminothiophene-2-carboxylate (1.7 g, 10.82 mmol) and cone. HCl (4.6 mL, 43.5 mmol) in H2O (20 mL) was added NaNO2 (0.84 g, 12.17 mmol) in portions for 5 min at 0° C. After stirring for 0.5 h at 0-5° C., the reaction mixture was added to the solution of K2CO3 (5.8 g, 42 mmol) and dimethylamine (4.6 mL, 40%, 40.9 mmol) in H2O (30 mL) at 0° C. The mixture was stirred at 0-5° C. for 1 h and poured into ice cold water. The solution was extracted with chloroform (3×100 mL). The combined CHCl3 layer was washed with water, brine and dried over sodium sulfate. The solution was filtered and evaporated the solvent. The residue was chromatographed over silica gel column using hexane-EtOAc (80:20) as eluents to give the product as light red color solid (250 mg), which was recrystallized from chloroform-hexane (110 mg), mp 90-92° C. 1H NMR (400 MHz, CDCl3): δ 7.93 (1H, d, J=1.6 Hz), 7.31 (1H, d, J=1.6 Hz), 3.88 (3H, s), 3.31 (6H, br s).