Reaction SMILES: C(O)(C(F)(F)F)=O.COC1C=CC(C[NH:15][C:16]2[C:25]([CH2:26][CH:27]([CH3:37])[C:28]([NH:30][CH2:31][CH2:32][C:33]([CH3:36])([CH3:35])[CH3:34])=[O:29])=[CH:24][C:23]3[C:18](=[CH:19][CH:20]=[C:21]([C:38]4[C:43]([CH3:44])=[CH:42][CH:41]=[CH:40][N:39]=4)[CH:22]=3)[N:17]=2)=CC=1>>[NH2:15][C:16]1[C:25]([CH2:26][CH:27]([CH3:37])[C:28]([NH:30][CH2:31][CH2:32][C:33]([CH3:36])([CH3:35])[CH3:34])=[O:29])=[CH:24][C:23]2[C:18](=[CH:19][CH:20]=[C:21]([C:38]3[C:43]([CH3:44])=[CH:42][CH:41]=[CH:40][N:39]=3)[CH:22]=2)[N:17]=1
Reactant: COc1ccc(CNc2nc3ccc(-c4ncccc4C)cc3cc2CC(C)C(=O)NCCC(C)(C)C)cc1
Solvent: O=C(O)C(F)(F)F
Product: Cc1cccnc1-c1ccc2nc(N)c(CC(C)C(=O)NCCC(C)(C)C)cc2c1
Temperature: 65 °C
Reaction time: 5 h

Procedure:
Lithium chloride (2.41 g, 56.7 mmol) is stirred 4 h in MeCN (300 mL). To the cloudy solution was added 2-(4-methoxybenzylamino)-6-bromoquinoline-3-carbaldehyde (10.5 g, 28.4 mmol, prepared as in Example 2), ethyl 2-(diethoxyphosphoryl)propanoate (7.4 L, 34.0 mmol) and 2,3,4,6,7,8,9,10-octahydropyrimido[1,2-a]azepine (4.3 ml, 28.4 mmol) and the reaction is stirred 12 h. The reaction is partitioned between 10% sodium carbonate solution and EtOAc. The aqueous layer is extracted with EtOAc and the combined organic layers are washed with 10% sodium carbonate, brine, dried over sodium sulfate, filtered, and concentrated. The crude mixture is purified by silica gel chromatography eluted with 4:1 Hexanes/EtOAc to afford (E)-ethyl 3-(2-(4-methoxybenzylamino)-6-bromoquinolin-3-yl)-2-methylacrylate. Step 2 A 1M aqueous solution of LiOH (10.0 ml, 10.0 mmol) was added to a solution of (E)-ethyl 3-(2-(4-methoxybenzylamino)-6-bromoquinolin-3-yl)-2-methylacrylate (3.6 g, 7.9 mmol) in MeOH (10 mL) and THF (30 mL) at RT. The reaction was stirred 1 h. The organic solvent was removed in vacuo and the remaining aqueous solution was brought to a pH ˜1 with 1N HCl and the solution was extracted with a 2:1 chloroform/i-PrOH mixture. The combined organics were washed with brine, dried over sodium sulfate, filtered, and concentrated to afford (E)-3-(2-(4-methoxybenzylamino)-6-bromoquinolin-3-yl)-2-methylacrylic acid, which was used without further purification. Step 3 TBTU (1.2 g, 3.7 mmol) was added to (E)-3-(2-(4-methoxybenzylamino)-6-bromoquinolin-3-yl)-2-methylacrylic acid (1.2 g, 2.8 mmol), 3,3-dimethylbutylamine (1.1 ml, 8.4 mmol), and DIEA (2.0 ml, 11 mmol) in NMP (10 mL) and the reaction was stirred 1 h. The reaction was poured into a vigorously stirred solution of saturated aqueous sodium bicarbonate and after 30 min was diluted with ethyl acetate. The layers were separated and the aqueous layer was extracted with EtOAc. The combined organics were washed with water, brine, and dried over sodium sulfate, filtered, and concentrated to afford (E)-3-(2-(4-methoxybenzylamino)-6-bromoquinolin-3-yl)-N-(3,3-dimethylbutyl)-2-methylacrylamide which was used without further purification. Step 4 (E)-3-(2-(4-methoxybenzylamino)-6-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)quinolin-3-yl)-N-(3,3-dimethylbutyl)-2-methylacrylamide was prepared in a manner similar to that described in Step 7 of Example 2. Step 5 Bis(4-(di-tert-butylphosphino)-N,N-dimethylbenzenamine)dichloropalladium (II) (0.041 g, 0.058 mmol) was added to a degassed solution of (E)-3-(2-(4-methoxybenzylamino)-6-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)quinolin-3-yl)-N-(3,3-dimethylbutyl)-2-methylacrylamide (0.65 g, 1.2 mmol), potassium acetate (0.23 g, 2.3 mmol), and 2-bromo-3-methylpyridine (0.20 mL, 1.8 mmol) in EtOH (12 mL) and water (2 mL). The resulting solution was refluxed for 12 h. Then the reaction mixture was cooled and partitioned between dichromethane and 9:1 saturated ammonium chloride/ammonium hydroxide aqueous solution. The aqueous layer was extracted with DCM and the combined organics were washed with a 9:1 saturated ammonium chloride/ammonium hydroxide solution, water, brine, dried over sodium sulfate, filtered and concentrated. The crude product was purified by silica gel column chromatography (1:1 Hex/EtOAc) to afford (E)-3-(2-(4-methoxybenzylamino)-6-(3-methylpyridin-2-yl)quinolin-3-yl)-N-(3,3-dimethylbutyl)-2-methylacrylamide. Step 6 Palladium on carbon (0.71 g, 0.67 mmol) was added to a solution of (E)-3-(2-(4-methoxybenzylamino)-6-(3-methylpyridin-2-yl)quinolin-3-yl)-N-(3,3-dimethylbutyl)-2-methylacrylamide (0.35 g, 0.67 mmol) in EtOH (6 mL). The flask was degassed with hydrogen gas and then stirred under a balloon of hydrogen gas for 12 h. The reaction was filtered through celite and washed with EtOH and EtOAc. The filtrate was concentrated to afford 3-(2-(4-methoxybenzylamino)-6-(3-methylpyridin-2-yl)quinolin-3-yl)-N-(3,3-dimethylbutyl)-2-methylpropanamide which was used without further purification. Step 7 TFA (6.0 mL, 78 mmol) was added to 3-(2-(4-methoxybenzylamino)-6-(3-methylpyridin-2-yl)quinolin-3-yl)-N-(3,3-dimethylbutyl)-2-methylpropanamide (0.30 g, 0.57 mmol) and the reaction was heated to 65° C. After 5 h, the reaction was concentrated and the crude material dissolved in dichloromethane. The organic layers were washed with 1N NaOH and the aqueous layer was again extracted with DCM. The combined organic layers were washed with brine, dried over sodium sulfate, and concentrated. The crude product was purified by silica gel column chromatography (20:1 DCM/MeOH with 2M NH3) to afford 3-(2-amino-6-(3-methylpyridin-2-yl)quinolin-3-yl)-N-(3,3-dimethylbutyl)-2-methylpropanamide. MS (ESI, pos. ion) m/z: 405 (M+1).