Br[C:2]1[CH:3]=[CH:4][C:5]([N+:8]([O-:10])=[O:9])=[N:6][CH:7]=1.[CH3:11][NH:12][CH3:13]>C(O)C.O1CCCC1>[CH3:11][N:12]([CH3:13])[C:2]1[CH:7]=[N:6][C:5]([N+:8]([O-:10])=[O:9])=[CH:4][CH:3]=1To a solution of 1 g of 5-bromo-2-nitropyridine in 5 mL of ethanol are added 6 mL of a 2 M solution of dimethylamine in tetrahydrofuran. The reaction mixture is heated for 2 hours at 140° C. in a microwave machine. After cooling, the solid formed is separated off and washed with ethyl ether to give 850 mg of N,N-dimethyl-6-nitropyridine-3-amine in the form of a yellow solid.