1-Methyl-4-[5-(4,4,5,5-tetramethyl-[1,3,2]dioxaborolan-2-yl)pyridin-2-yl]piperazine is used to prepare yrazolopyridine and indazoles as histone lysine methyltransferase EZH2 inhibitors. It is also used to synthesize tetrahydropyrido pyrazines as anaplastic lymphoma kinase inhibitors.