Reaction SMILES: CN(C(ON1N=NC2C=CC=CC1=2)=[N+](C)C)C.[B-](F)(F)(F)F.[CH3:23][O:24][C:25]1[CH:49]=[CH:48][C:28]([CH2:29][NH:30][C:31]2[C:40](/[CH:41]=[C:42](\[CH3:46])/[C:43]([OH:45])=O)=[CH:39][C:38]3[C:33](=[CH:34][CH:35]=[C:36]([Br:47])[CH:37]=3)[N:32]=2)=[CH:27][CH:26]=1.[CH3:50][C:51]([CH3:56])([CH3:55])[CH2:52][CH2:53][NH2:54].CCN(C(C)C)C(C)C.C(=O)(O)[O-].[Na+]>CN1C(=O)CCC1.C(OCC)(=O)C>[CH3:23][O:24][C:25]1[CH:26]=[CH:27][C:28]([CH2:29][NH:30][C:31]2[C:40](/[CH:41]=[C:42](\[CH3:46])/[C:43]([NH:54][CH2:53][CH2:52][C:51]([CH3:56])([CH3:55])[CH3:50])=[O:45])=[CH:39][C:38]3[C:33](=[CH:34][CH:35]=[C:36]([Br:47])[CH:37]=3)[N:32]=2)=[CH:48][CH:49]=1
Reactant: COc1ccc(CNc2nc3ccc(Br)cc3cc2/C=C(\C)C(=O)O)cc1
Reactant: CC(C)(C)CCN
Agent: CN(C)C(On1nnc2ccccc21)=[N+](C)C
Agent: F[B-](F)(F)F
Agent: O=C([O-])O
Solvent: CN1CCCC1=O
Solvent: CCOC(C)=O
Solvent: CCN(C(C)C)C(C)C
Product: COc1ccc(CNc2nc3ccc(Br)cc3cc2/C=C(\C)C(=O)NCCC(C)(C)C)cc1
Reaction time: 1 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).