[O-]CC.[Na+].[C:5]([O:12][CH2:13][CH3:14])(=[O:11])[C:6]([O:8]CC)=O.[CH3:15][C:16]1[CH:21]=[CH:20][N:19]=[CH:18][C:17]=1[N+:22]([O-:24])=[O:23]>C1(C)C=CC=CC=1>[N+:22]([C:17]1[CH:18]=[N:19][CH:20]=[CH:21][C:16]=1[CH2:15][C:6](=[O:8])[C:5]([O:12][CH2:13][CH3:14])=[O:11])([O-:24])=[O:23]To a solution of freshly prepared sodium ethoxide was added diethyl oxalate (1.5 eq.) followed by 4-methyl-3-nitro pyridine (1 eq.) in toluene and reaction mixture was stirred overnight. It was then concentrated under reduced pressure and acidified with acetic acid to obtained red solid, which on further purification, by column chromatography provided the ethyl 3-(3-nitropyridin-4-yl)-2-oxopropanoate.