[Cl:1][C:2]1[CH:3]=[C:4]([CH:22](Cl)[CH3:23])[C:5]2[O:11][CH2:10][CH2:9][N:8]([C:12]([O:14][C:15]([CH3:18])([CH3:17])[CH3:16])=[O:13])[CH2:7][C:6]=2[C:19]=1[C:20]#[N:21].[CH3:25][C:26]1[C:34]2[C:29](=[N:30][CH:31]=[N:32][C:33]=2[NH2:35])[NH:28][N:27]=1.C(=O)([O-])[O-].[Cs+].[Cs+]>CN(C)C=O.C(OCC)(=O)C>[NH2:35][C:33]1[N:32]=[CH:31][N:30]=[C:29]2[N:28]([CH:22]([C:4]3[C:5]4[O:11][CH2:10][CH2:9][N:8]([C:12]([O:14][C:15]([CH3:18])([CH3:17])[CH3:16])=[O:13])[CH2:7][C:6]=4[C:19]([C:20]#[N:21])=[C:2]([Cl:1])[CH:3]=3)[CH3:23])[N:27]=[C:26]([CH3:25])[C:34]=12The crude tert-butyl 7-chloro-9-(1-chloroethyl)-6-cyano-2,3-dihydro-1,4-benzoxazepine-4(5H)-carboxylate (0.090 g, 0.26 mmol) was dissolved in N,N-dimethylformamide (3 mL), and 3-methyl-1H-pyrazolo[3,4-d]pyrimidin-4-amine (0.076 g, 0.51 mmol) and cesium carbonate (0.17 g, 0.51 mmol) were added. The reaction was heated to 90° C. for 18 hrs and then allowed to cool to room temperature. The reaction was diluted with ethyl acetate and then decanted from the solids. The organic layer was washed with water, brine, dried over magnesium sulfate, and concentrated to give tert-butyl 9-[1-(4-amino-3-methyl-1H-pyrazolo[3,4-d]pyrimidin-1-yl)ethyl]-7-chloro-6-cyano-2,3-dihydro-1,4-benzoxazepine-4(5H)-carboxylate as an oil. LCMS calculated for C23H27ClN7O3 (M+H)+: m/z=484.1; found: 484.1.