GENERAL METHOD: A mixture of 3-(dimethylamino)-1-(4-methoxyphenyl)prop-2-en-1-one (1 mmol), guanidine nitrate (2 mmol) and anhydrous K2CO3 (5 mmol) in n-butanol (10 mL) was refluxed for 12 hours. After completion of the reaction, it was cooled to room temperature and the reaction solution was poured into water (30 mL) and extracted with ethyl acetate (3 x 20 mL). The organic layers were combined and concentrated under reduced pressure, and the resulting crude product was purified by recrystallization from ether to give 4-(4-methoxyphenyl)pyrimidin-2-amine.