Cl[C:2]1[N:7]=[C:6](Cl)[C:5]([N+:9]([O-:11])=[O:10])=[CH:4][N:3]=1.[CH3:12][O-:13].[Na+].[CH3:15][OH:16]>>[CH3:12][O:13][C:2]1[N:7]=[C:6]([O:16][CH3:15])[C:5]([N+:9]([O-:11])=[O:10])=[CH:4][N:3]=12,4-Dichloro-5-nitropyrimidine (9.7 g), prepared using the procedure in J. Chem. Soc., 1951, 1565, was added to a solution of sodium methoxide in methanol (obtained from sodium (2.8 g) and methanol (50 ml)) at 0°-5° C. The mixture was heated at reflux for 2 hours and poured onto ice water (200 ml). The suspended solid was collected by filtration and dried under vacuum to give 2,4-dimethoxy-5-nitropyrimidine (7.6 g) as a solid, m.p. 92°-93° C.