[NH2:1][C:2]1[CH:11]=[CH:10][CH:9]=[C:8]2[C:3]=1[CH:4]=[C:5]([C:12]([OH:14])=[O:13])[N:6]=[CH:7]2.[CH3:15]O>>[NH2:1][C:2]1[CH:11]=[CH:10][CH:9]=[C:8]2[C:3]=1[CH:4]=[C:5]([C:12]([O:14][CH3:15])=[O:13])[N:6]=[CH:7]25-Aminoisoquinoline-3-carboxylic acid (25 g) is added to methanol (2 liters). The mixture is heated to the reflux temperature and a stream of dry hydrogen chloride is bubbled through for 3 hours. The mixture is heated under reflux for a further 3 hours and then concentrated to dryness under reduced pressure (20 mm Hg; 2.7 kPa) at 60° C. The residue is dissolved in water (200 cc) and the solution is washed with ethyl acetate (2×100 cc). The aqueous solution is rendered alkaline to pH 9 by adding potassium carbonate. The precipitate formed is filtered off, washed with water and dried to yield 5-amino-3-methoxycarbonylisoquinoline (20.3 g).