[NH2:1][C:2]([NH2:4])=[S:3].Br.Br[CH:7]([C:18]1[CH:19]=[N:20][CH:21]=[CH:22][CH:23]=1)[C:8]([C:10]1[CH:15]=[CH:14][C:13]([O:16][CH3:17])=[CH:12][CH:11]=1)=O.C(N(CC)CC)C>C(#N)C>[NH2:1][C:2]1[S:3][C:7]([C:18]2[CH:19]=[N:20][CH:21]=[CH:22][CH:23]=2)=[C:8]([C:10]2[CH:11]=[CH:12][C:13]([O:16][CH3:17])=[CH:14][CH:15]=2)[N:4]=1In 40 ml of acetonitrile was dissolved 516 mg of thiourea. In the solution was suspended 2.5 g of 2-bromo-1-(4-methoxyphenyl)-2-(3-pyridyl)-ethanone hydrobromide. To the suspension was added dropwise slowly 0.95 ml of triethylamine while stirring. The mixture was stirred for 3 hours at a refluxing temperature, which was then left standing for cooling. Precipitating crystals were collected by filtration. The crystals were washed with an aqueous solution of saturated hydrogen carbonate, water, ethanol and ethylether in that order, followed by drying. The crystals were recrystallised from tetrahydrofuran to yield 1.5 g (90%) of 2-amino-4-(4-methoxyphenyl)-5-(3-pyridyl)-1,3-thiazol, m.p. 265°-266° C.