[CH3:1][C:2]1[CH:11]=[CH:10][C:9]2[C:4](=[CH:5][C:6]([C:12]([OH:14])=[O:13])=[CH:7][CH:8]=2)[N:3]=1.[C:15]([O-])([O-])=O.[K+].[K+].CI.O>CC(N(C)C)=O.C(OCC)(=O)C>[CH3:1][C:2]1[CH:11]=[CH:10][C:9]2[C:4](=[CH:5][C:6]([C:12]([O:14][CH3:15])=[O:13])=[CH:7][CH:8]=2)[N:3]=1To a solution of 2-methylquinoline-7-carboxylic acid (1.00 g, 5.34 mmol) and K2CO3 (2.36 g, 17.1 mmol) in DMA (10 mL) was added MeI (0.35 mL, 5.61 mmol) dropwise at ambient temperature. The reaction was stirred at ambient temperature for 18 hours. Water (30 mL) and ethyl acetate (50 mL) were added. The organic layer was separated, washed with water and brine, dried (sodium sulfate), filtered and concentrated under reduced pressure. The residue was purified by flash chromatography on silica gel (1:5 hexane/ethyl acetate) to give methyl 2-methylquinoline-7-carboxylate (0.99 g, 92.1%) as a solid.