[N+:1]([C:4]1[CH:18]=[CH:17][CH:16]=[CH:15][C:5]=1[NH:6][C:7]1[S:8][C:9]([CH3:14])=[CH:10][C:11]=1[C:12]#[N:13])([O-])=O>C(OCC)(=O)C.[Pd]>[NH2:1][C:4]1[CH:18]=[CH:17][CH:16]=[CH:15][C:5]=1[NH:6][C:7]1[S:8][C:9]([CH3:14])=[CH:10][C:11]=1[C:12]#[N:13]2-(2-Nitroanilino)-5-methylthiophene-3-carbonitrile (100 g) is taken in ethyl acetate (1000 ml). The reaction mixture is then hydrogenated by 5% Pd/C (15 g) at 50-55° C. at 10-12 Kg pressure. The reaction mixture is filtered, and ethyl acetate is distilled off to get the title compound.