[N+:1]([C:4]1[CH:21]=[CH:20][C:7]([C:8]([C:10](=[CH:16]N(C)C)[C:11]([O:13][CH2:14][CH3:15])=[O:12])=O)=[CH:6][CH:5]=1)([O-:3])=[O:2].Cl.[C:23]([NH2:31])(=[NH:30])[C:24]1[CH:29]=[CH:28][CH:27]=[CH:26][CH:25]=1.C(N(CC)CC)C.O>C(O)CCC>[N+:1]([C:4]1[CH:5]=[CH:6][C:7]([C:8]2[C:10]([C:11]([O:13][CH2:14][CH3:15])=[O:12])=[CH:16][N:31]=[C:23]([C:24]3[CH:29]=[CH:28][CH:27]=[CH:26][CH:25]=3)[N:30]=2)=[CH:20][CH:21]=1)([O-:3])=[O:2]A mixture of ethyl 2-(4-nitrobenzoyl)-3-dimethylaminopropenoate (3 g), benzamidine hydrochloride (1.93 g) and triethylamine (2 ml) in n-butyl alcohol (30 ml) was refluxed for 30 min. The reaction mixture was poured into water (300 ml) and the precipitate was collected by filtration. The residue was recrystallized with diethyl ether to afford ethyl 4-(4-nitrophenyl)-2-phenyl-5-pyrimidinecarboxylate (3.1 g).