[Cl:1][C:2]1[CH:7]=[CH:6][N:5]=[CH:4][C:3]=1[C:8]([OH:10])=[O:9].[Si](C=[N+]=[N-])(C)(C)[CH3:12]>ClCCl.CO.CCOCC>[Cl:1][C:2]1[CH:7]=[CH:6][N:5]=[CH:4][C:3]=1[C:8]([O:10][CH3:12])=[O:9]To a suspension of 4-chloro-3-pyridinecarboxylic acid (3.630 g) in dichloromethane (20 mL) and methanol (8 mL) stirred under argon at 0° C. was added TMS-diazomethane 2M in Et2O (17.28 mL) dropwise. The reaction mixture was stirred at room temperature for 1 h. The solvents were evaporated in vacuo and the crude product was added to a silica gel column and was eluted with cyclohexane/EtOAc=7/3. The evaporation of the collected fractions gave 2.7 g of the title compound as a colourless solid.