[NH2:1][C:2]1[C:3]2[CH:14]=[CH:13][CH:12]=[CH:11][C:4]=2[S:5][C:6]=1[C:7]([O:9][CH3:10])=[O:8].CO[CH:17](OC)[N:18]([CH3:20])[CH3:19]>>[CH3:10][O:9][C:7]([C:6]1[S:5][C:4]2[CH:11]=[CH:12][CH:13]=[CH:14][C:3]=2[C:2]=1[N:1]=[CH:17][N:18]([CH3:20])[CH3:19])=[O:8]A mixture of 3.38 g (16.32 mmol) of methyl 3-aminobenzo[b]thiophene-2-carboxylate (J. Org. Chem. 37, 3224 (1972)) in 8 mL of N,N,-dimethylformamide dimethyl acetal is heated at reflux temperature for 2 hours, then cooled to room temperature. The solid is collected by filtration, washing with hexane and ethyl acetate to provide 3.96 g (93%) of a white solid, mp 73–74° C.