N[C:2]1[CH:3]=[N:4][CH:5]=[C:6]([CH:11]=1)[C:7]([O:9][CH3:10])=[O:8].N([O-])=O.[Na+].C1C=CN=CC=1.[FH:22]>>[F:22][C:2]1[CH:3]=[N:4][CH:5]=[C:6]([CH:11]=1)[C:7]([O:9][CH3:10])=[O:8]To a stirring solution of 243 mg (1.6 mmol) of methyl 5-aminonicotinate in 5 mL of HF-pyridine at 0° C. was added 119 mg (1.72 mmol) of NaNO2. The mixture was stirred at 0° C. for 30 min. and at 50° C. for 1 h. The reaction was quenched by ice and sat. NaHCO3 solution. The aqueous layer was extracted with CHCl3, dried over Na2SO4, filtered, and concentrated. Purification by flash silica gel chromatography (1% MeOH/CHCl3) provided 139 mg of methyl 5-fluoronicotinate as a yellow solid in 56% yield.