Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
IMIDAZOPYRIMIDINES AND TRIAZOLOPYRIMIDINES AS A2A / A2B INHIBITORS
Document Type and Number:
WIPO Patent Application WO/2019/168847
Kind Code:
A1
Abstract:
This application relates to compounds of Formula (I) or pharmaceutically acceptable salts or stereoisomers thereof, which modulate the activity of adenosine receptors, such as subtypes A2A and A2B receptors, and are useful in the treatment of diseases related to the activity of adenosine receptors including, for example, cancer, inflammatory diseases, cardiovascular diseases, and neurodegenerative diseases.

Inventors:
WANG XIAOZHAO (US)
GAN PEI (US)
HAN HEEOON (US)
HUANG TAISHENG (US)
MCCAMMANT MATTHEW S (US)
QI CHAO (US)
QIAN DING-QUAN (US)
WU LIANGXING (US)
YAO WENQING (US)
YU ZHIYONG (US)
ZHANG FENGLEI (US)
Application Number:
PCT/US2019/019582
Publication Date:
September 06, 2019
Filing Date:
February 26, 2019
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
INCYTE CORP (US)
International Classes:
C07D487/04; A61K31/519; A61P9/00; A61P25/00; A61P29/00; A61P35/00; C07D519/00
Domestic Patent References:
WO2003048164A22003-06-12
WO2003044021A22003-05-30
WO2018166493A12018-09-20
WO2018184590A12018-10-11
WO2004005281A12004-01-15
WO2003037347A12003-05-08
WO2003099771A22003-12-04
WO2004046120A22004-06-03
WO2000009495A12000-02-24
WO2005028444A12005-03-31
WO2004080980A12004-09-23
WO2004056786A22004-07-08
WO2003024967A22003-03-27
WO2001064655A12001-09-07
WO2000053595A12000-09-14
WO2001014402A12001-03-01
WO2002000196A22002-01-03
Foreign References:
EP0976753A12000-02-02
EP1544200A12005-06-22
US5521184A1996-05-28
Other References:
SACHDEVA, S.; GUPTA. M., SAUDI PHARMACEUTICAL JOURNAL, vol. 21, 2013, pages 245 - 253
SATTIN, A.; RAIL, T.W., MOL. PHARMACOL., vol. 6, 1970, pages 13 - 23
HASKO', G., PHARMACOL. THER., vol. 113, 2007, pages 264 - 275
TAUTENHAHN. M. ET AL., NEUROPHARMACOLOGY, vol. 62, 2012, pages 1756 - 1766
MATSUMOTO, T. ET AL., PHARMACOL. RES., vol. 65, 2012, pages 81 - 90
LIVINGSTON, M. ET AL., INFLAMM. RES., vol. 53, 2004, pages 171 - 178
CARLSSON, J. ET AL., J. MED. CHEM.., vol. 53, 2010, pages 3748 - 3755
BORRMANN, T. ET AL., J. MED. CHEM., vol. 52, no. 13, 2009, pages 3994 - 4006
ANTONIOLI, L. ET AL., NATURE REVIEWS CANCER, vol. 13, 2013, pages 842 - 857
RYZHOV. S. ET AL., NEOPLASIA, vol. 10, 2008, pages 987 - 995
BOMNANN, T. ET AL., J. MED. CHEM., vol. 52, no. 13, 2009, pages 3994 - 4006
ALLARD, B. ET AL., CURRENT OPINION ;N PHARMACOLOGY, vol. 29, 2016, pages 7 - 16
ALLARD, B. ET AL., CURRENT OPINION IN PHARMACOLOGY, vol. 29, 2016, pages 7 - 16
ANTONIOLI. L. ET AL., NATURE REVIEWS CANCER, vol. 13, 2013, pages 842 - 857
"Remington's Pharmaceutical Sciences", 1985, MACK PUBLISHING COMPANY, pages: 1418
JOURNAL OF PHARMACEUTICAL SCIENCE, vol. 66, no. 2, 1977
CEKIC C ET AL., J LMMUNOL, vol. 188, 2012, pages 198 - 205
IANNONE, R. ET AL., AM. J. CANCER RES., vol. 4, 2014, pages 172 - 181
IANNONE, R. ET AL., NEOPLASIA, vol. 15, 2013, pages 1400 - 1410
BEAVIS PA. ET AL., PROC NAIL ACAD SCI. USA, vol. 110, 2013, pages 14711 - 14716
BARALDI ET AL., CHEM. REV., vol. 108, 2008, pages 238 - 263
EISENSTEIN, A. ET AL., J. CELL PHYSIOL., vol. 230, no. 12, 2015, pages 2891 - 2897
COLLINS, L. E. ET AL., PHARMACOL. BIOCHEM. BEHAV., vol. 100, 2012, pages 498 - 505
FIGLER, R. A. ET AL., DIABETES, vol. 60, no. 2, 2011, pages 669 - 679
ALAN F. THOMAS: "Deuterium Labeling in Organic Chemistry", 1971, APPLETON-CENTURY-CROFTS
JENS ATZRODT; VOLKER DERDAU; THORSTEN FEY; JOCHEN ZIMMERMANN: "The Renaissance of H/D Exchange", ANGEW. CHEM. INT. ED., 2007, pages 7744 - 7765, XP055192405, DOI: doi:10.1002/anie.200700039
JAMES R. HANSON: "The Organic Chemistry of Isotopic Labelling", 2011, ROYAL SOCIETY OF CHEMISTRY
A. KEREKES, J. MED. CHEM., vol. 2011, no. 54, pages 201 - 210
R. XU, J. LABEL COMPD. RADIOPHARM., vol. 58, 2015, pages 308 - 312
K. BLOM.: "Two-Pump At Column Dilution Configuration for Preparative LC-MS", J. COMBI. CHEM.., vol. 4, 2002, pages 295
K. BLOM; R. SPARKS; J. DOUGHTY; G. EVERLOF; T. HAQUE; A. COMBS: "Optimizing Preparative LC-MS Configurations and Methods for Parallel Synthesis Purification", J. COMBI. CHEM., vol. 5, 2003, pages 670
K. BLOM; B. GLASS; R. SPARKS; A. COMBS: "Preparative LC-MS Purification: Improved Compound Specific Method Optimization", J. COMBI. CHEM, vol. 6, 2004, pages 874 - 883
K. BLOM; B. GLASS; R. SPARKS; A. COMBS: "Preparative LCMS Purification: Improved Compound Specific Method Optimization", J. COMB. CHEM., vol. 6, 2004, pages 874 - 883
Attorney, Agent or Firm:
KARNAS, Elizabeth et al. (US)
Download PDF:
Claims:
What is claimed is:

1. A compound of Formula (1):

or a pharmaceutically acceptable salt thereof; wherein:

X is CR3;

R* is selected from H, CM alkyl, C2-6 alkenyl, C2-6 alkynyl, and CM haloalkyl;

R2 is selected from H, D, halo, CM alkyl, CM haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce- i4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalky 1, C6-! arj'l-C -6 alkyl-, C3- 14 cycloalkyl -CM alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, (4-14 membered heterocycloalky 1)-Ci.5 alkyl-, CN, N02, ORa2, SRC NHORa2, C(0)Rb2,

C(0)NRc2Rd2, C(0)NRc2(0Ra2), C(0)0Ra2, 0C(0)Rb2, 0C(0)NRc2Rd2, NRc2Rd2,

NR' N R 'R'i2. NRc2C(0)Rb2, NRc2C(0)0Ra\ NRc2C(0)NRc2Rd2, C(=NRe2)Rb\

C(=NRe2)NRc2Rd2, NRc2C(=NRe2)NRc2Rd2, NRc2C(=NRe2)Rb2, NRc2S(0)NRc2Rd2,

NRc2S(0)Rb2, NRo2S(0)2Rb2, NRc2S(0)(=NRe2)Rb2, NRo2S(0)2lSlRc2Rd2, S(0)Rb2,

SiOjN R· Rd . S(0)2Rb2, S(0)2NRc2Rd2, 0S(0)(=NRe2)Rb2, 0S(0)2Rb2, SF5, P(G)Rf2R8\ 0P(0)(0R!,2)(0R12), R(0)(OK:2)(OR!2), and BRJ2Rk2, wherein the CM alkyl, C2-6 alkenyl, CM alkynyl, Ce- aryl, C3-i4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, CM* and -C -6 alkyl-, C3-14 cycloalkyl-CM alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl- of R2 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected Rc substituents;

R3 is selected from H, 13, halo. C alkyd. C haloalkyl, C alkenyl, C alkynyl, Cs- 14 aryl, CS-M cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, aryl-Ci-6 alkyl-, C3-14 cycloalkyl-C M alkyl-, (5-14 membered heteroaryli-CM alkyl-, (4-14 membered heterocycloalkyl)-C -6 alkyl-, CN, NQ2, ORa3, SRa3, NHORa3, C(0)Rb3,

C(0)NRc3Rd3, C(0)NRc3(0Ra3), C(0)0Ra3, 0C(0)Rb3, 0C(0)NRc3Rd3, NRc3Rd3,

NRc3NRc3Rd3, NRc3C(0)Rb3, NRc3C(0)0Ra3, NRc3C(0)NRc3Rd3, C(=NRe3)Rb3,

C(=NRe3)NRc3Rd\ NRc3C(=NRe3)NRc3Rd3, NRc3C(=NRe3)Rb3, NRc3S(0)NRc3Rd3,

NRc3S(0)Rb3, NRc3S(0)2Rb3, NR SiO!S NR )Rb NRc3S(0)2NRc3Rd3, S(0)Rb3,

S(0)NRc3Rd3, S(0)2Rb3, S(0)2NRc3Rd3, 0S(0)(=NRe3)Rb3, 0S(0)2Rb3, SF\, P(0)Rf3Rg3, 0P(0)(0Rb3)(0R13), P(0)(0RM)(0Ri3), and BRj3Rk3, wherein the CM alkyl CM alkenyl CM aikynyl Ce-w aryl, C3-H eyeloalkyl, 5-14 membered heteroaryl, 4-14 membered

heierocycloalkyl, Ce-i4 aryl-Cs-6 alkyl-, Cs-w eyeloalkyi-CM alkyl-, (5-14 membered heteroaiyl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C alk l- of R3 are each optionally substituted with 1 , 2, 3, 4, 5, 6, 7, or 8 independently selected RD substituents;

Cy1 is Ce-H aryl, C3-14 eyeloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl, wherein the Ce-w aryl, C3-14 eyeloalkyl, 5-14 membered heteroaryl or 4-14 membered heteroc cloalkyl is optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected Rh or RM substituents;

Cy3 is C&-34 aryl,€3-14 cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heierocycloalkyl, wherein the Cg-i aryl,€3-34 eyeloalkyl, 5-14 membered heteroaryl, or 4-14 membered heierocycloalkyl is optionally substituted with l, 2, 3, 4, 5, 6, 7, or 8 independently selected Rp substituents;

each R32, R“, Rdi, Ra5, R*3, and Rd3 is independently selected from H, CM alkyl, CM haloalkyl, C2-6 alkenyl, C2-6 aikynyl, C6-i4 aryl,€3-3 eyeloalkyl, 5-14 membered heteroaryl, 4- 14 membered heierocycloalkyl, C&-14 aryl-CM alkyl-, C3-i4cycloalkyl-CM alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C M alkyl-, wherein the CM alk l, C2-6 alkenyl, CM aikynyl, Ce-u aryl, C3-M eyeloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-i aryl-CM alkyl-, C3-i4cycloalkyl-CM alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heierocycloalkyl)-Ci-6 alkyl- of Ra2, Rc2, Rd2, R33, Rc3, and Rd3 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected Ru substituents;

or any Rc2 and Rd2 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R° substituents;

or any R" and Rd3 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heierocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;

each Rb2 and Rb3 is independently selected from H, CM alkyl, CM haloalkyl, C2.& alkenyl, C2-& aikynyl, Ce-w aryl,€3-3 eyeloalkyl, 5-14 membered heteroaryl 4-14 membered heterocycloalkyl Ce-14 aiyl-Ci-6 alkyl-, Cs-u cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C M alkyl-, wherein the CM alkyl, C2-6 alkenyl, C2-6 alkynyi, Ce-u aryl, C3-i4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C -u aiyl-Ci-6 alkyl-, C3-H cycloalky 1-Ci-e alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, and (4-14 membered heterocyeloalkyi)-C i-s alkyl- of RD2 and Rb3 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected RG substituents; each R52 and Re3 is independently selected from H, OH, CN, C i-s alkyl, C i-s alkoxy, Ci-e haloalkyl, Cj-e haloalkoxy, C2-6 alkenyl, C2-6 alkynyi, Ce-u aryl, C3-i4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u ar l-Ci-6 alkyl-, C3-14 cycloalkyl- C 1-6 alkyl-, (5-14 membered heteroai l)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each Rg, Rg2, Rfi, and Rg3 is independently selected from H, Cj-6 alkyl, Ci-6 haloalkyl, Ci-ealkoxy, Cj-6 haloalkyl, Ci^haloalkoxy, C2-6 alkenyl, C2-6 alkynyi, Ce-u aiyl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C&.M ary 1-C -e alkyl-, C3-]4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaiyll-Cj-e alkyl-, and (4-14 membered heterocy cloalky 1)-C 1.5 alky 1-;

each Rl12, Ri2, R!l3, and Rl3 is independently selected from H, C i-s alkyl, Ci-6 haloalkyl, €2-5 alkenyl, C2-S alkynyi, C&-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C5-14 aryl-Ci-e, alkyl-, C3-i4 cy cloalky l-Ci-6 alkyl-, (5-14 membered heteroaryl)-C] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-;

each Rj2, Rk2, R , and R*·’ is independently selected from OH, Ci^ alkoxy, and C1-6 haloalkoxy;

or any Rj2 and RK attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci-e alky l and Ci-g haloalkyl;

or any RJJ and R^’ attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci-6 alkyl and Ci-ehaloalkyl;

each Rc, R°, RE, RM, RF, and R° is independently selected from D, halo, oxo, Ci-s alkyl, Ci-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyi, C6-i4 aryl, C3-j4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C6-M aryl-Ci-6 alkyl-, C3-i4 cy cloalky 1-C 1-6 alkyl-, (5-14 membered heteroarylVC i-e alkyl-, (4-14 membered heterocycloalkyd)-C i-e alkyl-, CN,

S(0)NRc4Rd4, S(0)2Rm, S(0)2NRc+Rd4, 0S(0)(=NRe4)Rb4, 0S(0)2RM, SF5, P(0)Rf4Rg4, 0P(0)(0Rh4)(0R’4), P(0)(0Rtl4)(0Ri4), and BR iC i wherein the CM alkyl, CM alkenyl, CM alkynyl, C K aryl, CB-sr cycloalkyl, 5-14 membered heteroaryl, 4-14 menrhered

heterocycloalkyl, Ce-w ar l-Ci-6 alkyl-, C3-14 cycloalkyl-Cw alkyl-, (5-14 membered heteroaryl)-C]-6 alkyl-, and (4-14 membered heterocycloalkyl)-CM alkyl- of Rc, RD, RC RM, Rr, and R° are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected RH substituents;

each R3+, Rc4, and Rd4 is independently selected from H, CM alkyl, CM haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&.14 aryl, C3-1 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, (M-M aryl-CM alkyl-, Cs-w cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C]-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, wherein the CM alkyl, CM, alkenyl, CM, alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-CM alkyl-, CS-M cycloalky 1-CM alkyl-, (5-14 membered heteroaryl)-Ci.6 alkyl-, and (4-14 membered heterocycloalkyl)-C½ alkyl- of R84, Rc4, and Rd4 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected Rh substituents;

or, any R®4 and R04 attached to the same N atom, together with the N atom to which they are attached, optionally form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected RH substituents;

each Rb4is independently selected from H, C , alkyl, C , haloalkyl. CM, alkenyl, CM, alkynyl, Ce-u aryl, C3-M cycloalkyi, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-w ary 1-CM alkyl-, C3-14 eyeloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C]-6 alkyl-, and (4-14 membered heterocycioalkyi)-Cs-6 alkyl-, wherein the CM alkyl, CM alkenyl, CM alkynyl, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C5-14 aryl-CM, alkyl-, C3-M cycloalkyl-CM alk l-, (5-14 membered heteroaryl)-C]-6 alkyl-, and (4-14 membered heterocycloalkyi)-Ci-6 alkyl- of Rb4 are each optionally substituted with 1 , 2, 3, 4, 5, 6, 7, or 8 independently selected Rri substituents; each Re4 is independently selected from H, OH, CN, CM alkyl, Cs-ealkoxy, CM haloalkyl, Ci-ehaloalkoxy, CM alkenyl, C alkynyl, C&-1 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C M alkyl-, C3-14 cycloalkyl- CM alkyl-, (5-14 membered heteroaiylt-Ci-g alkyl-, and (4-14 membered heterocycloalkyl)-C]. 6 alkyl-; each Rf4 and Rs‘! is independently selected from H, Ci-e alkyl Ci-ealkoxy, Ci-e haloalkyl C;i-f!haloa3koxy, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w aryl-C -6 alkyl-, Cs-i cycloalkyi- Ci-6 alkyl-, (5-14 membered heteroaryl) -C1-6 alkyl-, and (4-14 membered heterocycloalky 1)-Ci. & alkyl-;

each Rh4 and R'4 is independently selected from H, C -g alkyl, C -g haloalkyl C2-6 alkenyl, C2-6 alkynyl, Cg-u aryl, C -u cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w aryl-Ci-g alkyl-, C -i+ cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky l)-Ci-6 alkyl-;

each R'4 and Rk4 is independently selected from OH, C -galkoxy, and Ci-ghaloalkoxy; or, any Rj4 and Rk+ attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci-e alky l and C -g haloalkyl;

each RH is independently selected from D, halo, oxo, Ci-6 alkyl, Ci-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, Cj-w cycloalkyl, 5-14 membered heteroaryl 4-14 membered heterocycloalkyl, Cg-u aryl-C 1.5 alkyl-, C3-1 cycloalky I-C1-6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, (4-14 membered keterocycloalkyl)-Ci-6 alkyl-, CN, NO2, OR®5, SR85,

0P(0)(0Rh5)(0Rl5), P(0)(0Rbi)(0Rl5), and BR- 'R’ l wherein the Ci-6 alkyl, C2-g alkenyl, C2-g alkynyl, Cg-u aryl,€3-14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered

heterocy cloalkyl, Cg-u aryl-C i-g alkyl-, C3-i4 cycloalkyl-C -6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky l)-Ci-6 alkyl- of R1 ! are each optionally substituted with 1, 2, 3, or 4 independently selected R1 substituents;

each R85, Rc5, and Rd5 is independently selected from H, Cj-b alkyl, Ci-e haloalkyl, C2-6 alkenyl,€2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C6-i4 aryl-Cs-6 alkyl-, Cs-i cycloalkyi-C -g alkyl-, (5-14 membered heteroaryl)-Ci.6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, wherein the C .g alkyl, C2-6 alkenyl, C2-6 alkynyl, Cg-w aryl, Ci-K cycloalkyl, 5-14 membered heteroaryd, 4-14 membered heterocycloalkyl, Cg-u aryl-C -6 alkyl-, C3-14 cycloalky l-C -6 alkyl-, (5-14 membered heteroaryl)-C]-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- of Ra\ Rc\ and Rd5 are each optionally substituted with 1, 2, 3, or 4 independently selected R‘ substituents;

or any R05 and Rd5 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R: substituents;

each Rto is independently selected from H, Ci-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, CM* aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryi- C 1.6 alkyl-, C3-14 cycloalky l-Ci-e alkyl-, (5-14 membered heteroaiyl)-C -6 alkyl-, and (4-14 membered heteroeycloalkyl)-C 1.5 alkyl-, wherein the Cw alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce- i4 aryl, Cs-w cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CS-M aryl-Ci-6 alkyl-, C3-M cycloalky 1-Cw alkyl-, (5-14 membered heteroaryl)-C -6 alkyl-, and (4-14 membered heterocycloalky l)-Ci-6 alkyl- of Rto are each optionally substituted with 1, 2, 3, or 4 independently selected R! substituents;

each Re- is independently selected from H, OH, CN, Cj-6 alkyl, Ci-e alkoxy, Cw haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl, C2.6 alkynyl, Ce-i4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CM* ary I-C1-6 alkyl-, C3-14 cycloalkyl- C 1-6 alkyl-, (5-14 membered heteroaryl) -Ci-s alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each Rf:’ and R®5 is independently selected from H, Ci-6 alkyl, Cj-e alkoxy, C M> haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl,€2-5 alkynyl, Ce-u aryl, C3-14 cycloalkyl, 5-14 membered heteroary l, 4-14 membered heterocycloalky 1, Ce-u aiyd-Ci-e alkyl-, C3-H tycloalkyl- Ci-6 alkyl-, (5-14 membered heteroaiyli-Ci-g alkyl-, and (4-14 membered heterocycioalkyl)-Ci- s alkyl-;

each Rto and R15 is independently selected from H, Ci-s alkyl, Ci-b haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C<5-i4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C w ary 1-Ci-e, alkyl-, C3-14 cycloalkyl-Cw alkyl-, (5-14 membered

heteroaryl)-C]-6 alkyl-, and (4-14 membered heterocycioaikyi)-Ci-6 alkyl-;

each Rj5 and R1* is independently selected from OH, Ci-galkoxy, and C -ehaloalkoxy ; or, any Rj5 and RK attached to the same B atom, together with the B atom to wirich they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1 , 2, 3, or 4 substituents independently selected from C -.-e alkyl and Cue haloalkyl;

each RE is independently selected from D, halo, oxo, Ci-6 alkyl, Cue haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&-J4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w aryl-Ci-e alkyl-, Cj-i+ cycloalkyl-Cj-e alkyl-, (5-14 memhered heteroaryl)-Cj-6 alkyl-, and (4-14 membered heterocycloa3kyl)-Ci-6 alkyl-, CN, NO2, ORa6, SR36, NHORa6, C(0)Rb6, C(0)NRc6Rd6, CfO)NRc6(ORa6), C(0)0Rai>, 0C(0)Rb6,

0C(0)NRc6Rd6, NRc6Rd6, NRc5NRc6Rd6, NRc6C(0)Rfc6, NRc6C(0)0Ra6, NRc5C(0)NRc5Rd6, C(=NRe6)Rb6, C(=NRe6)NRc6Rd6, NRc6C(=NRe6)NRc6Rd6, NRc6C(=NRe6)Rb6, NRc6S(0)Rb6, NRe6S(0)NRc6Rd6, NRc6S(0)2Rb6, NRo6S(0)(=NRe6)Rb6, NRc6S(0)2NRc6Rd6, S(0)Rb6, S(0)NRc5Rd5, SsOi -R1". S(0)2NRc5Rd6, 0S(0)(=NRe6)Rb6> 0S(0)2Rb6, SF5, P(0)RffiRs6, QP(0)(0Rb6)(0Rl6), P(0)(0R“6)(0R15), and BR'6Rk6, wherein the Ci-6 alkyl C2-6 alkenyl C2-6 alkynyl, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-i4 aryt-Cj-6 alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C]-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- of Rl are each optionally substituted with 1 , 2, 3, or 4 independently selected R/' substituents;

each R36, R06, and Rd6 is independently selected from H, C1-6 alkyl C1-6 haloalkyl C2-6 alkenyl, C2-6 alkynyl, C&-14 aryl, C3..14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C i-e alkyl-, C3-i4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky 1)-C 1.6 alkyl-, wherein the Ci.& alkyl, C2-6 alkenyl, C2-6 alkynyl, C&-J4 aryl, CJ-M cycloalky 1, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci-e alkyl-, Cs-u cycloalkyl-Cj-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky 1)-C 1.6 alkyl- of Ra5, RCR, and RdR are each optionally substituted with 1, 2, 3, or 4 independently selected RJ substituents; or any Rc6 and Rdo attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroary l or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected RJ substituents;

each Rbb is independently selected from H, Cj-6 alkyl, Cj-6 haloalkyl C2-s alkenyl, C2-6 alkynyl, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, C M ary I-C1-& alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C]-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, wherein the Cj-e alkyl, C2-& alkenyl, C2-f, alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C6-H aryl-Ci-e alkyl-, CVw cycloalkyl-C i-e alkyl-, (5-14 membered heteroaryl)-Ci.6 alkyl-, and (4-14 membered heterocycloalkyl)-C½ alkyl- of R66 are each optionally substituted with 1 , 2, 3, or 4 independently selected R1 substituents;

each R®6 is independently selected from H, OH, CN, Ci-e alkyl, Ci-e alkoxy, Ci-e haloalkyl, Cj-ehaloalkoxy, C2-6 alkenyl, C2-e alkynyl, C&-J4 aryl, C3-14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CM 4 ary l-Ci-6 alkyl-, C3-i4 cycloalkyl- C -6 alkyl-, (5-14 membered heteroaryli-Ci-f, alkyl-, and (4-14 membered heterocycloalkyl)-Ci-

6 alkyl-;

each Rf6 and R86 is independently selected from H, Ci-6 alkyl, Ci^ alkoxy, Ci-e haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ca-u aryl, C3-i4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-ir aiyl-Ci-6 alkyl-, C3-14 cycloalkyl- Ci-f, alkyl-, (5-14 membered heteroaryl) -C -6 alkyl-, and (4-14 membered heterocycioalkyl)-C - 6 alkyl-;

each Rh6 and R” is independently selected from H, C1.6 alkyl, Ci-b haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&-K aryl, C-t-u cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w aryl-Ci-6 alkyl-, C -i+ cycloalkyl-C -e alkyl-, (5-14 membered

heteroaryl)-C]-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-;

each Rj6 and Rk6 is independently selected from OH, C -galkoxy, and Ci-shaloalkoxy; or, any Rj6 and Rk6 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C 1.5 alkyl and Che haloalkyl;

each RJ is independently selected from D, halo, oxo, C -6 alkyl, C -6 haloalkyl, C2-f, alkenyl, C2-6 alkynyl, Ce-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce- aryl-C 1 -5 alkyl-, C3-14 cycloalky I-C1-6 alkyl-, (5-14 membered

heteroaryl)-C 1-6 alkyl-, and (4-14 membered heteroeyeloalky4)-Ci-6 alkyl-, CN, N02, ORa7, SRa7, NHORa7, C(0)Rb7, C(G)NRc7Rd7, C(0)NRc7(0Ra7), C(0)0Ra7, 0C(0)Rb7,

GCsOiX R-' Rd . NRc7Rd7, NRc7NRc7Rd7 NRc7C(0)Rb7, NRc7C(0)0Ra7, NRc7C(0)NRc7Rd7, C(=NRe7)Rb7, C(=NRe7)NRc7Rd7, NRc7C(=NRe7)NRc7Rd7, NRc7C(=NRe7)Rb7, NRc7S(0)Rb7, NRc7S(0)NRc7Rd7, NRc7S(0)2Rb7, NRc7S(0)(=NRe7)Rb7, NRc7S(0)2NRc7Rd7, S(0)Rb?, SiOiNR R 1 S(0)2Rb7, S(0)2NRc7Rd7, 0S(0)(=NRe7)Rb7, 0S(0)2Rb7, Si·',. P(0)Ri7Rg7, 0P(0)(0Rh7)(0R17), P(0)(0Rb7)(0R17), and BRj7Rt7, wherein the Ci-5 alkyl, C2.5 alkenyl, C2.5 alkynyl, Ct,-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-w aryl-C 1-6 alkyl-, Cs-i+ cycloalkyl-C -e alkyl-, (5-14 membered

heteroaryl)-C].6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- of RJ are each optionally substituted with 1, 2, 3, or 4 independently selected RK substituents;

each Ra/, Rc', and Rd' is independently selected from H, Ci-6 alkyl, Ci-6 haloalkyl, C2.6 alkenyl, C2-& alkynyl. CM* aryl, Cj-w cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-ir aiyl-Ci-6 alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-14 membered

heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C i-e alkyl- wherein the Ci-& alkyl,€2-6 alkenyl, C2-6 alkynyl, Cg-u aiyd, C3-i4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cgwi ary 1-Ci-g alkyl-, C3-M cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, and (4-14 membered heterocyeloalkyl)-Ci-s alkyl- of Ra7, Rc ', and Rd' are each optionally substituted with 1, 2, 3, or 4 independently selected RK substituents; or any Rc7 and Rd/ attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1 , 2, 3, or 4 independently selected R substituents;

each Rb? is independently selected from H, Ci-e alkyl, Ci-e haloalkyl, Cb-g alkenyl,€2-5 alkynyl, Cg-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Cb-w aryl-Cb-g alkyl-, C -i+ cycloalkyl-Ch-g alkyl-, (5-14 membered heteroaryl)-C] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-g alkyl-, wherein the (b-g alkyl, C2-6 alkenyl, C2-6 alkynyl, Cg-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C .14 ar l-Ci-6 alkyl-, C3.14 cycloalkyl-Ci-g alkyl-, (5-14 membered heteroaryl)-Ci-g alkyl-, and (4-14 membered heterocycloalkyl)-Ci-g alkyl- of Rfc7 are each optionally substituted with 1, 2, 3, or 4 independently selected RK substituents;

each Re7 is independently selected from H, OH, CN, Ci-g alkyl, C2-6 alkenyl, Cb-g alkoxy, Cb-g haloalkyl, Ci-ghaloalkoxy, C2-6 alkynyl, Cg-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl;

each R17 and Rs? is independently selected from H, Ci-g alkyl, (b-g alkoxy, Ci-g haloalkyl, Ci-ghaloalkoxy, C2-6 alkenyl, C2- alkynyl, Cg-w aryl, C3-i4 cycloalkyl, 5-14 membered heteroary l, 4-14 membered heterocycloalkyl, C -u aryl-Cb-g alkyl-, Cb-u cycloalkyl- Ci-g alkyl-, (5-14 membered heteroaryl)-C]-g alkyl-, and (4-14 membered heterocydoalkyl)-(b- g alkyl-;

each Rh7 and Rl7 is independently selected from H, Ci-g alkyd, Ci-g haloalkyl, Cb-g alkenyl, C2-6 alkynyl, Cg-j4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w ary 1-Ci-g alkyl-, C -i+ cycloalkyl-Ci-g alkyl-, (5-14 membered heteroaryl)-C]-g alkyl-, and (4-14 membered heterocycloalkyi)-Ci-g alkyl-;

each RJ / and R*' is independently selected from OH, Ci-g alkoxy, and C -ghaloalkoxy ; or, any RJ' and Rk/ attached to the same B atom, together with the B atom to -which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1 , 2, 3, or 4 substituents independently selected from Cb-g alkyd and Ci-g haloalkyl;

each RK is independently selected from H, D, OH, halo, oxo, CN, C(Q)OH, NH2,

NO2, SF5, C -g alkyl, Ci-g alkoxy, Ci-ghaloalkoxy, Ci-g haloalkyl, Cb-g alkenyl, Cb.-g alkynyl, Cg- 14 aryl, Cs-w cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CS-M aryl-Ci-6 alkyl-, C3-M cycloalkyl-Cw alkyl-, (5-14 membered heteroaryl)-Cj-6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl-; and

wherein any heteroaryl group of any of the above-recited substituents optionally comprises an N -oxide on any ring-forming nitrogen.

or a pharmaceutically acceptable salt thereof; wherein:

X is N;

R' is selected from H, Cj-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and Cw haloalkyl;

R2 is selected from H, D, halo, C1 -6 alkyl, C1 -6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce- 14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl,€5-1 aryl-Ci-6 alkyl-, C3-14 cycloalky 1-Cw alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, (4-14 membered heterocycloalkylVCi-e alky l-, CN, NO2, ORa2, SRaz, NHOR3 , C(0)Rbz,

C(0) Rc2Rd2, C (0)NRc2(0Ra2), C(0)0Ra2, 0C(0)Rb2, 0C(0)NRc2Rd2, NRc2Rd2,

NRc2NRc2Rd2, NRc2C(0)Rb2, NRc2C(0)0Ra2, NRc2C(0)NRc2Rd2, C(=NRe2)Rb2,

C(=NRe2)NRc2Rd2, NRc2C(=NRc2)NRc2Rd2, N R C( \ R'" iRh . NRc2S(0)NRc2Rd2,

XRc2S(0)Rb2, XRc2S(0)2Rb2, NRc2S(0)(=NRe2)Rb2, NRc2S(0)2NRc2Rd2, S(0)Rb2,

S(0)NRc2Rd2:, S(0)2Rb2, S(0)2NRc2Rd2, 0S(0)(=NRe2)Rb2, 0S(0)2Rb2, SFs, P(0)R&:Rg2, 0R(0)((1 M)((M!2), P(0)(0Ri,2)(0R12), and BRJ2Rk2, wherein the Ci-e alkyl, C2-6 alkenyl, C2-6 alkynyl, C K aryl,€3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-w ary l-Ci-6 alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky l)-Ci-6 alkyl- of R2 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected RL substituents;

Cy1 is C&-34 aryl, C -u cycloalkyl, or 5-14 membered heteroaryl, wherein the Ce-n aryl, C3-i4 cycloalkyl, or 5-14 membered heteroaryl is optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected Rb or RM substituents;

Cy2 is C&-34 aryl,€3-14 cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl, wherein the Ce-u aryl, C3 -14 cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl is optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected Rb substituents;

each R“, R°2, and Rd2 is independently selected from H, C i-s alkyl, Ci-s haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&-14 aryd, C3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C i-e alkyl-, C3-i4 cycloalkyl-Cj-6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky 1)-C R> alkyl-, wherein the CM alkyl, C2-6 alkenyl, C2-6 alkynyl, Ci.-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci-e alkyl-,€3-54 cycloalkyl-C -6 alky' 1-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky l)-Ci-6 alkyl- of Ra2, Rc , and Rdi are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R° substituents;

or any Rc2 and Rd2 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1 , 2, 3, or 4 independently selected R^1 substituents;

each Rb2 is independently selected from H, C.-s alkyl, C.-s haloalkyl, C2.& alkenyl, C2-& alkynyl, Ci.-n aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-w ary i-C 1-6 alkyl-, Cs-ir cycloalkyl-Cj-e alkyl-, (5-14 membered

heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky 1)-C 1.6 alkyl-, wherein the Ci.& alkyl, C2-e alkenyl, C2-e alkynyl, C&-K aryl,€3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cs-ir aryl-Cw alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ^ alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- of R°2 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R<J substituents; each R is independently selected from H, OH, CN, C.-s alkyl, C.-s alkoxy, Ci-6 haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl, C2-& alkynyl, Ca-u aryl, CB-M cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalky 1, Ce-u aryl-C i-b alkyl-, C3-14 cycloalky 1- Ci-f, alkyl-, (5-14 membered heteroar l) -Cj-6 alkyl-, and (4-14 membered heterocycloalkyl)-Cj- 6 alkyl-;

each Rc and Rg2 is independently selected from H, Ci-e alkyl, Ci-b haloalkyl, Cj-6 alkoxy, Ci^ aloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, CS-M aryd, Cs-wcycloalkyl, 5-14 membered heteroary l, 4-14 membered heterocycloalkyl, CM* aryl-C 1-6 alkyl-, C3 -14 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocyc!oalkyl)-C 1-6 alkyl-: each Rh2 and Rl3 is independently selected from H, Ci-s alkyl, Ci-6 haloalkyl, C2-6 alkenyl, C2-6 alky nyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, (h-w aryt-C -6 alkyl-, Cs-w eyeloalkyi-Ci-e alkyl-, (5-14 membered heteroaiyl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-;

each Rj2 and R 2 is independently selected from OH, C -s alkoxy, and Ci-shaloalkoxy; or any Rj2 and Rk2 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci-6 alkyl and C 1-6 haloalkyl; each Rc, RE, RM, Rr, and R° is independently selected from D, halo, oxo, Ci-e alkyl, Ci-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ch-w aryl, C3-14 cyctoalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C&04 ary l-Ci-s alkyl-, Cs-ir cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci^, alkyl-, (4-14 membered heterocycloalkyl)-Ci^, alkyl-, CN,

0P(0)(0Rh4)(0Ri4), P(0)(0RM)(0Ri4), and BRj+Rk4, wherein the Ci-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, (h-w aryl-Cs-6 alkyl-, Cs-w eyeloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci.6 alkyl-, and (4-14 membered heterocycloalkyl)-C½ alkyl- of Rc, Rb, RM, Rr, and Ru are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected RH substituents;

each Ra4, Rc4, and Rd4 is independently selected from H, Ci-e alkyl, Ci-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce- aryl-C 1.5 alkyl-, C3-14 cycloalky I-C1-6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered keterocycloalkyl)-C i-e alkyl-, wherein the Ci-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-i+ aryl, Cs-u cycloalkyi, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w aryl-Ci-e alkyl-, C3-34 cycloalky l-Ci-s alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, and (4-14 membered heteroeycloaikyi)-C i-6 alkyl- of Ra4, Rc4, and Rd4 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected Rh substituents;

or, any Rc4 and Ra4 attached to the same N atom, together with the N atom to which they are attached, optionally form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected RM substituents;

each Rb4 is independently selected from H, CM alkyl, C haloaikyl, C2-6 alken l, C2.6 alkynyl, Ca-u aryl, C3-i4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, C6-14 aryl-Ci-6 alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C M alkyl-, wherein the CM alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, C3-i4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cs-w ary 1-CM alkyl-, C3-14 cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryl)-C alkyl-, and (4-14 membered heterocyeloalkyl)-C[-s alkyl- of RD4 are each optionally substituted with 1 , 2, 3, 4, 5, 6, 7, or 8 independently selected RH substituents; each R®4 is independently selected from H, OH, CN, CM, alkyl, CM, alkoxy, CM haloaikyl, Cj-ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, C3-i4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-i4 aryl-Ci-6 alkyl-, C3..14 cycloalky 1- C i-6 alkyl-, (5-14 membered heteroaryl)-C alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each Rf4 and R*4 is independently selected from H, CM, alkyl, CM alkoxy, Ci-6 haloaikyl, Ci-ehaloalkoxj', C2-6 alkenyl, C2-6 alkynyl, Ce- aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalky 1, Ce-i4 aryd-Ci-e alkyl-, C3-14 cycloalky 1- CM alkyl-, (5-14 membered heteroaryl)-C]-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R1*4 and Rl4 is independently selected from H, alkyl. haloaikyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, Ce-w ary l-Cw alkyl-, C3-14 cycloalkyl-CM alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyi-, and (4-14 membered heterocycloalkyi)-Cs-6 alkyl-;

each R·'4 and Rk4 is independently selected from OH, Ci-ealkoxy, and Ci-ehaloalkoxy ; or, any Rj+ and Rk4 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C M alkyl and C haloaikyl;

each RH is independently selected from D, halo, oxo, CM alkyl, CM haloaikyl, C2-6 alkenyl, C2-6 alkynyl, C&-14 aryl, C3..1+ cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C alkyl-, C3-i4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, (4-14 membered heterocycloalky 1)-CM alkyl-, CN, NO2, OR85, SR85, NHQRa5, C(0)Rb5, C(0)NRc5Rd5, C(0)NRc5(0Ra5), C(0)0Ra5, 0C(0)Rb5, 0C(0)NRc5Rd5, NRc?'Rd5, NRc5NRc5Rd5_ NRc5C(0)Rb5, N R'XiOiOR ". NRc5C(0)NRc5Rd5, C(=NRe5)Rb5,

C (=NRe5)NRc5R<15, NRc5C(=NRc5)NRc5Rd5, NRc5C(=NRe5)Rb5, NRc5S(0)Rb\

NRc5S(0)NRc5Rd5, NRc5S(0)2Rb5, NRcSS(0)(=NReS)Rb5, NRc5S(0)2NRc5Rd5, S(0)Rb5, S(0)NRc5Rd5, S(0)2Rb5, S(0)2NRc5Rd5. OSiOx M K \ OSiO! -R1". SF5, PiOiR 'K". OPIOXOR^XOR15), P(0)(0R!LS)(0Ri5), and BR R*5, wherein the CM alkyl, C2-6 alkenyl, C2-6 alkynyl, 65-14 aryl, 63-14 cycloalkyl, 5-14 membered heteroaiyl, 4-14 membered

heterocycloalkyl, CMA ary 1-Ci-e, alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C]-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- of Rh are each optionally substituted with 1, 2, 3, or 4 independently selected R1 substituents;

each Ra5, R°5, and Rd5 is independently selected from H, C i-s alkyl, 6 1-5 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, 65-14 aiyd, 63-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CM* aryl-6 [-6 alkyl-, 63-1 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-6i-6 alkyl-, and (4-14 membered heterocycloalky 1)~6 R> alkyl-, wherein the 61-6 alkyl 62-s alkenyl, 62-s alkynyl, 65-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, 65-114 aryl-61-6 alkyl-, 63-14 cycioalkyl-Oi-6 alkyl-, (5-14 membered heteroaryl)-Ci-5 alkyl-, and (4-14 membered heterocycloalky 1)-C 1.5 alkyl- of R35, Rcd, and Rda are each optionally substituted with 1, 2, 3, or 4 independently selected R! substituents;

or any R05 and Rda attached to the same N atom, together with the N atom to winch they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocy cloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R! substituents;

each Rto is independently selected from H, 61 -5 alkyl, 62-6 alkenyl, 62-f! alkynyl, Ce-w ary l, 63-14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, 65-14 axyl- Ci-6 alkyl-, C3-14 eyeloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-6i-5 alkyl-, and (4-14 membered heterocycloalkyl)-6i-6 alkyl-, wherein the Cs-6 alkyl, C2-& alkenyl, C2-6 alkynyl, Ce¬ lt and, 63.14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, 5-1 aryl-61-6 alkyl-, C3-14 cycloalkyl-C 1-5 alkyl-, (5-14 membered keteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky 1)-6I-6 alkyl- of Rb5 are each optionally substituted with 1, 2, 3, or 4 independently selected R1 substituents;

each Re5 is independently selected from H, OH, 6N, 64-5 alkyl, Cs-ealkoxy, 61-5 haloalkyl, 6i^haloalkoxy, 62-5 alkenyl, 62-5 alkyny l, 65-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, 65-14 aryd-Ci-e alkyl-, 63-14 cycloalkyl- 61-6 alkyl-, (5-14 membered heteroaiydt-Ci-g alkyl-, and (4-14 membered heterocycloalkyl)-6i- 5 alkyl-; each Rf5 and RS3 is independently selected from H, Ci-e alkyl Ci-e alkoxy, Ci-e haloalkyl C;i-f!haloa3koxy, C2-6 alkenyl, C2-6 alkynyl, Ce-w aiyl, C3-14 cycloalkyl 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl,€6- aryl-C -6 alkyl-, Cs-i cycloalkyi- Ci-6 alkyl-, (5-14 membered heteroaryl) -C1-6 alkyl-, and (4-14 membered heterocycloalky 1)-Ci. & alkyl-;

each R115 and R1' is independently selected from H, C -g alkyl, C -g haloalkyl C2-6 alkenyl, C2-6 alkynyl, Cg-u aryl, C -u cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w aryl-Ci-g alkyl-, C -i+ cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky l)-Ci-6 alkyl-;

each RJi and R° is independently selected from OH, C -g alkoxy, and C i-ghaloalkoxy; or, any Rj5 and Rk?' attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci-e alky l and C -g haloalkyl;

each R1 is independently selected from D, halo, oxo, C .-g alkyl, C .-g haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, Cj-w cycloalkyl, 5-14 membered heteroaryl 4-14 membered heterocycloalkyl, Cg-u aryi-C 1.5 alkyl-, C3-1 cycloalky I-C1-6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C [-6 alkyl-, CN, NO2, ORa6,

0P(0)(0Rh6)(0Rl6), P(0)(0Rb6)(0R16), and BRJ6R“, wherein the C -6 alkyl, C2-g alkenyl, C2-g alkynyl, Cg-u aryl,€3-14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Cg-u aryl-C i-g alkyl-, C3-i4 cycloalkyl-C -6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky l)-Ci-6 alkyl- of R1 are each optionally substituted with 1, 2, 3, or 4 independently selected RJ substituents;

each R86, Rcf>, and Rd6 is independently selected from H, Cj-b alkyl, Ci-e haloalkyl, C2-6 alkenyl,€2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl C6-i4 aryl-Cs-6 alkyl-, Cs-i cycloalkyi-C -g alkyl-, (5-14 membered heteroaryl)-Ci.6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, wherein the C .g alkyl, C2-6 alkenyl, C2-6 alkynyl, Cg-w aryl, CJ-M cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cg-u aryl-C -6 alkyl-, C3-14 cycloalky l-Ci^ alkyl-, (5-14 membered heteroaryl)-C -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- of Ra6, Rc5, and Rd6 are each optionally substituted with 1, 2, 3, or 4 independently selected R' substituents;

or any Rc6 and Rd6 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected RJ substituents;

each Rb6 is independently selected from H, Ci-e alkyl, Ci-e haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce- ar d, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Cg-w aryl-C 1.5 alkyl-, C3-14 cycloalky l-Ci-g alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, and (4-14 membered heterocycloaikyi)-Ci-6 alkyl-, wherein the Ci-s alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryd, C3-i4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cg-u aryl-Ci-g alkyl-, C3-M cycloalky 1-Cj-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alky 1-, and (4-14 membered heterocycloaikyi)~Ci-g alkyl- of RBb are each optionally substituted with 1, 2, 3, or 4 independently selected RJ substituents;

each R66 is independently selected from H, OH, CN, Cj-g alkyl, Cfr-g alkoxy, Cw haloalkyl, Ci-ghaloalkoxy, C2-6 alkenyl, C2.6 alkynyl, Ce-i4 aiyl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C&-14 ar l-Ci-6 alkyl-, C3-14 cycloalkyl- Ci-g alkyl-, (5-14 membered heteroaiyd)-Ci-g alkyl-, and (4-14 membered heterocycloalkyl)-Ci- g alkyl-;

each Rfb and Rg5 is independently selected from H, Cfr-g alkyl, Cs-g alkoxy, Ci-g haloalkyl, Ci-ghaloalkoxy, Cb-g alkenyl, C245 alkynyl, Cg-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cg-u aryl-Cb-g alkyl-, C3-14 cycloallcyl- Ci-6 alkyl-, (5-14 membered heteroaiyll-Ci- alkyl-, and (4-14 membered heterocycloalkyl)-C]. g alkyl-;

each Rhb and R16 is independently selected from H, Ci-g aikyd, Ci-g haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Cg-j4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C -w ary I-C1-& alkyl-, C3-14 cycloalkyl-Cw alkyl-, (5-14 membered heteroaryl)-C]-6 alkyl-, and (4-14 membered heterocycioalkyl)-Ci-g alkyl-;

each Rj5 and Rte is independently selected from OH, Ci-galkoxy, and Cj-ghaloa!koxy ; or, any Rj6 and Rk5 attached to the same B atom, together with the B atom to wiiich they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1 , 2, 3, or 4 substituents independently selected from Cb-g aikyd and Ci-g haloalkyl;

each R3 is independently selected from D, halo, oxo, Cj_g alkyl, Cj_g haloalkyl, Cb-g alkenyl, C?_-g alkynyl, Cg-u aryd, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w aryl-Ci-e alkyl-, C -i+ cycloalkyl-C -e alkyl-, (5-14 memhered heteroaryl)-C -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, CN, NO2, ORa7, SKa7, NHORa7, C(0)Rb7, C(0)NRc7Rd7, C(0)NRc7(0Ra7), C(0)0Ra7, 0C(0)Rb7,

0C(0)NRc7Rd7, NRc7Rd7, NRc7NRc7Rd7 NRc7C(0)Rb7, NRc7C(0)GRa7, NRc7C(G)NRc7Rd7, C(=NRe7)Rb7, C(=NRe7)NRc7Rd7, NRc7C(=NRe7)MRc7Rd7, NRc7C(=NRe7)Rb7, NRc7S(0)Rb7, NRc 7S(0)NRc?Rd?, NRc7S(0)2Rb7, NRc7S(0)(=NRe7)Rb7, NRc7S(0)2NRc7Rd7, S(0)Rb7, S(0)NRc7Rd7, SsOi -R1' . S(0)2NRc7Rd7, 0S(0)(=NRe7)Rb7, 0S(0)2Rb7, SF5, P(0)Rf¾g7, 0P(0)(0Rh7)(0Ri7), P(0)(0Rh7)(0R17), and BR’7Rk7, wherein the Ci-6 alkyl CM alkenyl C2-6 alkynyl, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heieroaryl, 4-14 membered

heterocycloalkyl, Ce-i4 aryl-C -6 alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C]-6 alkyl-, and (4-14 membered heterocy cloalkyi)-Ci-6 alkyl- of RJ are each optionally substituted with 1 , 2, 3, or 4 independently selected R substituents;

each Ra/, Rc7, and Rd7 is independently selected from H, Ci-6 alkyl Ci-6 haloalkyl C2-6 alkenyl, C2-5 alkynyl, C&-14 aryl, C3..14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C i-e alkyl-, C3-i4 cycloalkyl-C -6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky l)-C 1.6 alkyl- wherein the Ci-e alkyl, C2-6 alkenyl, C2-f, alkynyl Ce-w aryl, C3-M cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C -e alkyl-, CS-M cycloalky l-Ci^ alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky 1)-C 1.6 alkyl- of Ra/, Rc', and Rd' are each optionally substituted with 1, 2, 3, or 4 independently selected RK substituents; or any R0? and Rd/ attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroary l or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected RK substituents;

each Rb7 is independently selected from H, Cj-6 alkyl, Cj-6 haloalkyl C2-s alkenyl, C2-6 alkynyl, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heieroaryl, 4-14 membered

heterocycloalkyl C M ary I-C1-& alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C]-6 alkyl-, and (4-14 membered heterocycloalkyi)-Ci-6 alkyl-, wherein the C -e alkyl, C2-& alkenyl, C2-& alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heieroaryl, 4-14 membered heterocycloalkyl, C6-H aryi-C -6 alkyl-, Cs-w cycloalkyl-C i-e alkyl-, (5-14 membered heteroaryl)-Ci.6 alkyl-, and (4-14 membered heterocycloalkyl)-C½ alkyl- of Rb? are each optionally substituted with 1 , 2, 3, or 4 independently selected R substituents; each R8/ is independently selected from H, OH, CN, Ci-e alky l, C2-6 alkenyl, Ci-e alkoxy, Ci-s haloalkyl, Ci-ghaloalkoxy, C2-6 alkynyl, Ce-w aryl, C3-34 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl;

each Rn and Rg/ is independently selected from IT, Ci-g alkyl, CM alkoxy, C haloalkyl, Ci-ghaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ca-u aryl, Cg-w eyeloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cg-14 aryl-Ci-g alkyl-, Cs-u cycloalkyl- Ci-f, alkyl-, (5-14 membered heteroaryl) -C -6 alkyl-, and (4-14 membered heterocycioalkyl)-C - 6 alkyl-;

each Rh? and R" is independently selected from H, CM alkyl, CM haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Cg-k aryl,€3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cg-14 ary 1-C alkyl-, C -i+ cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-C]-6 alkyl-, and (4-14 membered heterocycloalkyi)-Ci-6 alkyl-;

each Ri7 and Rki is independently selected from OH, C alkoxy, and Ci-ghaloalkoxy; or, any Rj ' and Rk/ attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C alkyl and CM haloalkyl:

each RK is independently selected from H, D, OH, halo, oxo, CN, C(0)0H, NH2,

NO2, SFs, C -g alkyl, CM alkoxy, Ci-ghaloalkoxy, C haloalkyl, C2-g alkenyl, C2-g alkynyl, Cg. 1 and, C3.14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cg-i4 aryi-Ci-g alkyl-, CVw cyctoalkyl-C alkyl-, (5-14 membered heteroaryi)-C;i-g alkyl-, and (4-14 membered heterocycloalky 1)-CM alkyl-; and

wherein any heteroaryl group of any of the above-recited substituents optionally comprises an N-oxide on any ring-forming nitrogen.

3. The compound of claim 1 or 2, or a pharmaceutically acceptable salt thereof;

wherein:

each RJ is independently selected from D, halo, oxo, Ci-g alkyl, Ci-g haloalkyl, C2-6 alkenyl, CM alkynyl, Cg-i4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CM* aiyT-C i-e alkyl-, Cg-H cycloalkyl-C -g alkyl-, (5- 14 membered heteroaryl)-C i-6 alkyl-, and (4-14 membered heterocyeloalkyl)-tT-s alkyl-, CN, N02, ORa7,

each Ra/, Rc', and Rd7 is independently selected from H, C i-s alkyl, Ci-s haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&-14 aryl, C3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CM* aryl-C i-e alkyl-, C3-i4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryi)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyi)~C 1-6 alkyl-;

or any Rc/ and Rd / attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14-membered heterocycloalkyl group; and

each Rb7 is independently selected from H, Ci-e alkyl, C2-6 alkenyl, C2-6 alkynyl, CM* aryl C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl- C [-6 alkyl-, C3-i4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, and (4- 14 membered heterocycloalkylVCi-e alkyl-.

4. The compound of any one of claims 1 -3, or a pharmaceutically acceptable salt thereof; wdrerein:

each R1 is independently selected from D, halo, oxo, Ci-e alkyl, Ci-e haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryd, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce- aryd-C 1.5 alkyl-, C3-14 cycloalky l-Ci-6 alkyl-, (5-14 membered

heteroaryl)-C 1-6 alkyl-, and (4-14 membered heterocycloalkyd)-C i-s alkyl-, CN, N02, ORa5,

each Ra6, Rcf>, and Rdo is independently selected from H, Ci-s alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CM* ary 1-C [-6 alkyl-, C3-14 cycloalkyl-C]^ alkyl-, (5-14 membered

heteroaryl)-C i-s alkyl-, and (4-14 membered heterocycloalkyd)-Ci-6 alkyl-;

or any Rc6 and RdR attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14-membered heterocycloalkyl group; and each Rbo is independently selected from H, Ci-e alky l, Ci-e haloalkyl, C2-6 alkenyl, C2-0 alkynyl, Ce-w aryl, C3-H cycloalkyl, 5-14 membered heteroaiyl, 4-14 membered

heterocyeloalkyl, C6-i4 aryi-Cs-6 alkyl-, Cs-w eyeloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci.6 alkyl-, and (4-14 membered heterocycioalkyl)-Ci.6 alkyl-.

5. The compound of any one of claims 1-4, or a pharmaceutically acceptable salt thereof, wherein Cy! is CM4 aryl, wherein the Cw4 aryl is optionally substituted with 1, 2, 3, or 4 independently selected RK substituents.

6 The compound of any one of claims 1-4, or a pharmaceutically acceptable salt thereof, wherein Cy! is Cs-u cycloalkyl, wherein the CT-i Cycloalkyl is optionally substituted with 1, 2, 3, or 4 independently selected Rb substituents.

7. The compound of any one of claims 1-4, or a pharmaceutically acceptable salt thereof, wherein Cy1 is 5-14 membered heteroary l, wherein the 5-14 membered heteroasyl is optionally substituted with 1, 2, 3, or 4 independently selected Rb substituents.

8. The compound of any one of claims 1 -4, or a pharmaceutically acceptable salt thereof, wherein Cy 1 is 4-14 membered heterocyeloalkyl, wherein the 4-14 membered heterocyeloalkyl is optionally substituted whh 1, 2, 3, or 4 independently selected RE substituents.

9. The compound of any one of claims 1-4, or a pharmaceutically acceptable salt thereof, wherein Cy! is phenyl or 5-10 membered heteroaryl, wherein the phenyl or 5-10 membered heteroarji is optionally substituted with 1, 2, 3, or 4 independently selected Rb substituents.

10. The compound of any one of claims 1 -4, or a pharmaceutically acceptable salt thereof, wherein Cy 1 is selected from phenyl, pyridinyl, furanyl, benzofuranyl, and pyrazolyl, each of wdiieh is optionally substituted with 1 , 2, or 3 substituents selected from C 1-3 alkyl, halo, CN, and C 1..3 alkoxy.

11. The compound of any one of claims 1-4, or a pharmaceutically acceptable salt thereof, wherein the optionally substituted Cy! is selected from eyanophenyl, cyanofluorophenyl, 2,3-dihydro-l//~pyrrolo[2,3,-b]pyridine, phenyl, methoxyphenyi, fluorophenyl, pyridinyl, methyifuranyl, benzofuranyl, and methyl- li/-pyrazoiy 3.

12. The compound of any one of claims 1-4, or a pharmaceutically acceptable salt thereof, wherein the optionally substituted Cy1 is selected from 2-cyanophenyl, 3- cyanophenyl, 3-cyano-2 -fluorophenyl, 2,3-dihydro-l//-pyrrolo|2,3,~b]pyridine, phenyl, 3- metliox phenyl, 2 -fluorophenyl, pyridine-4-yL 2-methy!:furan-3-yL benzofuran-2-yl, and 1- methy!-!//-pyrazol-4-yi.

13. The compound of any one of claims 1-4, or a pharmaceutically acceptable salt thereof, wherein the optionally substituted Cy! is selected from 3-cy anophenyl and phenyl.

14. The compound of any one of claims 1-13, or a pharmaceutically acceptable salt thereof, wherein Cy2 is Ce-u aryl, wherein the CG-M aryl is optionally substituted with 1, 2, 3, or 4 independently selected K" substituents.

15. The compound of any one of claims 1-13, or a pharmaceutically acceptable salt thereof, wherein Cy2 is Cs-u cycloalkyl, wTierein the CT-o cycioalkyl is optionally substituted with 1, 2, 3, or 4 independently selected R" substituents.

16. The compound of any one of claims 1-13, or a pharmaceutically acceptable salt thereof, wherein Cy is 5-14 membered heteroaryl, wherein the 5-14 membered heteroaryl is optionally substituted with 1, 2, 3, or 4 independently selected R' substituents.

17. The compound of any one of claims 1 -13, or a pharmaceutically acceptable salt thereof, wherein Cyz is 4-14 membered heterocycloalkyl, wherein the 4-14 membered heterocycloalkyl is optionally substituted with 1, 2, 3, or 4 independently selected Rr substituents.

18. The compound of any one of claims 1-13, or a pharmaceutically acceptable salt thereof, wherein Cy2 is selected from CT-scycloalkyT, phenyl, 5-10 membered heteroaryl, and 5-10 membered heterocycloalkyl;

wherein the 5-10 membered heteroaryi and 5-10 membered heterocycloalkyl each comprise one, two, or three nitrogen atoms as ring-forming heteroatoms, wherein one of the one or two nitrogen atoms is optionally an N-oxide, and wherein a ring-forming carbon atom is optionally substituted by oxo; and

wherein the C3-6 cycloalkyl, phenyl, 5-10 memhered heteroaryl, and 5-10 membered heterocycloalkyl are each optionally substituted with 1, 2, or 3 substituents selected from C1..3 alkyl, Ci-3 alkyl-OH, halo, CM,€ alkoxy, and C(0)NH2,

19. The compound of any one of claims 1-13, or a pharmaceutically acceptable salt thereof, wherein Cy2 is selected from pyridmyl, tetrahydropyridinyl, piperidinyl, pyridine-N- oxide, oxo-dihydropyridinyl, phenyl, pyrazolo[l,5-a]pyridin-3-yl, pyrazolo[l,5-b]pyridazinyl, pyrazolyl, pyrimidinyl, quinolinyl, oxazolyl, 2,3-dihydro-[l ,4]dioxino[2,3-bJpyridin-8-yl, and triazolyl each of which is optionally substituted with 1, 2, or 3 subs ti tuents selected from C1-3 alkyl, Ci-3 alkyl-OH, halo, CN, C 1-3 alkoxy, and C(C))NH>;.

20. The compound of any one of claims 1-13, or a pharmaceutically acceptable salt thereof, wherein Cy2 is cyclopropyl optionally substituted with 1 , 2, or 3 substituents selected from Ci-3 alkyl, halo, CN, C 1.3 alkoxy, and C(0)NH2.

21. The compound of any one of claims 1 -13, or a pharmaceutically acceptable salt thereof, wherein the optionally substituted Cy2 is selected from 2,6-dimethylpyridin-4-yl, pyridin-4-yl, 2~methy!pyridin-4-yl, l-carbamoyl-l,2,3,6-tetrahydropyridin-4-yl, 1- carbamoylpiperidin-4-yl, 2-methoxypyridin-4-yl, 2-methoxy -6-methy lpyridin-4-y 1, 2,6- dimethylpyridin-4-yl-l -oxide, l-ethyl-6-oxo-l ,6-dihydropyridin-3-yl, 3-methylpyridin-4-yl, 3-fluoropyridin-4-yl, 3-chloropyridin-4-yl, 3-methoxypyridin-4-yl, 3-cyanopyridm-4-yl, 4- carbamoy lpheny 1, py razolo [1,5 -a]pyridin-3 -y 1, pyrazolo[ 1 ,5 -b]py ridazin-3 -y 1, 5 -methy 1- 1 H- pyrazol-4-yl, l-ethyl-lH-pyrazol-5-yl, 1 -isopropyl-1 H-pyrazol-5-yl, 1 -propyl-1 H-pyrazol-5- yl, pyrimidin-4-yl, 2,3-dihydro-[l,4]dioxino[2,3-b]pyridin-8-yl, quinolin-5-yl, 5- fluoropyrimidin-4-yl, oxazol-5-yl, 4-methyloxazol-5-yl, 4-ethy!oxazol-5-yl, 4-

(hydroxy methy l)-2-methyloxazol-5-yl, 4-(metiioxymethyl)-2 -methy loxazol-5-yl, 4- (hy droxymethy l)-2-methyloxazol-5-yl, 1-ethyl-lH-l ,2,3-triazol-5-yl, and cyclopropyl.

22. The compound of any one of claims 1-21, or a pharmaceutically acceptable salt thereof, wherein R1 is selected from H and Ch-s alkyl.

23. The compound of any one of claims 1 -21, or a pharmaceutically acceptable salt thereof, wherein R! is H or Ci-3 alkyl.

24. The compound of any one of claims 1-21, or a pharmaceutically acceptable salt thereof, wherein R1 is H or ethyl.

25. The compound of any one of claims 1-21, or a pharmaceutically acceptable salt thereof, wherein R1 is H.

26. The compound of any one of claims 1-25, or a pharmaceutically acceptable salt thereof, wherein R2 is selected from H, Ci-e alkyl, Cs-i+ aryl, C3-i4 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyi, C6-M aryl-Ci-6 alkyl-, C3-14 cycloalky 1-C 1-6 alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, (4-14 membered heterocy cloalkyl)-C 1-6 alkyl-, ORa2, NRC2R··2. C(0)Rb\ C(0)NRc2Rd2, and C(0)GRa2. wherein the Cw alkyl, Ce-uaiyl, C3-14 cycloalkyl, 5-14 membered heteroaryd, 4-14 membered heterocycloalkyi, Ce-u asyl-Ci-6 alkyl-, C3 -14 cycloalkyl-Ci4> alky 1-, (5-14 membered heteroaryd)-Ci-6 alkyl-, and (4-14 membered heterocy cloalkyl)-C i-b alkyl-, are each optionally substituted with 1, 2, or 3 independently selected R'- substituents.

27. The compound of any one of claims 1-25, or a pharmaceutically acceptable salt thereof, wherein R2 is selected from H, Ci-e alkyl, Ce-waryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyi, C6-M aryl-Ci-6 alkyl-, C3-i4 cycloalky 1-C 1-6 alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, (4-14 membered heterocy cloalkyl)-C 1-6 alkyl-, ORaz, NRC2R··2. C(0)Rb2, C(0)NRc2Rd2, and C(0)0Ra2. wherein the Cw alkyl, Ce-uaiyl, C3-14 cycloalkyl, 5-14 membered heteroaryd, 4-14 membered heterocycloalkyi, Ce-u asyl-Ci-6 alkyl-, C3.14 cy cloalky 1-C 1-6 alkyl-, (5-14 membered heteroaryl)-Ci.-6 alkyl-, and (4-14 membered heterocy c!oalky!)-Ch-6 alkyl-, are each substituted with 1, 2, or 3 independently selected Rc substituents.

28. The compound of any one of claims 1-25, or a pharmaceutically acceptable salt thereof, wherein R2 is selected from H, phenyl, 5-6 membered heteroaryd, C(0)Rbi,

C(0)NRc2Ra2, and C(0)0Ra2, wherein the phenyl and 5-6 membered heteroaryd are each optionally substituted with 1 or 2 independently selected RL substituents.

29. The compound of any one of claims 1 -25, or a pharmaceutically acceptable salt thereof, wherein R2 is selected from H, C(0)0Ft, CONH , and C(0)NHEt.

30. The compound of any one of claims 1-25, or a pharmaceutically acceptable salt thereof, wherein R2 selected from phenyl and 5-6 membered heteroaryl, each of which is optionally substituted with C(0)0Me.

31. The compound of any one of claims 1 -25, or a pharmaceutically acceptable salt

thereof, wherein

32. The compound of any one of claims 1-25, or a pharmaceutically acceptable salt thereof, wherein the optionally substituted R2 is selected from pyridinylmethyl,

hydroxy (phenyl)methyl, hydroxyethylamino(phenyl)ethyl, eyclohexyhnethyl, fluorobenzyl, hydroxy(fluorophenyl)methyl, (methylpyridinyl)methyl, (fluoropyridinyl)methyl,

(triiluoroinethylpyridinyl)methyl, ((hydroxymethyl)pyridinyl)methyl,

(meihoxypyridinyi)methyl, (methylpyrazolyl)benzyl, (methylpyrazolyl)methyl,

benzoisoxazolylmethyl, (methylindazolyl)methyl, (hydroxyazetidinyl)methyl, benzoyl, phenylcyclopropyl, (cyano(phenyl)methyl)amino, tetrahydrofuranyl,

phenyl(pyridinyloxy)methyl, fluoro ((fluorohydroxypyrrolidinyl)methyl)benzyl,

((carboxy piperidiny Ijmethy l)fluorobenzy 1, fluoro((N - methyhnethylsulfonamido)methyl)benz>d, ((dioxoimidazolidinyl)methyl)fluorobenzjT, (difluorophenyi)(hydroxy)methyl, (pyridinyi-lH-tetrazolyl)methyl, (pyrazolyl-lH- tetrazolyl)methyl, (thiazoiyl-lH-teirazoly3)methyl, (methyltrifluoromethylpyrazoiyl)methyl, ((l,l~dioxidoisothiazolidinyl)methyi)fluorobenzyl, ((methyl -2,5- dioxoiinidazolidinyl)methyi)benzyl, and (cyanophenoxy)methyl.

33. The compound of any one of claims 1-25, or a pharmaceutically acceptable salt thereof, wherein the optionally substituted R2 is selected from pyridin-2-ylmethyl, hydroxy (phenyl)methyl, (2-hydroxy ethylamino)(phenyl)methyl, eyclohexyhnethyl, 2- fluorobenzyl, (2-fluorophenyl)(hydroxy)methyl, (6-methylpyridin-2-yl)methyl, (3- fluoropyridin-2-yl)methyl, (3-methoxypyridin-2-yl)methyl, 2-(l~methyl-lH-pyrazol~4- yl)benzyi, benzo[d]isoxazol-3-yhnethyl, (l-metiiyl-lH-indazol-3-yl)methyl, (3- hydroxyazetidin-l-yl)methyl, benzoyl, 1 -phenylcyclopropyl, (cyano(phenyl)methyl)amino, tetrahydrofuran-3-yl, phenyl(pyridin-2-yloxy)methyl, 2-fluoro-6-(((3R,4R)-3-fluoro-4- hydroxypyrrolidin-l -yl)methyl)benzyl, 2-((4-carboxypiperidin-l-yl)methyl)-6-fluorobenzyl, 2-fluoro-6-((N-methylmethylsulfonamido)methyl)benzyl, 2-((2,5-dioxoimidazolidin-l- yi)methyl)-6-fluorobenzyl, (2,6-difluorophenyl)(hydroxy)methyl, (5-(pyridin-2~yi)-lH~ tetrazol-l-yl)methyi, (5-(lH-pyrazol-l-yl)-lH-tetrazol-l-yl)methyl, (5-(thiazol-4-yl)-lH- tetrazol-l-yl)methyl, (5-methyl-3-(trifluoromethyl)-lH-pyrazol-l -yl)methyl, (3- methyipyridm-2-yi)methyi, 2-((l,l-dioxidoisothiazolidin-2-yl)methyl)-6-fluorobenzy'l, 2- fluoro-6-((3 -methyl-2, 5-dioxoimidazolidin- 1 -y l)methy l)benzy 1, (6-(trilluoromethy l)pyridin-2- yl)methyl, (3-(hydroxymethyl)pyridin-2-yl)methyl, (l-methyl-lH-pyrazol-3-yl)methyl, and (2-cyanophenoxy)metliyl, (3-methylpyridin-2-yl)methoxy, (6-methylpyridin-2-yl)methoxy, and ((3 -methy Spy ridin-2-yf)methy 3)amino .

34. The compound of any one of claims 1-28, or a pharmaceutically acceptable salt thereof, wherein each Rc is independently selected from halo, Ci-6 alkyl, C&-K aryl, 5-14 membered heteroaryl, (4-14 membered heterocycloalky l)-Ci-6 alkyl-, OR34, C(0)0Ra4, and NRc4Rd4, wherein the Ci-f, alkyl, 5-14 membered heteroary l, and (4-14 membered heterocycloalky l)-Ci-6 alkyl- are optionally substituted with 1, 2, or 3 independently selected Rri substituents.

35. The compound of any one of claims 1-28 and 34, or a pharmaceutically acceptable salt thereof, wherein each Rh is independenty selected from halo, oxo, Cw, alkyl, Cw, haloalkyl, OR35, C(0)0R35, and NRc5S(0)2Rb5.

36. The compound of any one of claims 1 and 3-35, or a pharmaceutically acceptable salt thereof, wherein R3 is selected from H, halo, Ci-b alkyl, Cs-u aryl, 5-14 membered heteroaryl, CN, and ORa3, wherein the GT-g alkyl, Ce-waryl, and 5-14 membered heteroary l are each optionally substituted with 1 , 2, or 3 independently selected RiJ substituents.

37. The compound of any one of claims 1 and 3-35, or a pharmaceutically acceptable salt thereof, wherein R3 is selected from H, C1-3 alkyl, halo, CN, morpholinomethyl, 4- ethoxyphenyl, 2-hydroxyethoxy, and pyridinyl.

38. The compound of any one of claims I and 3-35, or a pharmaceutically acceptable salt thereof, wherein R3 is selected from H, methyl, bromo, CN, morpholinomethyl, 4- ethoxyphenyl, 2-hydroxyethoxy, and pyridinyl

39. The compound of claim 1, or a pharmaceutically acceptable salt thereof; wherein:

R! is selected from H and C--6 alky l;

R2 is selected from H, D, Cf,-]4 aryl, 5-14 membered heteroaryl, C(0)Rb2,

C(0)NRc2Ra2, and C(Q)ORa2, wherein the Cs-uaryi and 5-14 membered heteroaryl of R2 are each optionally substituted with 1, 2, 3, or 4 independently selected Rc substituents;

R3 is selected from H, D, halo, Ci-6 alkyl, Ci-& haloalkyi, Ce-i+ aryl, 5-14 membered heteroaryl, CN, and OR33, wherein the CM alkyl, Ce-waryl, and 5-14 membered heteroary l of R3 are each optionally substituted with 1, 2, 3, or 4 independently selected RD substituents;

Cy! is phenyl optionally substituted with 1, 2, 3, or 4 independently selected RMsubstituents, or CIO-M aryl or 5-14 membered heteroaryl, wherein the CIO-M aryl and5-14 membered heteroaryl of Cy! is optionally substituted with 1, 2, 3, or 4 independently selected R substitxtents;

Cy2 is Cf,- 4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl or 4-14 membered heterocycloalkyl, wherein the Cg-i aryl, CS-H cycloalkyl, 5-14 membered heteroaryl and 4-14 membered heterocycloalkyl of Cy2 are each optionally substituted with 1, 2, 3, or 4 independently selected Rb substituents;

each R32, RC2, Rd2, and R33 is independently selected from H, Ci-& alkyl, Ci.& haloalkyi, C2-6 alkenyl, C2-6 alkynyl, Cf,- 4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the CM alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-uatyl, C3-14 cycloalkyl, 5-14 membered heteroar l, and 4-14 membered heterocycloalky 1 of R32, Rci, Rd2, and R33 are each optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;

each Rb2 is independently selected from Cue alkyl, Ci-e haloalkyi, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, C3-M cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the C -6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w arvd, C3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;

each Rc, KD, RE, Rr, and RG is independently selected from D, halo, oxo, CM alkyl, Ci-6 haloalkyi, C2-6 alkenyl, C2-6 alkynyl, Cg-i aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CN, NO2, OR34, SR34, NHOR34, C(0)RM,

NRC4S(0)2Rm, and NRc4S(0)2NRc4Rd4, wherein the C -6 alkyl, C2-6 alkenyl, C2-6 alkynyl, CM4 aryl, Cs-ir cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalk l of Rc, RD, RE, RF, and Ru are each optionally substituted with 1 , 2, 3, or 4 independently selected RH substituents;

each RM is independently selected from D, halo, oxo, Cw, alkyl, Cw, haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-i+ aiyl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, 2-CN, 3-CN. NO2, OR34, SRa4, NHORa4, C(0)RM, C(0)NRc4Rd4, C(G)ORa4, 0C(0)Rm, 0C(0)NRc4Rd4, NRc4Rd4, NRc4C(0)RM, NRc C(0)0Ra4, NRc4C(0)NRc4Rd4, C(=NRe4)Rb4, C(=NRe4)NRc4Rd4, NRc4C(=NRe4)NRo4Rd4, NRc4S(0)Rb4, NRc4S(0)2RM, and NRc4S(0)2NRc4Rd4, wherein the Cue alkyl, C2-6 alkenyl, C2-e alkynyl, Cc- + aryl, C3-14 cycloalky l, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl of RM are each optionally substituted with 1, 2, 3, or 4 independently selected Rri substituents;

each R3+, Rc4, and Rd4 is independently selected from H, C -6 alkyl, C -6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-ir aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the Ci-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C6-i4ai l, C3-W cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl of Ra4, Rc4, and Rd4 are each optionally substituted with 1, 2, 3, or 4 independently selected Rri substituents; each Rfc4 is independently selected from C M; alkyl, Ci-e haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&-14 aryl,€3-14 cycloalky 1, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the C -6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-ir aryl, C3-14 eycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected Rh substituents;

each R84 is independently selected from H, OH, CN, Cj-6 alkyl, Ci-ealkoxy, Cw haloalkyl, and Ci-ehaloalkoxy;

each RH is independently selected from D, halo, oxo, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryd, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CN, NQ2, OR35, SRC NHORa5, C(0)Rb5, C(0)NRc5Rd5, C(0)0Ra5,

NRc''S(0)2NRc''Rd , wherein the Cw alkyl, C2-e alkenyl, C2-e alkynyl, Ce-i4 aryl, C3-14 cycloalky l, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, of Rfl are each optionally substituted with 1, 2, 3, or 4 independently selected R! substituents; each R35, Rc5, and Rd> is independently selected from H, Ci-e alkyl, Ci-e haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C -u cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the C i-s alkyl, C2-6 alkenyl, C2-6 alkynyl, Cs-n aryl, C3-w cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl of R34, Rc4, and Rd4 are each optionally substituted with 1, 2, 3, or 4 independently selected R! substituents; each Rb5 is independently selected from Ci-e alkyl, Ci-e haloalky 1, C2-6 alkenyl, C2-6 alkynyl, Ci.-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, -wherein the Cj-e alkyl, C2-6 alkenyl, C2-6 alkynyl, C b-u aryl, C3.14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R1 substituents;

each R85 is independently selected from H, OH, CN, Ci-e alkyl, Ci-e alkoxy, Ci-e haloalky!, and Ci-ehaloalkoxy;

each R1 is independently selected from D, halo, oxo, Ci-e alkyl, Cue haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&-14 aryl, C3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CN, N02, OR36, SR*6, NHOR*6, C(0)Rbf>, C(0)NRc6Rd6, C(0)0Raf>, 0C(0)Rb6, 0C(0)NRc6Rd6, NRc6Rd6, NRc6C(0)Rb6, NRc6C(0)0R36, NRc6C(G)NRc6Rd6, C(=NRe6)Rb6, C(=NRe6)NRc6Rd6, NRc6C(=NRe6)NRc6Rd6, NRc6S(0)Rb6, NRc6S(0)3Rb6, and NRc6S(0)2NRc6Rd6, wherein the Ci-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, of Rh are each optionally substituted with 1, 2, 3, or 4 independently selected RJ substituents;

each Ra6, Rcf>, and Rd6 is independently selected from H, Ci-6 alkyl, Ci-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C3- cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the Ci-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Cg-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl of R36, RCR, and Rd6 are each optionally substituted with 1, 2, 3, or 4 independently selected RJ substituents; each Rb6 is independently selected from Ci-b alkyl, Ci^ haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&-J4 aryl, Cs-w cycloalky 1, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wdierein the Cj-e alkyl, C2-6 alkenyl, C2-6 alkynyl, C b-u aryl, C3-w cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected RJ substituents;

each Re6 is independently selected from H, OH, CN, C .-s alkyl, C .-s alkoxy, Ci-6 haloalkyl, and C i-ehaloalkoxy;

each R3 is independently selected from D, halo, oxo, C]_6 alkyl, Cj-e haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&-J4 aryl, C3- cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CN, N02, OR37, SR37, NHOR37, C(0)Rb7, C(0)NRc7Rd7, C(0)0Ra7,

NRC/S(0)2NRC /Rd/, wherein the Ci-6 alkyl, C2.6 alkenyl, C2.6 alkynyl,€5-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, of RH are each optionally substituted with 1, 2, 3, or 4 independently selected RK substituents;

each Ra/, Re', and Rd' is independently selected from H, Ci-6 alkyl, Ci-6 haloalkyl, C2-6 alkenyl, C2-6 a!kynyl, Ce-i+ aiyl, C3-14 cycloalkyl, 5-14 membered heteroaiyi, and 4-14 membered heterocycloalkyl, wherein the Ci.& alkyl, C2-6 alkenyl, C2-6 alk nyl, CCi+ aryl, C3-14 cycloalkyl, 5-14 membered heteroaiyi, and 4-14 membered heterocycloalkyl of Ra/, Rc7, and Rd' are each optionally substituted with 1, 2, 3, or 4 independently selected RK substituents; each Rb' is independently selected from Ci-e alkyl, Ci-e haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, Cs-ir cycloalkyi, 5-14 membered heteroaiyi, and 4-14 membered heterocycloalkyl, wherein the Ci-e alkyl, C2-6 alkenyl, C2-6 alkynyl, Gs-14 aryl, Csu+ c cloalkyl, 5-14 membered heteroary l, and 4-14 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R substituents;

each Re7 is independently selected from H, OH, CN, Ci-e alkyl, Ci-s alkoxy, Ci-& haloalkyl, and Ci-shaloalkoxy;

each RK is independently selected from H, D, OH, halo, oxo, CN, C(0)0H, NH2, NO2, SF5, C i -6 alkyl, Ci-e alkoxy, C -ehaloalkoxy, Cb-s haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&. 14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaiyi, 4-14 membered heterocycloalkyl; and wherein any heteroaryl group of any of the above-recited substituents optionally comprises an N-oxide on any ring-forming nitrogen.

40. The compound of claim 1, or a pharmaceutically acceptable salt thereof; wherein:

R! is selected from H and Ci-6 alkyl;

R2 is selected from H, D, Cf,-i4 ryl, 5-14 membered heteroaryl, C(0)Rb2,

C(0)NRc2Ra2, and C(Q)ORa2, wherein the Ce-uaxyl and 5-14 membered heteroaiyi of Rz are each optionally substituted with 1, 2, 3, or 4 independently selected Rc substituents;

R3 is selected from H, D, halo, C]-6 alkyl, Ce-u aryl, 5-14 membered heteroaryl, CN, and OR33, wherein the Ci-e alkyl, Ce-i+ ar l, and 5-14 membered heteroaryl of R3 are each optionally substituted with 1 , 2, 3, or 4 independently selected KD substituents;

Cy1 is phenyl optionally substituted with 1, 2, 3, or 4 independently selected RM substituents, or C 10-14 aryl or 5-14 membered heteroaryl, wherein the Cio-14 aryl and 5-14 membered heteroaryl of Cy1 is optionally substituted with 1, 2, 3, or 4 independently selected R substituents;

Cy2 is Ce-u aryl, CB-M cycloalkyl, 5-14 membered heteroaryl or 4-14 membered heterocycloalkyl, wherein the Ce-u aryi, C3-14 cycloalkyl, 5-14 membered heteroaryl and 4-14 membered heterocycloalkyl of Cy2 are each optionally substituted with 1 , 2, 3, or 4 independently selected Rb substituents;

each R32, R“, Rdi, and Ra3 is independently selected from H, Ci-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-n aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the Ci-e alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w ar l, C3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl of R32, Rc2, Rd2, and R33 are each optionally substituted with 1, 2, 3, or 4 independently selected R substituents;

each Rb2 is independently selected from Ci-& alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-n ary l, C3-] 4 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the Ci-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C&.14 aryl, C3.14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R° substituents;

each Rc, RD, RE, Rr, and R° is independently selected from D, halo, oxo, Ci-f, alkyl, C2-6 alkenyl C2-6 alkynyl, Ce-u aiyl, CB-H cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CN. N02, OR84, SR34, NHORa4, C(0)RM, C(0)NRc4Rd4,

NRc4S(0)2.Rb4, and NRc4S(0)2NRc4Rd4, wherein the C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w ary l, C3-]4 cycloalkyl, 5-14 membered heteroar d, and 4-14 membered heterocycloalkyl of Rc, R4', Re, R", and R° are each optionally substituted wifli 1, 2, 3, or 4 independently selected Rri substituents;

each RM is independently selected from D, halo, oxo, Ci-6 alkyl, C2.6 alkenyl, C2.6 alkynyl, Cw4 aiyl, C3-W cycloalkyl, 5-14 membered here roaryd, 4-14 membered

heterocycloalkyl, 2-CN, 3-CN, NO2, OR34, SR34, NHOR34, C(0)RM, C(0)NRc4Rd4, C(0)0R34,

NRc4S(0)2NRc4Rd4, wherein the Ci-6 alkyl, C2-6 alkenyl, C2-6 alkynyl,€5-14 aryl,€3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl of RM are each optionally substituted with 1, 2, 3, or 4 independently selected RH substituents; each Ra+, Rc4, and Rd4 is independently selected from H, C -6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-i+ aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the Ci-b alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-i+aiyl, Cs-w cycloalky 1, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl of R34, Rc4, and Rd4 are each optionally substituted with 1 , 2, 3, or 4 independently selected RH substituents;

each RM is independently selected from C1-6 alkyl€2-6 alkenyl, C2-6 alkynyl, CS-JI aryl, C3-! 4 cycloalky 1, 5-14 membered heteroaryl, and 4-14 membered heterocycloaikyi, wherein the C -e alkyl, C2-6 alkenyl, C2-6 alky nyl, Ce-u and,€3-5+ cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloaikyi are each optionally substituted with 1, 2, 3, or 4 independently selected RH substituents;

each R84 is independently selected from H, OH, CN, Ci-e alkyl, Ci-e alkoxy, Ci-e haloalkyl, and Ci-ehaloalkoxy;

each RH is independently selected from D, halo, oxo, Ci-e alkyl, CN, NO2, OR35, SRa',

each Ra5, Rc , and Rd5 is independently selected from H, and Cw, alkyl;

each Rh5 is independently selected from Ci-e alkyl, C2-e alkenyl, C2-6 alkynyl, Ce-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloaikyi; and each Re5 is independently selected from H and C -6 alkyl.

41. The compound of claim 2, or a pharmaceutically acceptable salt thereof;

wherein:

RJ is selected from H, Ci-b alkyl, and a 5-14 membered heteroaryl, wherein the Ci-e alkyl and a 5-14 membered heteroaryl are each optionally substituted with 1, 2, or 3 independently selected RB substituents;

R2 is selected from H, D, C -6 alkyl, Cf.- +aryl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci-e alkyl-, (5-14 membered heteroaryi)-Ci-6 alkyl-, (4- 14 membered heterocycloalky 1)-C]^ alkyl-, NRc2Rd2,C(0)Rb2, C(0) Rc-Raf and C(0)QR32, -wherein the Ci-e alkyl, Ce-w aiyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-w ary l-Ci-6 alkyl-, (5-14 membered heteroaryl) -Ci-6 alkyl-, (4-14 membered heterocycloalkyl)-Ci-6 alkyl- of R2 are each optionally substituted with 1, 2, 3, or 4 independently selected Rc substituents; Cy! is phenyl, optionally substituted with 1, 2, 3, or 4 independently selected RM substituents, or C lo-u aryl or 5-14 membered heteroaryl, wherein the C IO-M aryl and 5-14 membered heteroaryl of Cy! is optionally substituted with 1 , 2, 3, or 4 independently selected Rb substituents;

Cy2 is CVw aryl,€3-14 cycloalkyl, 5-14 membered heteroaryl or 4-14 membered heterocycloalkyl, wherein the Ce-w axyl, C3-H cycloalkyl, 5-14 membered heteroaryl and 4-14 membered heterocycloalkyl of Cyz are each optionally substituted with 1, 2, 3, or 4 independently selected R!‘ substituents;

each R3Z, Rc2, and Rd2 is independently selected from H, Ci-& alkyl, C2-6 alkenyl, C2-6 alkynyl, Cs-u aryl, Ce-i4 aryl-Ci-6 alkyl-, Cs-wcycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the Cj-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Cs-u aryi, C e-u aryl-Ci-6 alkyl-, C3-M cycloalkyl, 5- 14 membered heteroaryl, and 4- 14 membered

heterocycloalkyl of Ra2, Rc2, and R32 are each optionally substituted with 1, 2, 3, or 4 independently selected R° substituents;

each Rb2 is independently selected from Cj-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C3 -14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the Ci-e alkyl, C2-6 alkenyl, C2-6 alkynyl, CC-M aryl, C3- 14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R° substituents;

each Rb, Rl, Rk, R*, and RG is independently selected from D, halo, oxo, C1 -6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C&.i4 aryl, C3-1+ cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CN, N02, OR84, SRah NHOR34, C(0)RM, C(0)NRc4Rd4,

NRC+S(0)2Rm, and NRc4S(0)2NRc+Rd4, wherein the Cj-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C6-w aryl, C3 -14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl of RB, R4 , Rr. R" , and R° are each optionally substituted with 1, 2, 3, or 4 independently selected RH substituents;

each RM is independently selected from D, halo, oxo, Ci-f, alkyl, C2-6 alkenyl, C2.-6 alkynyl, Ce-u aryl, Ch-w cycloalkyd, 5-14 membered heteroaryd, 4-14 membered

heterocycloalkyl, 2-CN, 3-CN, NO2, ORa4, SRa4, NHOR84, C(0)RM, C(G)NRc4Rd4, C(0)0Ra4, 0C(0)Rm, 0C(0)NRc4Rd4, NRc4R34, NRC4C(0)R'd4, NRc+C(0)0Ra4, NRc4C(0)NRc4Rd4, C(=NRe4)Rb4, C(=NRe4)NRc4Rd4, Rc4C(-NRe4)NRc4Rd4, NRc4S(0)Rw, NRc4S(0)2Rb4, and NRc4S(0)2NRc4Rd4, wherein the Ci^, alkyl, C2-6 alkenyl, C2.-6 alkynyl, Ce-u aryl, CJ-M cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl of RM are each optionally substituted with 1, 2, 3, or 4 independently selected RH substituents;

each Ra , Rc+, and Rd4 is independently selected from H, C i-s alkyl, C>;-s alkenyl, C s alkynyl, Ce-u aiyl, C3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the C -6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Gs-s+ aryi, C3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl of Ra4, Rc4, and Rd4 are each optionally substituted with 1, 2, 3, or 4 independently selected Rri substituents;

each RM is independently selected from Ci-e alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-14 aryl, C3 -14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the Cne alkyl, C2-6 alkenyl, C2-6 alkynyl,€5-14 a yl, C?,-u cycloalky l, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl are each optionally substituted with I, 2, 3, or 4 independently selected RH substituents;

each Re4 is independently selected from H, OH, CN, Ci-e alkyl, Ci^ alkoxy, Ci-e haloalkyl, and Ci-shaloalkoxy ;

each RH is independently selected from D, halo, oxo. Cue alkyl, CN, NO2, ORa5, SR85,

each R3 , Rc5, and Rd5 is independently selected from H, and Ci-6 alkyl;

each Rb5 is independently selected frotn Cw alkyl, C2-6 alkenyl, C2-6 alkynyl, CM4 aryl, C3U4 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl; and each R5 is independently selected from H and C1-6 alkyl.

42. The compound of claim 1, selected from:

3-(5-Amino-8-(2,6-dimethylpyridin-4-yl)iinidazo[l,2-c]pyrimidin-7-yl)benzomtrile;

7-(2,3-Dihydro-l//-pyrrolo[2,3-/>]pyridin-5-yl)-8-(2,6-dimethylpyridin-4- yl)imidazo[l,2-c]pyrimidin-5-amine;

8-(2,6-Dimethylpyridin-4-yl)-3-(morpholinomethyl)-7-phenylimidazo[l,2- c]pyrimidin-5-amine;

7-(3-Methoxyphenyl)-8-(pyridin-4-yl)imidazo[l ,2-c]pyrimidin-5-amine;

7,8-Di(pyridin-4-yl)imidazo[l,2-c]pyrimidin-5-amine;

7-(2-Methylfuran-3-yl)-8-(pyridin-4-yl)imidazo| l ,2-c]pyrimidin-5-amine;

7-(2-Fluorophenyl)-8-(pyridin-4-yl)imidazo[l,2-c]pyrimidm-5-ainine;

7-(Benzofuran-2-yl)-8-(pyridin-4-yl)itnidazo[l,2-c]pyrimidin-5-amine; 7-(l-Methyl-]//-pyrazol-4-yl)-8-(2-methylpyridin-4-yl)imidazo[l,2-c]pyrimidin-5- amine;

8-(2-Methylpyridm-4-yl)-2,7-diphenylimidazo| l ,2-c]pyrimidin-5-amine;

Ethyl 5-amino-8-(2-methylpyridin-4-yl)-7-phenylimidazo[L2-c]pyrimidine-2- earboxylate;

Methyl 5-(5-amino-7-phenyl-8-(pyridin-4-yl)imidazo[l,2-c]pyrimidin-2-yl)isoxazole-

3-carboxylate;

3-(4-Ethoxyp]ienyl)-8-(2-methyipyridin-4-yl)-7-phenylimidazo[l,2-;,jpyrimidin-5- amine;

5~Amino-8-(2-methylpyridin-4-yi)-7-phenylimidazo[ l,2~c]pyrimidine-2~ carboxamide;

5-Amino-8-(l-carbamoyl-l,2,3,6-tetraliydropyridin-4-yl)-N-ethyl-7- phenylimidazo[l,2-c]pyrimidine-2-carboxamide;

5 -Amino-8-(l -carbamoy lpiperidin-4-y i)-/V-ethy 1-7-pheny limidazo[ 1 ,2-c jpyrimidine- 2-carboxamide;

5-Amino-7-(3-cyanophenyl)-/V-elhyl-3-(2-hydroxyethoxy)-8-(2-methoxypyridin-4- yl)imidazo[l,2-c]pyrimidine-2 -carboxamide;

5-Ammo-7-(3-cyanophenyl)-Ar-ethyl-8-(2-metiioxypyridin-4-yl)-3- methylimidazo[l,2-i;]pyrimidine-2 -carboxamide;

5~Amino-7-(3-cyanoplienyl)-Ai-ethyl-8-(2-methoxypyridin-4-yl)~3-(pyridin-2~ y l)imidazo [ L2-c]pyrimidine-2 -carboxamide;

5-Amino-3-bromo-8-(2,6-dimethylpyridin-4-yl)-N-etbyl-7-phenylimidazo[l,2- c]pyrimidine-2 -carboxamide;

5-Amino-3-cyano-8-(2,6-dimethylpyridin-4-yl)-lV-ethyl-7-phenylimidazo[l,2- c]pyrimidine-2 -carboxamide;

8-(2,6-Dimethylpyridin-4-yl)-/V-ethyl-5-(ethylamino)-7-phenylimidazo[l,2- cjpyrimidine-2 -carboxamide;

4-(5-Amino-2-(ethylcarbamoyl)-7-phenylimidazo[l,2-c,]pyrimidin-8-yl)-2,6- dimethylpyridine 1 -oxide;

3-(5-Ammo-8-(l-ethyl-6-oxo-l,6-dihydropyridin-3-yl)-2-(3-hydroxyazetidme-l- carbony l)imidazo [ 1 ,2-c]py rimidin-7-y l)benzonitriie;

5-Amino-7-(3-cyanophenyl)-8-(l-ethyl-6-oxo-l,6-dihydropyridin-3-yl)-/V-(l -(2- hydroxyethyl)-l//-pyrazol-4-yl)imidazo[l,2-c]pyrimidine-2-carboxamide; 5-Amino-7-(3-cyanophenyl)-Ar-ethyl-8-(pyridin-4-yl)iinidazofl,2-c]pyrimidine-2- carboxamide;

5-Amino-7-(3-cyanophenyl)-Af-ethyl-8-(3-methylpyridin-4-yl)imidazo[l,2- c]pyrimidine-2 -carboxamide;

5-Amino-7-(3~ey anopheny it-A-eiShyi-H-n-fiuorapyridin- -yi^midazol 1 ,2- e]pyrimidine-2 -carboxamide;

5-AmmO 7-(3-cyasiophenyI) V-ethyl 8-(3-chloropyridin-4-yi)imidazo[I ,2- cjpyrimidine-2 -carboxamide;

5-Amino-7-(3-cy anopheny l)-/V-ethyl-8-(3-methoxypyridin-4-yl)imidazo[l, 2- cJpyrimidine-2 -carboxamide;

5-Amim 7-(3-cyanopheny{)~V-ethy!~8-(3-cyaiiopyridin~4-yl)imidazo[l,2~ c]pyrimidine-2 -carboxamide;

5-Amino-8-(4-carbamoylphenyl)-7-(3-cy anopheny l)-N-etiiylimidazo[l, 2- c]pyrimidine-2-carboxamide;

5-Amino-7-(3-cyanophenyl)-N-ethyl-8-(pyrazolo[l,5-a]pyridin-3-yl)imidazo[l ,2- c]pyrimidine-2-carboxamide;

5-Amino-7-(3-cyanophenyl)-N-ethyl-8-(5-methyl-lH-pyrazol-4-yl)imidazo[l,2- c]pyrimidine-2-carboxamide;

5 -Amino-7-(3 -cy anopheny l)-N-ethy l-8-( 1 -ethy 1- 1 H-py razol-5 -y l)imidazo [1,2- cJpyrimidine-2-carboxamide;

5 -Amino-7-(3 -cy anopheny l)-Ar-ethy l-8-( 1 -isopropyl- l//-py razol-5 -y liimidazo [1,2- c]pyrimidine-2 -carboxamide;

5-Amino-7-(3-cyanophenyl)-A-etiiyl-8-(l-propyl-l//-pyrazol-5-yl)imidazo[l,2- c]pyrimidine-2 -carboxamide;

5-Amino-7-(3 -cy anopheny l)-N-ethyl-8-(pyrimidin-4-yl)imidazo[l,2-c]pyrimidme-2- carboxamide;

5-Amino-7-(3 -cy anopheny l)-8-(2, 3 -dihydro-[l, 4]dioxino[2, 3-b]pyridin-8-y l)-N- ethyiimidazo[l,2-c]pyrimidine-2-carboxamide; and

5-Amino-7-(3-cyanophenyl)-8-cyclopropyl-N-ethylimidazo[l,2-cjpyrimidine-2- carboxamide;

or a pharmaceutically acceptable salt thereof.

43. The compound of claim 2, selected from:

3 -(5-Amino-2-(pyridin-2-ylmethyl)-8-(pyrimidin-4 -yl)-[l,2,4]triazolo[l , 5 - c]pyrimidin-7-yl)benzomtrile;

3-(5-Ammo-8-(l-ethyl-l//-pyrazol-5-yl)-2-(pyridin-2-ylmethyl)-[l,2,4]triazolo[l,5- c]pyrimidin-7-yl)benzonitrile;

3-(5-Amino-8-(l-propyl-li/-pyrazol-5-yl)-2-(pyridm-2-ylmethyl)-[l,2,4]triazolo[l,5- c j py rims din -7-y l)benzonitrile ;

3-(5-Amino-2-(pyridin-2-ylmetiiyl)-8-(qimiolm-5-yl)-[l,2,4]triazolo[l,5-c|pyrimidm-

7-y l)benzonitriie ;

3-(5-Amino-8-(5-fluoropyrimidin-4-y l)-2 -(hydroxy (phenyl)methyl)- [ 1 ,2,4]triazolo[ 1 ,5-cjpy rimidin-7-y l)benzonitrile;

3-(5-Amino-8-(5-fluoropyrimidin-4-yl)-2-(pyridin-2-ylmethyl)-[l,2,4]triazolo[l,5- c']pyrimidin~7-yl)benzomtrile;

3-(5-Amino-2-((2 -hydroxy elhylamino)(phenyl)methyl)-8-(pyridin-4-yl)-

[l ,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile;

3-(5-Amino-2-(cyclohexyhnethyl)-8-(l-ethyl-l//-pyrazol-5-yl)-[l,2,4]triazolo[l,5- c j py rims din -7-y l)benzonitrile ;

3-(5-Amino-2-(2-fluorobenzyl)-8-(pyrimidin-4-yl)-[l,2,4]triazolo[l,5-c]pyrimidm-7- ylibenzonitrile;

3-(5-Ammo-2-((2-fluorophenyl)(hydroxy)methyl)-8-(pyrimidm-4-yl)-

[l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile;

3-(5-Amino-2-((6-methylpyrid -2-yl)methyl)-8-(pyrimidm-4-yl)-[l,2,4jtriazolo[l,5- c']pyrimidin~7-yl)benzomtrile;

3-(5-Amino-8-(l-ethyl-l//-pyrazol-5-yl)-2-((3-fluoropyridin-2-yl)methyl)-

[l ,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile;

3-(5-Amino-8-(l-ethyl-l//-pyrazol-5-yl)-2-((3-methoxypyridin-2-yl)methyl)- il,2,4]triazolo[T,5-c]pyrimidin-7-yl)benzonitrile;

3 -(5- Amino-2-(2-(l -methy i- IH -pyrazol-4-y l)benzy l)-8-(pyrimidm-4-yl)- [l ,2,4jtriazolo[l,5-cjpyrimidin-7-yl)benzonitrile;

3-(5-Amino-2-(benzo|d isoxazol-3-ylmetliyl)-8-(l-ethyl-l//-pyrazol-5-yl)- [ 1 ,2,4]triazolo [ 1 ,5 -c]py rimidin-7-y Ijbenzoniirile;

3-(5-Amino-8-(l-ethyl-l//-pyrazol-5-yl)-2-((l-methyl-l//-indazol-3-yl)methyl)-

[l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile; 3-(5-Amino-2-((3-hydroxyazetidm-l-yl)methyl)-8-(pyrimidin-4-yl)-

[1.2.4]triazolo[l,5-c]pyrirnidin-7-yl)benzonitrile;

3-(5-Ammo-8-(3-methylpyridin-4-yl)-2-(pyridm-2-ylmethyl)-[l ,2,4]triazolo[ l,5- c]pyrimidin-7-yT)benzonitrile;

3-(5-Ammo-8-(2-methoxy-6-methylpyridm-4-yl)-2-(pyridin-2-ylm ethyl)-

[1.2.4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile;

3-(5-Ammo-8-(pyrazolo[l ,5-/>]pyridazin-3-yl)-2-(pyridm-2-ylmethyl)-

[1.2.4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile;

3-(5-Amino-8-(4-methyloxazol-5-yl)-2-(pyridin-2-ylmethyl)-[l,2,4]triazolo[l,5- c]pyrimidm-7-yl)benzonitrile;

3-(5-Amino-8-(4-(hydroxymeihyl)-2-methyloxazol-5-yl)-2-(pyridin-2-ylinethyl)-

[1.2.4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile;

3-(5-Amino-8-(4-(methoxymethyl)-2-methyloxazol-5-yl)-2-(pyridin-2-ylmethyl)-

[1.2.4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile;

(S)-3-(5-ammo-2-(hydroxy(phenyl)methyl)-8-(pyrimidin-4-yl)-[l,2,4]triazolo[l,5- c]pyrimidin-7-yl)benzonitrile;

(i?)-3-(5-amino-2-(hydroxy(plienyl)methyl)-8-(pyrimidin-4-yl)-[l,2,4]triazolo[l,5- c] py rim idin-7 -y 1) benzonitrile ;

3-(5-Amino-2 -benzoyl-8-(pyrimidin-4-yl)-[ 1,2,4] triazolo[l, 5-c]pyrimidin-7- yl)benzonitrile;

3-(5-Amino-8-(l-ethyl-l//-pyrazol-5-yl)-2-(l-phenylcyclopropyl)-[l,2,4]triazolo[l,5- c]pyrimidin-7-yl)benzonitrile;

3-(5-Amino-2-((cyano(phenyl)methyl)amino)-8-(pyrimidin-4-yl)-[l,2,4]triazolo[l,5- c]pyrimidin-7-yl)benzonitrile;

3-(5-Ammo-8-(pyridin-4-yl)-2-(tetrahydrofuran-3-yl)-[l ,2,4]triazolo[l,5-c]pyrimidin- 7-yl)benzonilrile; and

3-(5-Ammo-2-(phenyl(pyridm-2-yloxy)methyl)-8-(pyrimidin-4-yl)- [ 1 ,2,4]triazolo[ 1 ,5-cjpy rimidin-7-y ljbenzonitrile;

or a pharmaceutically acceptable salt thereof.

44. The compound of claim 2, selected from:

3-(5-Amino-2-(2-fluoro-6-(((37i,4/?)-3-fluoro-4-hydroxypyrrolidin-l- yl)methyl)benzyl)-8-(pyrimidm-4-y l)-[l, 2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile; l-(2-((5-Amino-7-(3-cyanoplienyl)-8-(pyrimidin-4-yl)-[l,2,4]triazolo[l,5- c]pyrimidin-2-y3)methy!)-3-fliiorobenzy!)piperidine-4-carboxylic acid;

Ar-(2~((5-Amino~7-(3-cyariophenyi)~8-ipyrirnidin-4-yl)-[l,2,4]triazolo[l ,5- c]py rimidin-2-y l)me thy l)-3 -fluorobenzy 1) -V-me thy lme thane sulfonamide ;

3-(5-Amino-2-(2-((2,5-dioxoimidazolidin-l-yl)methyl)-6-f]uorobenzyl)-8-(pyrimidin-

4-yl)-[l,2,4]triazolo[l,5-clpyrimidin-7-yl)benzonitrile; and

3-(5-Ammo-2-((2,6-difluorophenyl)(hydroxy)methyl)-8-(pyrimidin-4-yl)- [ 1 ,2,4]triazolo[ 1 ,5-cjpy rimidin-7-y IJbenzonitrile;

or a pharmaceutically acceptable salt thereof.

45. The compound of claim 2, selected from:

3-(5-Amino-2-((5-(pyridm-2-yl)-lH-tetrazol-l-yl)methyl)-8-(pyrimidm-4-yl)-

[l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile;

3 -(2-((5 -( lH-Pyrazol- 1 -y 1)- lH-tetrazol- 1 -y l)methy l)-5 -amino-8-(pyrimidin-4-y 1)-

[l ,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile;

3-(5-Amino-8-(pyrmtidin-4-yl)-2-((5-(thiazol-4-yl)-lH-tetrazol-l-yl)methyl)-

[1.2.4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile;

3 -(5-Amino-2-((5 -methy 1-3 -(trif!uoromethy 1)- 1 H-pyrazol- 1 -y l)methyl)-8-(pyrimidin-

4-yl)-[l,2,4]triazolo[ l,5-c]pyrimidin-7-yl)benzonitrile;

3-(5-Amino-8-(4-etbyloxazol-5-yl)-2-(pyridin-2-ylmethyl)-[l,2,4]triazolo[l,5- c] py rimidin- 7 -y l)benzonitr ile ;

3 -(5- Amino-8-( 1 -ethyl- 1 H- 1,2,3 -triazol-5-y l)-2-(pyridin-2-y lmethyl)-

[1.2.4]triazolofl,5-c]pyrimidin-7-yl)benzonitrile;

3-(5-Amino-8-(4-methyloxazol-5-yl)-2-((3-methylpyridin-2-yl)methyl)-

[1.2.4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile;

3-(5-Amino-2-((3-fluoropyridin-2-yl)methyl)-8-(4-(hydroxymethyl)-2-methyloxazol-

5-yl)-[l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzomtrile;

3-(5-Amino-2~(2~((l,l-dioxidoisothiazo3idin~2-yi)methyl)~0-fluorohenzyi)-8~

(pyrimidin-4-yl)-[l,2,4]triazolo[l ,5-c]pyrmiidin-7-yl)benzonitrile;

3-(5-Amino-2-(2-fluoro-6-((3-methyl-2,5-dioxoimidazolidin-l -yl)methyl)benz>d)-8- (pyrimidin-4-y3)-[ 1 ,2,4]triazolo [1,5 -c]py rimidin-7-y l)benzonitriie;

3-(5-Ammo-2-((3-fluoropyridin-2-yl)methyl)-8-(pyrimidiii-4-yl)-[l ,2,4]triazolo[ l,5- c]pyrimidin-7-yl)benzonitrile; 3 -(5 -Amino-8-(4-methy loxazol-5 -y l)-2-((6-(trifluoromethy l)pyridin~2-y l)methy 1)~

[l ,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile;

3-(5-Amino-8-(4-methyloxazol-5-yl)-2-(pyridin-2-ylmethyl)-[ l,2,4]triazolo[l,5- c]pyrimidin-7-yl)-2-fluorobenzonitrile;

3-(5-Amino-2-((3-(hydroxymethyl)pyridin-2-yl)methyl)-8-(4-methyloxazol-5-yl)-

[l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile;

3-(5-Amino-2-((l-methyl-lH-pyrazol-3-yl)methyl)-8-(4-methyloxazol-5-yl)- [ 1 ,2,4]triazolo[ 1 ,5-c jpy rimidin-7-y Ijbenzonitrile;

3 -(5-Amino-2-(( 1 -methy 1- 1 H-py razol-3 -y l)methy l)-8-(oxazol-5 -y 1)- [ 1 , 2,4] triazolo [1,5 -c Jpy rimidin -7 -y l)be nzonitrile ;

3-(5-Amino-2-((3-methylpyridm-2-yl)methoxy)-8-(pyrimidin-4-yl)-

[l ,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile;

3-(5-Amino-2-((6-methylpyridin-2-yl)methoxy)-8-(pyrimidin-4-yl)-

[l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile;

2-((5-Amino-7-(3-cyanophenyl)-8-(pyrimidin-4-yl)-[l,2,4]triazolo[l,5-c]pyrimidin-2- y l)me thoxy )benzonitrile ; and

3-(5-Amino-2-(((3-methylpyridin-2-yl)methyl)amino)-8-(pyrimidin-4-yl)- [ 1 ,2,4]triazolo[ 1 ,5-c jpy rimidin-7-y Ijbenzonitrile;

or a pharmaceutically acceptable salt thereof.

46. A pharmaceutical composition comprising a compound of any one of claims 1-45, or a pharmaceutically acceptable salt thereof and a pharmaceutically acceptable excipient or carrier.

47. A method of inhibiting an activity of an adenosine receptor, comprising contacting the receptor with a compound of any one of claims 1-45, or a pharmaceutically acceptable salt thereof.

48. A method of treating a disease or disorder in a patient, wherein the disease or disorder is associated with abnormal expression of A2A or A2B receptors, comprising administering to said patient a therapeutically effective amount of a compound of any one of claims 1-45, or a pharmaceutically acceptable salt thereof.

49. The method of claim 48, wherein the disease or disorder is cancer, an inflammatory disease, a cardiovascular disease, or a neurodegenerative disease.

50. The method of claim 49, wherein the cancer is bladder cancer, lung cancer, melanoma, breast cancer, cervical cancer, ovarian cancer, colorectal cancer, pancreatic cancer, esophageal cancer, prostate cancer, kidney cancer, skin cancer, thyroid cancer, liver cancer, uterine cancer, or renal cell carcinoma.

51. The method of claim 49, wherein the inflammatory disease is pulmonary' inflammation.

52. The method of claim 51 , wherein the pulmonary inflammation is bleomycin-induced pulmonary fibrosis.

53. The method of claim 49, wherein the inflammatory disease is an adenosine receptor dependent allergic reaction or adenosine receptor immune reaction.

54. The method of claim 53, wherein the adenosine receptor dependent allergic reaction is A2B receptor dependent.

55. The method of claim 49, wherein the inflammatory disease is a respiratory' disorder, sepsis, reperfusion injury, or thrombosis.

56. The method of claim 49, wherein the cardiovascular disease is coronary artery- disease, cerebrovascular disease, peripheral artery' disease, aortic atherosclerosis, or aneurysm.

57. The method of claim 56, wherein the coronary artery' disease is myocardial infarction, angina pectoris, or heart failure.

58. The method of claim 56, wherein the cerebrovascular disease is stroke or transient ischemic attack.

59. The method of claim 49, wherein the neurode generative disease is Parkinson’s disease.

60. The method of claim 48, wherein the disease or disorder is diabetes or insulin resistance.

61. A method of treating or pre venting atherosclerotic plaque formation in a patient in need thereof, comprising administering to said patient a therapeutically effective amount of a compound of any one of claims 1-45, or a pharmaceutically acceptable salt thereof.

Description:
IMID AZOPYRIMIDINES AND TRIAZOLOPYRIMIDINES AS A2A / A2B

The present invention provides imidazopyrimidine and triazolopyrimidine compounds that modulate the activity of adenosine receptors, such as subtypes A2A and A2B, and are useful in the treatment of diseases related to the activity of adenosine receptors including, for example, cancer, inflammatory' diseases, cardiovascular diseases, and neurode generative diseases.

Adenosine is an extracellular signaling molecule that can modulate immune responses through many immune cell types. Adenosine was first recognized as a physiologic regulator of coronary vascular tone by Drury and Szent-Gyorgyu (Sachdeva, S. and Gupta, M. Saudi Pharmaceutical Journal, 2013, 21, 245-253), however it was not until 1970 that Sattin and Rail showed that adenosine regulates cell function via occupancy of specific receptors on the cell surface (Sattin, A., and Rail, T.W., 1970. Mol. Pharmacol. 6, 13-23; Hasko', G., at al, 2007, Pharmacol. Ther. 113, 264-275).

Adenosine pla s a vital role in various other ph siological functions. It is involved in the synthesis of nucleic acids, when linked to three phosphate groups; it forms ATP, the integral component of the cellular energy system. Adenosine can be generated by the enzy matic breakdown of extracellular ATP, or can be also released from injured neurons and glial cells by passing the damaged plasma membrane (Tautenhahn, M. et al.

Neuropharmacology, 2012, 62, 1756-1766). Adenosine produces various pharmacological effects, both in periphery and in the central nervous system, through an action on specific receptors localized on cell membranes (Matsumoto, T. et al. Pharmacol. Res., 2012, 65, 81- 90). Alternative pathways for extracellular adenosine generation have been described. These pathways include the production of adenosine from nicotinamide dinucleotide (NAD) instead of ATP by the concerted action of CD38, CD203a and CD73. CD73 -independent produc tion of adenosine can also occur by other phosphates such as alkaline phosphatase or prostate- specific phosphatase.

There are four known subtypes of adenosine receptor in humans including Al, A2A, A2B, and A3 receptors. Al and A2A are high affinity receptors, whereas A2B and A3 are low affinity receptors. Adenosine and its agonists can act via one or more of these receptors and can modulate the activity of adenylate cyclase, the enzyme responsible for increasing cyclic AMP (cAMP). The different receptors have differential stimulatory and inhibitory effects on this enzyme. Increased intracellular concentrations of cAMP can suppress the activity' of immune and inflammatory cells (Livingston, M. et al., In fiamm. Res., 2004, 53, 171-178).

The A2A adenosine receptor can signal in the periphery and the CNS, with agonists explored as anti-inflammatory' drugs and antagonists explored for neurodegenerative diseases (Carlsson, I. et al., J. Med. Chem., 2010, 53, 3748-3755). In most cell types the A2A subtype inhibits intracellular calcium levels whereas the A2B potentiates them. The A2A receptor generally appears to inhibit inflammatory response from immune cells (Borrmann, T. et al., J. Med. Chem., 2009, 52(13), 3994-4006).

A2B receptors are highly expressed in the gastrointestinal tract, bladder, lung and on mast cells (Antonioli, L et ah, Nature Reviews Cancer, 2013, 13, 842-857). The A2B receptor, although structurally closely related to the A2A receptor and able to activate aden late cyclase is functionally different. It has been postulated that this subtype may utilize signal transduction systems other than adenylate cyclase (Livingston, M. et ah, Inflamm. Res., 2004, 53, 171-178). Among all the adenosine receptors, the A2B adenosine receptor is a low affinity receptor that is thought to remain silent under physiological conditions and to be activated in consequence of increased extracellular adenosine levels (Ryzhov, S. et al.

Neoplasia, 2008, 10, 987-995). Activation of A2B adenosine receptor can stimulate adenylate cyclase and phospholipase C through activation of Gs and Gq proteins, respectively. Coupling to mitogen activated protein kinases has also been described (Borrmann, T. et al., J. Med. Chem., 2009, 52(13), 3994-4006).

In the immune s stem, engagement of adenosine signalin can be a critical regulatory mechanism that protects tissues against excessive immune reactions. Adenosine can negatively modulate immune responses through many immune cell types, including T -cells, natural-killer cells, macrophages, dendritic ceils, mast cells and myeloid-derived suppressor cells (Allard, B. et al. Current Opinion m Pharmacology, 2016, 29, 7-16).

In tumors, this pathway is hijacked by tumor micro-environments and sabotages the antitumor capacity of immune s stem, promoting cancer progression. In the tumor microenvironment, adenosine was mainly generated from extracellular ATP by CD39 and CD73. Multiple cell types can generate adenosine by expressing CD39 and CD73. This is the case for tumor cells, T-effector cells, T-regulatory cells, tumor associated macrophages, myeloid derived suppressive cells (MDSCs), endothelial cells, cancer- associated fibroblast (CAFs) and mesenchymal stromal/stem cells (MSCs). Hypoxia, inflammation and other immune- z suppressive signaling in tumor micro-environment can induce expression of CD39, CD73 and subsequent adenosine production. As a result, adenosine level in solid tumors is unusually high compared to normal physiological conditions.

A2A are mostly expressed on l mphoid -derived cells, including T-effecior cells, T regulatory cells and nature killing cells. Blocking A2A receptor can prevent downstream immunosuppressive signals that temporarily inactivate T ceils. A2B receptors are mainly expressed on monocyte-derived cells including dendritic cells, tumor-associated

macrophages, myeloid derived suppressive ceils (MDSCs), and mesenchymal stromal/stem cells (MSCs). Blocking A2B receptor in preclinical models can suppress tumor growth, block metastasis, and increase the presentation of tumor antigens.

In terms of safety profile of ADORA2A/ADORA2B (A2A/A2B) blockage, the A2A and A2B receptor knockout mice are all viable, showing no growth abnormalities and are fertile (Allard, B. et ai. Current Opinion in Pharmacology, 2016, 29, 7-16). A2A KQ mice displayed increased levels of pro-inflammatory cytokines only upon challenge with LPS and no evidence of inflammation at baseline (Antonioli, L. et al.. Nature Reviews Cancer, 2013, 13, 842-857). A2B KG mice exhibited normal platelet, red blood, and white cell counts but increased inflammation at baseline (TNF-alpha, IL-6) in naive A2B KO mice (Antonioli, L. et al., Nature Reviews Cancer, 2013, 13, 842-857). Exaggerated production of TNF-alpha and IL-6 was detected following LPS treatment. A2B KO mice also exhibited increased vascular adhesion molecules that mediate inflammation as well leukocyte adhesion/rolling; enhanced mast-cell activation; increased sensitivity to IgE -mediated anaphylaxis and increased vascular leakage and neutrophil influx under hypoxia (Antonioli, L. et al., Nature Reviews Cancer, 2013, 13, 842-857).

In summary, there is a need to develop new adenosine receptor selective ligands, such as for subtypes A2A and A2B, for the treatment of diseases such as cancer, inflammatory diseases, cardiovascular diseases and neurode generative diseases. This application is directed to this need and others.

SUMMARY

The present invention relates to, inter alia, compounds of Formula (I):

or pharmaceutically acceptable salts thereof, wherein constituent members are defined herein.

The present invention further provides pharmaceutical compositions comprising a compound of Formula (I), or a pharmaceutically acceptable salt thereof, and a

pharmaceutically acceptable carrier.

The present invention further provides methods of inhibiting an activity of an adenosine receptor, comprising contacting the receptor with a compound of Formula (I), or a pharmaceutically acceptable salt thereof.

The present invention further provides methods of treating a disease or a disorder associated with abnormal expression of adenosine receptors, comprising administering to said patient a therapeutically effective amount of a compound of Formula (I), or a

pharmaceutically acceptable salt thereof.

The present invention further provides a compound of Formula (I), or a

pharmaceutically acceptable salt thereof for use in any of the methods described herein.

The present invention further provides use of a compound of Formula (I), or a pharmaceutically acceptable salt thereof, for the preparation of a medicament for use in any of the methods described herein.

DETAILED DESCRIPTION

Compounds

The present invention relates to, inter alia, compounds of Formula (i):

or pharmaceutically acceptable salts thereof; wherein:

X is N or CR :

R 1 is selected from H, C - 6 alkyl, Ci- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl,€ 6 - aryl, C3 -14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w ar l-Cw alkyl-, C3-14 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaiy 1)-C 1-6 alkyl-, (4-14 membered heterocy cloa!ky 1) -C 1-5 alkyl-, OR ai , C(0)R bi , C(0)NR cl R dl , C(0)0R ai , C(=NR el )R bl ,

C(=NR e! )NR“ 'R d l , S(0)R bl , S(0)NR c l R dl , S(0) 2 R b l , and S(0) 2 NR cl R dl , wherein the Ci -6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C&-34 aryl, C3- M cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CS- M ar l-Cw alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ^ alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R 1 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R d substituents;

R 2 is selected from H, D, halo, C - 6 alkyl, C - 6 haloalkyl, C 2-6 alkenyl, C2-6 alkynyl, CV 14 aryl, Cs-w cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C S-M aryl-Ci- 6 alkyl-, Cs-u cycloalky l-Ci- 6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, CN, N0 2 , OR a2 , SR a2 , NHOR ai , C(0)R b2 ,

C(0)NR c2 R d2 , C(0)NR e2 (0R a2 ), C(0)0R a2 , 0C(0)R b2 , 0C(0)NR c2 R d2 , NR c2 R d \

NR c2 NR c2 R d2 , NR c2 C(0)R b2 , NR c2 C(0)0R a2 , NR c2 C(0)NR c2 R d2 , C(=NR e2 )R b2 ,

C(=NR s2 )XR c2 R d2 , NR c2 C(=NR e2 )NR c2 R d2 , NR c2 C(=NR e2 )R b2 , NR c2 S(0)NR c2 R d2 ,

NR c2 S(0)R b2 , N R SiOi R K' . NR c2 S(0)(=NR e2 )R b2 , NR c2 S(0) 2 NR c2 R d2 , S(0)R b2 ,

S(0)XR c2 R d2 , S(0) 2 R b2 , S(0) 2 NR c2 R d2 , 0S(0)(=NK e2 )R b2 , 0S(0) 2 R b2 , Si· ', . P(0)R i2 R g2 , 0P(0)(0R h2 )(0R l2 ), P(0)(0R b2 j(0R l2 ), and BR j2 R k2 , wherein the C i A alkyl, ( ' ·,·. alkenyl, alkynyl, Ci.-n aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-w aryl-Ci-6 alkyl-, C3..14 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky l)-Ci- 6 alkyl- of R · are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected substituents; R 3 is selected from H, D, halo, Ci-s alkyl, Ci-s haloalkyl, C 2-6 alkenyl, alkynyl, de ¬ n ary!, C3-34 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heierocycloalkyl, C * aryl-Ci- 6 alkyl-, CVw cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)~Ci- 6 alkyl-, (4-14 membered heterocycloalky l)-Ci- 5 alkyl-, CN, N0 2 , OK‘k SR J‘ . M ) OR :: . C(0)R b3 ,

C(0)NR c3 R d3 , C(0)NR c3 (0R a3 ), C(0)0R a3 , 0C(0)R b3 , 0C(0)XR c3 R d3 , NR c3 R d3 ,

NR c3 NR c3 R d3 , NR c3 C(0)R b3 , NR c3 C(0)0R a3 , NR c3 C(0)NR c3 R d3 , C(=NR e3 )R h3 ,

C(=NR e3 )NR c3 R d3 , NR c3 C(=NR e3 ) R c3 R d3 , NR c3 C(-NR e3 )R b3 , NR c3 S(0) R c3 R d3 ,

NR c3 S(0)R b3 , NR c3 S(0) R b3 , NR c3 S(0)(=NR e3 )R b3 , NR c3 S(0) 2 NR c3 R d3 , S(0)R b3 ,

SiOjN R· R d . S((); R h . S(0) 2 NR c3 R d3 , OSiOH Mb iR h . 0S(0) 2 R b3 , SF 5 , PiOsR R " . OPtOXOR^XQR 13 ), P(0)(0R h3 )(0R L '), and BR jJ R k3 , wherein the Ci- 6 alkyl, C 2 -e alkenyl, C 2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, C M * aryl-C -6 alkyl-, C 3-14 cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)~C 1-6 alkyl- of R 3 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R^ substituents;

Cy 1 is Cfs-M aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl, wherein the C S-M aryl, Cs-ncycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl is optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R 11 substituents;

provided that when X is N and Cy 1 is 4-14 membered heterocycloalkyl, then the 4-14 membered heterocycloalkyl of Cy 1 is other than unsubstituted morpholiny!;

provided that Cy 1 is not pyridin-4-yl optionally substituted with i, 2, 3, or 4 independently selected R^ substituents;

provided that Cy 1 is not pyrimidin-4-yl optionally substituted with 1, 2, or 3, independently selected R substituents;

provided that Cy 1 is not quinolin-4-yl optionally substituted with 1 , 2, 3, 4, 5, or 6 independently selected R b substituents;

Cy is C &-34 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heierocycloalkyl, wherein the Ce-u aryl, C 3-H cycloalky 1, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl is optionally substituted with l, 2, 3, 4, 5, 6, 7, or 8 independently selected R b substituents;

each R a! , R c l , R ds , R a2 , R c2 , R d2 , R a3 , R c3 , and R d3 is independently selected from H, Ci. 6 alkyl, C - 6 haloalkyl, alkenyl, C 2-6 alkynyl, CX- H aryl, C 3U4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heierocycloalkyl, Ce-n aryl-C 3-5 alkyl-, Cs-i + cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4- 14 membered heterocycloalkyl)-Ci- 6 alkyl-, wherein the Cj-e alkyl, C2-6 alkenyl, C2-6 alkynyi, Ce-u aryl,€3-5+ cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C 6-M aryl-Ci-6 alkyl-,€3-14 cycloalkyd-C 1-6 alkyl-, (5-14 membered heteroaryl)-C i-e alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R al , R cl , R dl , R a2 , R c2 , R d2 , R a5 , R cJ , and R dJ are each optionally substituted with L 2, 3, 4, 5, 6, 7, or 8 independently selected R G substituents;

or, any R ci and R al attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroary l or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R° substituents;

or any R c2 and R d2 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R° substituents;

or any R c3 and R d3 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R & substituents;

each R bl , R h3 , and R b3 is independently selected from H, Ci- 6 alkyl, Ci- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyi, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-i4 aryl-Cs- 6 alkyl-, Cs-w cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci.6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, wherein the Ci-6 alkyl, C2-6 alkenyl, C2-6 alkynyi, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci- 6 alkyl-, C3-14 cycloalky l-Ci^ alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C ½ alk l- of R bl , R bi , and R b3 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R° substituents;

each R ei , R 5 , and R e3 is independently selected from H, OH, CN, Ci- 6 alkyl, Ci- 6 alkoxy, Cj- 6 haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyi, C 6 -i4 aryl, C3- M cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w aiyl-Cj-6 alkyl-, G3- H cycloalkyl-Ci- 6 alkyl-, (5-14 membered heteroaryl)-C ]-6 alkyl-, and (4-14 membered heterocy cloalky 1)-C 1.5 alky 1-;

each R g , R g2 , R iJ , and R g3 is independently selected from H, Cj- 6 alkyl, C]- 6 aikoxj r , Ci- 6 haloalkyl, Cj-e haloalkoxy, C2-6 alkenyl, C2-6 alkynyi,€5-54 aryl, 63-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CM* aryl-Ci-6 alkyl-, C3-14 cycloalkyl- Ci-6 alkyl-, (5-14 membered heteroai l)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R 112 , R l2 , R !l3 , and R 1J is independently selected from H, C - & alkyl, C - & haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&.14 aryl, C3-1 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, e- aryl-C *- 6 alkyl-, C3- K cycioalkyl-C -6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)~C 1-6 alkyl-;

each R j , R ki , R J C and R k3 is independently selected from OH, C -e alkoxy, and Ci- 6 haloaikoxy;

or any R j2 and R k2 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci- 6 alkyl and C 1-6 haloalkyl;

or any R JJ and R kJ attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalky 1 group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci-e alkyl and Ci- 6 haloalkyl;

each R b , R c , R d , R e , R f , and R° is independently selected from D, halo, oxo, Cj- & alkyl, Ci-6 haloalkyl, C 2- e alkenyl, C2-6 alkynyl, C&-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u ary l-C -6 alkyl-, C3-14 cycloalk l-Cw alkyl- (5-14 membered heteroaryi)-Ci-6 alkyl-, (4-14 membered heterocycloalkyi)-Ci-6 alkyl-, CN, NO2, OR a4 , SR a4 , NHOR 84 , C(0)R M , C(0)NR c4 R d4 , C(0)NR c4 (0R a4 ), C(0)0R 34 . GC(0)R b4 , 0C(0)NR c V , NR c4 R d+ , NR c4 NR c4 R d4 NR c4 C(0)R M , NR c4 C(0)0R a4 , NR c4 C(0)NR c4 R d4 ,

Ci C(=NR e4 )NR e4 R d4 , NR c4 C(===NR e4 )NR c4 R d4 , N lCCi NR e4 S(0)R b4 ,

NR c4 S(0)NR c4 R d4 , NR c4 S(0) 2 R b4 , NR c4 S(0)(-NR e4 )R b4 , NR c4 S(0) 2 NR c4 R d4 , S(0)R b4 , S(0)NR c+ R d+ , S(0) 2 R b+ , S(0) 2 NR c4 R d4 , 0S(0)(=NR e4 )R b4 , 0S(0) 2 R b4 , SF s , P(0)R f4 R g4 , 0P(0)(0R h4 )(0R 14 ), P(0)(0R h4 )(0R 4 ), and BR. J R k : . wherein the C M alkyl, C 2.6 alkenyl, C 2..6 alkynyl, Ce- aryl, Ch-w cyeloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-u aryl-C 1.5 alkyl-, C3-14 cycloalk I-C1-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C ue alkyl- of R B , R c , R D , R E , R F , and R° are each optionally substituted with 1 , 2, 3, 4, 5, 6, 7, or 8 independently selected

R ri substituents;

each R a4 , R c+ , and R d4 is independently selected from H, C i-s alkyl, C i-s haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryd, C3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocy cloalkyl, Ce-u aryl-C i-e alkyl-, C 3 -i cycloalkyl-C - 6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl-, wherein the Ci-s alkyl, C2-6 alkenyl, C2-6 alkynyl, C f .- aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci-e alkyl-, Ci-u cycloalkyl-Cj-6 alky' 1-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloa3kyl)-Ci-6 alkyl- of R a \ R c4 , and R d4 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R ri substituents;

or, any R c4 and R d4 attached to the same N atom, together with the N atom to which they are attached, optionally form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R ri substituents;

each R fc4 is independently selected from H, Cne alkyl, Cne haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce- aryd, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, CM* aryl-C [-6 alkyl-, C3-14 cycloalkyl-Cj-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)~C 1-6 alkyl-, wherein the Ci-s alkyl€2-5 alkenyl, C2-S alkynyl, C&-14 aryd, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, M * aryl-C i-b alkyl-, C3- K cycloalkyl-Cj-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky l)-Ci- 6 alkyl- of R° 4 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H substituents; each R 84 is independently selected from H, OH, CN, Ci-e alky l, Cj-e alkoxy, Ci-e haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ce-i4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w aryt-Cj- 6 alkyl-, Cs-w eycloalkyi- Ci- 6 alkyl-, (5-14 membered heteroaryl) -C1-6 alkyl-, and (4-14 membered heterocycloalky 1)-Ci. 6 alkyl-;

each R f4 and R g4 is independently selected from H, C -- 6 alkyl, Ci-e alkoxy, Ci- 6 haloalkyl, Ci-ghaloalkoxy, C2-6 alkenyl,€2-5 alkynyl, aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C i-b alkyl-, C3-14 cycloalkyl- Ci- d alkyl-, (5-14 membered heteroaiyl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R M and R 14 is independently selected from H, Ci-s alkyl, Ci^ haloalkyl, C2-6 alkenyl,€2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-i4 aryl-Cj-e alkyd-, Cs-w cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaiyl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R j4 and R K4 is independently selected from OH, Cj-saikoxy, and Ci-ehaloalkoxy; or, any R j4 and R k+ attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Cne alkyl and Cj- 6 haloalkyl; each R H is independently selected from D, halo, oxo, Ci- 6 alkyl, Ci- 6 haloalkyl, C 2-6 alkenyl, C 2-& alkynyl, Ce-u aryl, C B-H cycloalkyl, 5-14 tnembered heteroaryd, 4-14 membered heterocycloalkyl, Ce-n aiyl-Ci-6 alkyl-, Cs- H cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, CN, NO2, OR 35 , SR 3" ,

OP(0)(OR :,li )(OR 15 ), P(0)(0R !l5 )(0R l5 ), and BR 5 R k5 , wherein the C M alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C G-M aryl, C B-H cycloalky 1, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-u aryl-C i-e alkyl-, C B -i4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky l)-Ci- 6 alkyl- of R 1 ! are each optionally substituted with 1, 2, 3, or 4 independently selected R 1 substituents;

each R a \ R c5 , and R d> is independently selected from H, Cj-b alkyl, Cj-b haloalkyl, C2-6 alkenyl, C 2- e alkynyl,€5-14 aryl, CB-H cycloalkyl, 5-14 membered heteroaryd, 4-14 membered heterocycloalkyl, Ce-n aryl-C 1 -5 alkyd-, CB-H cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl-, wherein the Ci-e alkyl, C 2-& alkenyl, C 2-& alkynyl, Ce-w aryl, C B-M cycloalkyl, 5-14 membered heteroaryd, 4-14 membered heterocycloalkyl, Ce-u aryl-Cj-e alkyl-, C B-M cycloalky l-Ci^ alkyl-, (5-14 membered heteroaryl)-Ci.6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl- of R 3> , R c5 , and R d5 are each optionally substituted with 1 , 2, 3, or 4 independently selected R 1 substituents; or any R ca and R d5 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryd or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryd or 4-14 membered heterocycloalkyl group is optionally substituted with 1 , 2, 3, or 4 independently selected R 1 substituents;

each R b5 is independently selected from H, Cue alkyd, Cue haloalkyl, C 2-6 alkenyl, C 2-& alkynyl, C&-14 aryl, C B-H cycloalk l, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-u aryd-C i-e alkyl-, C3-i4 cycloalkyd-Ci-6 alkyl-, (5-14 membered heteroaryi)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyi)~C 1-6 alkyl-, wherein the Ci- 6 alkyl, C 2 -e alkenyl, C 2-6 alkynyl, C &-J 4 aryl, CB-H cycloalkyl, 5-14 membered heteroaryd, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci-e alkyl-, Ci-u cycloalkyl-C -6 alky' 1-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloa3kyl)-Ci-6 alkyl- of R 03 are each optionally substituted with 1, 2, 3, or 4 independently selected R 1 substituents;

each R e5 is independently selected from H, OH, CN, C M alkyl, Ci-e alkoxy, Ci- 6 haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ca-u aryl, C;-w cycloalkyi, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aiyl-Ci- 6 alkyl-, Cs-u cycloalkyi- C M alkyl-, (5-14 membered heteroaryl) -C - 6 alkyl-, and (4-14 membered heterocycioalkyl)-C - 6 alkyl-;

each R 6 and R p is independently selected from H, Cm, alkyl, Ci« alkoxy, Ci- 6 haloalkyl, Ci- 6 haloalkoxy, C>;-s alkenyl, C2-6 alkynyl, C K aryl, C3- S 4 cycloalkyl, 5-14 membered heteroary l, 4-14 membered heterocycloalkyl, C M 4 ary l-Ci- 6 alkyl-, C3-14 cycloalky 1- C [- 6 alkyl-, (5-14 membered heteroaiyl)-Ci- 6 alkyl-, and (4-14 membered heteroeycloalkyli-Ci- 6 alkyl-;

each R tD and R 15 is independently selected from H, C alkyl, C M haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, Cj-w cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce- aryl-C 1.5 alkyl-, C3-14 cycloalky 1-C M alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C alkyl-;

each R j5 and R k5 is independently selected from OH, Ci-e alkoxy, and C -ehaloalkoxy; or, any R |5 and R to attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-mem bered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from CM alkyl and Ci- 6 haloalkyl;

each R ! is independently selected from D, halo, oxo, C , alkyl, C , haloalkyl, C2-6 alkenyl, C 2-6 alkynyl, Ce-u aryl, Cs-u cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w ary 1-C M alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ]-6 alkyl-, and (4-14 membered heterocycioalkyl)-Ci- 6 alkyl-, CN, N(¾, OR ab , SR ®6 , NHGR a5 , C(0)R b6 , C(0)NR c6 R d6 , C(0)NR c6 (0R a6 ). C(0)GR af> , GC(G)R b6 ,

0C(0)NR c6 R d6 , NR c6 R db , NR c6 NR c6 R d6 , NR c6 C(0)R b6 , NR c6 C(0)0R a6 , NR c6 C(0)NR c5 R d6 , C(=NR e6 )R b6 , C(=NR e6 )NR c6 R d6 , NR c6 C(=NR e6 )NR c6 R d6 , NR c6 C(=NR e6 )R b6 , NR c6 S(0)R b6 , NR c6 S(G)NR c6 R d6 , NR c6 S(0) 2 R b6 , NR c5 S(0)(=NR c5 )R b6 , NR c6 S(0) 2 NR c5 R d6 , S(0)R b6 , S(0)NR c6 R d6 , S(0) 2 R b6 , S(0) 2 NR c5 R d6 , 0S(0)(=NR e6 )R b6 , 0S(0) 2 K b6 , SF s , P(0)R f6 R g6 , OPi OiiOR "ji OR : i. P(G)(OR b6 )(OR 6 ), and BR ,6 R k6 , wherein the C M alkyl, C 2-6 alkenyl, C2-6 alkynyl, Ca-u aryl, Cfr-w cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-i aiyl-Ci-6 alkyl-, Cs-u cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- of R l are each optionally substituted with 1 , 2, 3, or 4 independently selected R J substituents;

each R a5 , R c6 , and R d6 is independently selected from H, C i-s alkyl, C i-s haloalkyl, C M alkenyl, CM alkynyl, C&-14 aryl, C3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryd-C M alkyl-, C3-i4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl-, wherein the C M alkyl, C 2-6 alkenyl, C2-6 alkynyl, Ci.-u aryl, C J-M cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci-e alkyl-, Ch- M cycioalkyl-C M alkyl-, (5-14 membered heteroaryi)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky i)-Ci- 6 alkyl- of R a5 , R CR , and R dR are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

or any R 06 and R dR attached to the same N atom, together with the N atom to winch they are attached, form a 5- or 6-membered heteroary l or a 4-14 membered heterocycloalkyl group, wiierein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

each R b6 is independently selected from H, CM alkyl, CM haloalkyl, C 2 -s alkenyl, C 2 -6 alkynyl, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered

heterocycloalkyl, Ce-w ary I-C1-& alkyl-, C3-1 4 cycloalkyl-Cw alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyi)-Ci-6 alkyl-, wiierein the C alkyl, C2-6 alkenyl, C2-6 alkynyl, C&.14 aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, Cs-w aryi-C M alkyl-, CVw cycloalkyl-C M alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C ½ alkyl- of R b6 are each optionally substituted with 1 , 2, 3, or 4 independently selected R:' substituents;

each R ®6 is independently selected from H, OH, CN, Ci-e alkyl, Cue lkoxy, Ci-e haloalkyl, Ci-ghaloalkoxy, C2-6 alkenyl, C 2 « alkynyl, Ce-n aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, Ce-u axyl-Ci-e alkyl-, C3-14 cycloalkyl- Ci- d alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alky 1-;

each R ® and R s ° is independently selected from H, Ci-e alkyl, Ci-e alkoxy, Ci-e haloalkyl, Cwehaloalkoxy, C2-6 alkenyl, C 2-f, alkynyl, Ce-w aryl, C3-W cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, Ce-i4 aryl-Cj- 6 alkyl-, Cs-w cycloalkyi- Ci- 6 alkyl-, (5-14 membered heteroaryi) -Ci- 6 alkyl-, and (4-14 membered heterocycloalky 1)-Ci. & alkyi-;

each R h6 and R 16 is independently selected from H, Cj-e alkyl, Cj-b haloalkyl, C M alkenyl, C 2-6 alkynyl, C &-J 4 aryl, C3-1 4 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, Ce-w ary l-Ci- 6 alkyl-, C -i+ cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-;

each R j6 and R k6 is independently selected from OH, C -s alkoxy, and C i-ehaloalkoxy; or, any R j6 and R k6 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci-e alkyl and Ci- 6 haloalkyl; each R: 1 is independently selected from D, halo, oxo, C - 6 alkyl, C - 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, Caur cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce- aryl-C 1.5 alkyl-, C 3-14 cycloalky I-C 1-6 alkyl-, (5-14 membered heteroarv'l)-C 1-6 alkyl-, and (4-14 membered heteroeycloalkyl)-C [-s alkyl-, CN, NO2, OR a7 ,

0P(0)(0R h7 )(0R 17 ), P(0)(0R b7 )(0R 17 ), and BR j7 R t7 , wherein the Ci- 5 alkyl, C 2.s alkenyl, C 2.s alkynyl, Ct,-u aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4- 14 membered

heterocycloalkyl, Ce-w ary' l-Ci- 6 alkyl-, C -i+ cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky l)-Ci- 6 alkyl- of R J are each optionally substituted with 1, 2, 3, or 4 independently selected R K substituents;

each R a/ , R c ', and R d ' is independently selected from H, Ci- 6 alkyl, Ci- 6 haloalkyl, C2-6 alkenyl,€2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C 6 -i4 aiyl-Ci- 6 alkyl-, Cs-u cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaiyl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C ½ alkyl- wherein the Ci- 6 alkyl, C 2-6 alkenyl, C2-6 alkymyl, Ce-i+ aryl, Ci-n cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u ary l-Ci-e alkyl-, C3-14 cycloalkyl-Ci^ alkyl-, (5-14 membered heteroaiy'l)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C ½ alkyl- of R 3 ', R c , and R d/ are each optionally substituted with 1, 2, 3, or 4 independently selected R substituents; or any R c ' and R d/ attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1 , 2, 3, or 4 independently selected R substituents;

each R b? is independently selected from H, Ci-b alkyl, Cue haloalkyl, C2-6 alkenyl, C 2 -e alkynyl, C &-J 4 aryl, Cs-u cycloalkyl, 5-14 membered heteroaryl, 4- 14 membered heterocycloalkyl, Ce-w aryl-Ci-e alkyl-, Cj-i + cycloalkyl-Cj-e alkyl-, (5-14 memhered heteroaryl)-Cj- 6 alkyl-, and (4-14 membered heterocycloa3kyl)-Ci- 6 alkyl-, wherein the Cj- 6 alkyl, C2-6 alkenyl, C2-6 alkyny!, C &-K aryl, Cs- M cyeloalkyi, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CS- M ar l-Cw alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyi-, and (4-14 membered heterocycioalkyl)-Ci- 6 alkyl- of R fc7 are each optionally substituted with 1, 2, 3, or 4 independently selected R K substituents;

each R c/ is independently selected from H, OH, CN, Ci-e alkyl, C2-6 alkenyl, C3-6 alkoxy, Ci- 6 haloalkyl, Ci-ehaloalkoxy, C2-6 alkynyl, Ce-ir aryl, C3-34 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl;

each R 17 and R s? is independently selected from H, Ci- 6 alkyl, Cj-5 alkoxy, C M;

haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-i4 aiyl-Ci-e alkyl-, C3-14 cycloalkyl- Ci- 6 alkyl-, (5-14 membered heteroaiyll-Ci-g alkyl-, and (4-14 membered heterocycloalkyl)-Ci- s alkyl-;

each R h/ and R" is independently selected from H, Ci-s alkyl, C M haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&.34 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C M ar I-C1- & alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] - 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R J / and R*' is independently selected from OH, C 3-6 alkoxy, and Ci-ehaloalkoxy ; or, any R J ' and R k/ attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C3-6 alkyl and C [- 6 haloalkyl;

each R K is independently selected from H, D, OH, halo, oxo, CN, C(Q)OH, NH 2 ,

NO2, SF 5 , Cj- d alkyl, C·.5 alkoxy, Ci^haloalkoxy, C- .5 haloalkyl, C2-6 alkenyl,€2-5 alkynyl, C & - 14 aryl, C3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 inembered heterocycloalkyl, C S-M aiyl-Cj- 6 alkyl-, C3-14 cycloalky l-Ci- 6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl-; and

wherein any heteroaryl group of any of the above-recited substituents optionally comprises an N-oxide on any ring-forming nitrogen

in some embodiments,

X is N or CR ;

R 1 is selected from H, Cj- 6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, and C M haloalkyl;

R 2 is selected from H, D, halo, C 3 -6 alkyl, C3 -6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce- 1 aryl, C3-34 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-i4 aryi-C -6 alkyl-, C3- M cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaiyl)-C -6 alky 1-, (4-14 membered heterocycloalkyl)-C M alkyl-, CN, NO?, OR 32 , SR 32 , NHQR 32 , C(0)R b2 ,

CiOiNR· R : . C(0)NR c2 (0R a2 ), C(G)OR a2 , 0C(0)R b2 , 0C(0)NR c2 R d2 , X R R 12 .

N R· X R- ' 1 ' . NR c2 C(0)R b2 , NR c2 C(Q)GR 32 , NR c2 C(0)NR c2 R d2 , C< X R- ' iR 1" .

C(=NR e2 )NR c2 R d2 , NR c2 C(=NR e2 )NR c2 R d2 , NR c2 C(=NR e2 )R b \ NR c2 S(0)NR c2 R d2 ,

NR c2 S(0)R b2 , NR c2 S(0) 2 R b2 , NR c2 S(0)(=NR e2 )R b2 , NR c2 S(0) 2 NR c2 R d2 , S(0)R b2 ,

S(0)NR c2 R d2 , S(0) 3 R b2 , S(0) 2 NR c2 R d2 , 0S(0)(=NR e2 )R b2 , 0S(0) 2 R b2 , SF 5 , P(0)R fi R g2 , 0P(0)(0R M )(0R 12 ), R(0)(0K :,ί2 )(0K 12 ), and BR j2 R k2 , wherein the Ci -6 alkyl C M alkenyl C M alkynyl, C &.14 aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, CX-w aryl-Cs-6 alkyl-, C3-i 4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-C ] - 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R 2 are each optionally substituted with 1 , 2, 3, 4, 5, 6, 7, or 8 independently selected R c substituents;

R 3 is selected from H, D, halo, C M alkyl, C M haloalkyi, C M alkenyl, C M alkynyl, Ce- 14 and, C3.14 cycloalkyl 5-14 membered heteroaryl, 4-14 membered heterocycloalk l, Ce-14 aryd-C -6 alkyl-, C3-14 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, (4-14 membered heterocycloalkyl)-Ci.. 6 alkyl-, CN, NG 2 , OR a3 , SR 33 , NHGR a3 , C(0)R w ,

CiOiNR· R ; . C(0)NR c3 (QR a3 ), C(0)0R a3 , 0C(0)R b3 , 0C(0)NR c3 R d3 , N RdC.

NR c3 NR c3 R d3 , NR c3 C(0)R b3 , NR c3 C(0)GR a3 , NR c3 C(0)NR c3 R d3 , C(=NR e3 )R b3 ,

C(=NR e3 )NR c3 R d3 , NR c3 C(==NR e3 )NR c3 R d3 , NR c3 C(===NR e3 )R b3 , NR c3 S(0)NR c3 R d3 ,

NR c3 S(G)R b3 , NR c3 S(0) 2 R b3 , NR c3 S(0)(=NR e3 )R b3 , NR c3 S(0) 2 NR c3 R d3 , S(G)R b3 ,

S(0)NR e3 R d3 , S(0) 2 b3 , SiOi -N R- R d : . 0S(0)(=NR e3 )R b3 , OSiOi R b ; . SF 5 , P(Q)R a R g3 , 0P(0)(0R h3 )(0R i3 ), P(0)(0R h3 )(0R i3 ), and BR J3 R k3 , wherein the C alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, C 3-i 4 cycloalkyl, 5-14 membered heteroaiyl, 4-14 membered

heterocycloalkyl, Ce-w ary 1-CM alkyl-, C3-14 cycloalkyl-C alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C M alkyl- of R 3 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R !) substituents;

Cy 1 is C M 4 aryl, C J-M cycloalky 3, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl, wherein the Ce-u aryl C3-i 4 cycloalkyl, 5-14 membered heteroaiyl, or 4-14 membered heterocycloalkyl is optionally substituted with l, 2, 3, 4, 5, 6, 7, or 8 independently selected R E substituents;

provided that when X is N and Cy 1 is 4-14 membered heterocycloalkyl, then the 4-14 membered heterocycloalkyl of Cy ! is other than unsubstituted morpholinyl;

Cy 2 is Ce- H aryl, C 3- i4 cycloalkyl, 5-14 membered heteroaiyl, or 4-14 membered heterocycloalkyl, wherein the Ce-i 4 aryl, C3-14 cycloalky 1, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl is optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R b substituents;

each R a 6 R° 2 , R d2 , R a3 , R c3 , and R d3 is independently selected from H, Ci- 6 alkyl, Ci- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, C3 -14 cycloalkyl, 5-14 membered heteroaryl, 4- 14 membered heterocycloalkyl, C &-K aryl -Ci-s alkyl-, C 3-i 4cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci^ alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, wherein the Cj-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, CM* aryl, C3-W cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C &.J 4 ary l-Ci-s alkyl-, C 3-i 4cycloalkjd-Ci^ alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R a2 , R c2 , R d2 , R a3 , R c3 , and R d3 are each optionally substituted with 1 , 2, 3, 4, 5, 6, 7, or 8 independently selected R <J substituents;

or any R c2 and R d2 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1 , 2, 3, or 4 independently selected R 11 substituents;

or any R cJ and R d3 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R° substituents;

each R b2 , and R bJ is independently selected from H, Cs- 6 alkyl, Cs- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&-14 aryl, C3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CM* aiyl-C i-b alkyl-, C3-14 cycloalkyl-Cj-e alkyl-, (5-14 membered heteroaryi)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyi)~C 1-6 alkyl-, wherein the Ci-s alkyl,€2-5 alkenyl, C2- S alkynyl, C&-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, M * aryl-Ci-e alkyl-, C 3-i 4 cycloalkyl-C] -6 alkyl-, (5-14 membered heteroaryi)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky 1)-C 1.6 alkyl- of R° 2 and R b5 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R° substituents; each R” and R eJ is independently selected from H, OH, CN, C M alkyl, Ci^alkoxy,

C [-6 haloalkyl, C;i- f! haloa3koxy, C2-6 alkenyl, C2-6 alkynyl. CM* aiyl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-i4 aryl-Cj- 6 alkyl-, C 3-i cycloalkyl- Ci- 6 alkyl-, (5-14 membered heteroaryl) -Ci- 6 alkyl-, and (4-14 membered heterocycloalky 1)-Ci. & alkyd-;

each R f2 , R s3 , R f3 , and R s3 is independently selected from H, Ci- 6 alkyl, Ci-e alkoxyy Ci haloalkyl, Cj-ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyi, C &-J 4 aryl, C 3- u cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C M 4 ary l-Ci-6 alkyl-, C3-14 cycloalky 1- C [-6 alkyl-, (5-14 membered heteroaiyl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R h , R , R a3 , and R' 3 is independently selected from H, Ci. & alkyl, Ci. & haloalkyl, C2-6 alkenyl, C2-6 alkynyi, Ce-u aryl, C3-14 eycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci-e alkyl-, Cs-u cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryd)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C i-e alkyl-;

each R j2 , R k2 , R 3 , and R* 3 is independently selected from OH, Cwalkoxy, and Ci-e haloalkoxy;

or any R j2 and R K attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci- 6 alkyl and C 1-6 haloalkyl;

or any R j3 and R^ 3 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1 , 2, 3, or 4 substituents independently selected from Ci-e alkyl and C ue haloalkyl;

each R c , R D , R b , R f , and R° is independently selected from D, halo, oxo, Ci« alkyl, Ci- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyi, Ce-u aryl, C3-14 eycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u ary l-Ci- 6 alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, (4-14 membered heterocycloalky l)-Ci- 6 alkyl-, CN, N0 2 , OR 34 , SR a4 , NΊ iOR n C(0)R m , C(0)NR c4 R d4 , C(0)NR c4 (0R a4 ), C(0)0R a4 , 0C(0)R b4 , 0C(0)NR c+ R d+ , NR c4 R d4 , NR c4 NR c4 R d4 NR c4 C(0)R M , NR c4 C(0)GR 34 , NR c4 C(0)NR c4 R d4 ,

( ' ·; X R ' i R'i C(=NR e4 )NR c4 R d4 , NR c4 C(=NR e4 )NR c4 R d4 , NR c4 C(=NR e4 )R b4 , NR c4 S(0)R b4 , NR C4 S(0)NR C4 R 14 , NR c4 S(0) 2 R b4 , NR c4 S(0)(=NR e4 )R b4 , NR c4 S(0) 2 NR c+ R d4 , S(0)R w , S(0)NR e4 R d4 , S(0) 2 R b4 , S(0) 2 NR c+ R d4 , 0S(0)(-NR e4 )R b4 , 0S(0) 2 R M , SF 5 , P(0)R f4 R g4 , 0P(0)(0R M )(0R 4 ), P(0)(0R“ 4 )(0R i4 ), and BR 4 R k4 , wherein the CM alkyl, C2-6 alkenyl, C2-6 alkynyi, Ce-u aryl, C3-14 eycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-u ary 1-Ci-e, alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- of R c , R D , R 11 , R b , and R' J are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R h substituents;

each R 34 , R c4 , and R d4 is independently selected from H, Ci- 6 alkyl, Ci- 6 haloalkyl, C - & alkenyl, C 2-& alkynyi, CVu aryl, Cj-u eycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci- 6 alkyl-, Cs-u cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci^ alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl-, wherein the Ci-6 alkyl, C2-6 alkenyl, C2-6 a!kynyl, Ce-i + aiyl, C3-14 cycloalkyl, 5-14 membered heteroaiyl, 4-14 membered heterocycloalkyl, C -u aryl-Ci-e alkyl-, C3- M cycloalky 1-Ci-e alkyl-, (5-14 membered heteroatyl)-C 1-6 alkyl-, and (4-14 membered heteroeyeloalkyl)-Ci-s alkyl- of R a4 , R c4 , and R d4 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R h substituents;

or, any R c4 and R a4 attached to the same N atom, together with the N atom to which they are attached, optionally form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R M substituents;

each R w is independently selected from H, Ci- 6 alky l, Ci-e haloalkyi, C2-6 alkenyl, C2-0 alkynyl, Ce-w aryl, C3-H cycloalkyl, 5-14 membered heteroaiyl, 4-14 membered

heterocycloalkyl, Cg-ir aiyl-Ci-6 alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci.6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, wherein the Ci-e alkyl, C2-6 alkenyl, C2-6 alkynyl, C M aryl, Ci- K cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cs-w aryi-Cj-g alkyl-, C3-14 cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C i-e alkyl- ofR 04 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H substituents; each R e4 is independently selected from H, OH, CN, Ci..g alkyl, Ci..g alkoxy , Ci-g haloalkyi, Cj-ghaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Cg-k aryl, Cs-ir cycloalkyl, 5-14 membered heteroaiyl, 4-14 membered heterocycloalkyl, Cg-14 ary l-Ci- 6 alkyl-, C3..14 cycloalky 1- C [- 6 alkyl-, (5-14 membered heteroaryfi-Ci- alkyl-, and (4-14 membered heteroeycloalkyli-Ci- 6 alkyl-;

each R f4 and R 84 is independently selected from H, Ci-e alkyl, Ci- 6 alkoxy, Ci^ haloalkyi, Ci-ehaloalkoxj , C2-6 alkenyl, C2-6 alkynyl, Ca-u aryl, C3-i4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C & -u aryd-Ci-e alkyl-, C3-1 cycloalky 1- Ci- f, alkyl-, (5-14 membered heteroaryl) -Cj- 6 alkyl-, and (4-14 membered heterocyc!oalkyl)-Cj- 6 alkyl-;

each R h4 and R 14 is independently selected from H, Ci- 6 alkyl, C1-6 haloalkyi, C2-6 alkenyl, C 2-6 alkynyl, C&-14 aryl, C-t-u cycloalkyl, 5-14 membered heteroaiyl, 4-14 membered heterocycloalkyl, Ce-w ary l-Ci-6 alkyl-, C3-14 cycloalkyl-Cw alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycioalkyi)-Cs- 6 alkyl-;

each R·' 4 and R k4 is independently selected from OH, Cj-g alkoxy, and Ci-ghaloalkoxy; or, any R j4 and R k+ attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Cj- 6 alkyl and Cj- 6 haloalkyl; each R H is independently selected from D, halo, oxo, Ci- 6 alkyl, Ci- 6 haloalkyl, C 2-6 alkenyl, C 2-6 alkynyl, Ce-w aryl, Cj-w cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-ir aiyl-Ci-6 alkyl-, Cs-u cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, (4-14 membered keterocycloalkyl)-Ci-6 alkyl-, CN, NO2, OR 35 , SR 3" , NHOR a5 , C(0)R b5 , ( ' ;())>. R "' R ;i ". C(0)NR c5 (0R a5 ), C(0)0R a5 , 0C(0)R b5 , 0C(0)NR c5 R d5 , NR c5 R d5 , NR c5 NR c5 R d5 , NR c5 C(0)R b5 , NR c5 C(0)GR a5 , NR c5 C(0)NR c5 R d5 , C(===NR e5 )R b5 , C(=NR si )NR c5 R d5 , NR c5 C(=NR e5 )NR c5 R d5 , NR c5 C(=NR e5 )R b5 , NR c5 S(0)R bi ,

NR c5 S(0)NR c5 R d5 , NR c5 S(0) 2 R b5 , NR c5 S(0)(=NR e5 )R b5 , NR c5 S(0) 2 NR c5 R d5 , S(0)R b5 ,

SiOiN R ' R ! \ S(0) 2 R b5 , S(0) 2 NR c5 R d5 , 0S(0)(=NR e5 )R b5 , 0S(0) 2 R b5 , SF s , P(0)R f5 R g5 , 0P(0)(0R :,li )(0R 15 ), P(0)(0R !l5 )(0R l5 ), and BR 5 R k5 , wherein the C M alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C&-1 aryl, C3-14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-u aryl-C i-e alkyl-, C3-i4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky l)-Ci- 6 alkyl- of R 1 ! are each optionally substituted with 1, 2, 3, or 4 independently selected R 1 substituents;

each R 85 , R c5 , and R d> is independently selected from H, Ci-e alkyl, Ci-e haloalkyl, C2-6 alkenyl, C 2- e alkynyl, C<5-i4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-i4 aryl-Cj-e alkyd-, Cs-w cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci.6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, wherein the Ci-e alkyl, C 2-6 alkenyl, C 2-& alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Cj-e alkyl-, C3-14 cycloalky 1-Cw alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R 3> , R c5 , and R d5 are each optionally substituted with 1 , 2, 3, or 4 independently selected R 1 substituents; or any R ca and R d5 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1 , 2, 3, or 4 independently selected R 1 substituents;

each R b5 is independently selected from H, Cue alkyl. Cue haloalkyl, C 2-6 alkenyl, C 2-6 alkynyl, C&-14 aryl,€3-14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-u aryd-C i-e alkyl-, C3-.4 cycloalkyl-C] -6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl-, wherein the Ci- 6 alkyl, C 2 -e alkenyl, C 2 -e alkynyl, C &-J 4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci-e alkyl-, Ci-u cycloalkyl-C -6 alky' 1-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloa3kyl)-Ci-6 alkyl- of R 03 are each optionally substituted with 1, 2, 3, or 4 independently selected R 1 substituents;

each R e5 is independently selected from H, OH, CN, CM alkyl, Ci-e alkoxy, Ci- 6 haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ca-u aryl, C;-w cycloalkyi, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aiyl-Ci- 6 alkyl-, Cs-u cycloalkyi- CM, alkyl-, (5-14 membered heteroaryl) -C - 6 alkyl-, and (4-14 membered heterocycioalkyl)-C - 6 alkyl-;

each R 6 and R p is independently selected from H, Cm, alkyl, Ci«alkoxy, Ci- 6 haloalkyl, Ci- 6 haloalkoxy, C>;-s alkenyl, C2-6 alkynyl, C K aryl, C3- H cycloalkyl, 5-14 membered heteroary l, 4-14 membered heterocycloalkyl, C M 4 ary l-Ci- 6 alkyl-, C 3 -1 4 cycloalky 1- C [- 6 alkyl-, (5-14 membered he teroaryli-Ci- f , alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R tD and R 15 is independently selected from H, C alkyl, C M haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, Cj-w cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce- aryi-C 1.5 alkyl-, C3-1 cycloalky l-Ci-6 alkyl-, (5-14 membered

heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl-;

each R j5 and R k5 is independently selected from OH, Ci-salkoxy, and C -ehaloalkoxy; or, any R |5 and R to attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-mem bered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from CM alkyl and Ci- 6 haloalkyl;

each R ! is independently selected from D, halo, oxo, C , alkyl, C , haloalkyl, C2-6 alkenyl, C 2-6 alkynyl, Ce-u aryl, Cs-ucycloalkyi, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w ary 1-C M alkyl-, C3-14 eyeloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C ]-6 alkyl-, CN, N(¾, OR ab , SR ®6 , NHOR a5 , C(0)R b6 , C(0)NR c6 R d6 , C(G)NR c6 (OR a6 ). C(0)OR af> , OC(0)R b6 ,

0C(0)NR c6 R d6 , NR c6 R db , NR c6 NR c6 R d6 , NR c6 C(0)R b6 , NR c6 C(0)0R a6 , NR c6 C(0)NR c5 R d6 , C(=NR e6 )R b6 , C(=NR e6 )NR c6 R d6 , NR c6 C(=NR e6 )NR c6 R d6 , NR c6 C(=NR e6 )R b6 , NR c6 S(0)R b6 , NR c6 S(0)NR c6 R d6 , NR c6 S(0) 2 R b6 , NR c5 S(0)(=NR c5 )R b6 , NR c6 S(0) 2 NR c5 R d6 , S(0)R b6 , S(0)NR c6 R d6 , S(0) 2 R b6 , S(0) 2 NR c6 R d6 , 0S(0)(=NR e6 )R b6 , 0S(0) 2 K b6 , SF s , P(0)R f6 R s6 , 0P(0)(0R h6 )(0R l6 ), P(0)(0R b6 )(0R 6 ), and BR ,6 R k6 , wherein the C M alkyl, C 2-6 alkenyl, C2-6 alkynyl, Ca-u aryl, Cfr-w cycloalkyi, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-ir aiyl-Ci-6 alkyl-, Cs-u cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- of R l are each optionally substituted with 1 , 2, 3, or 4 independently selected R J substituents;

each R a5 , R c6 , and R d6 is independently selected from H, C i-s alkyl, C i-s haloalkyl, C 2-6 alkenyl, C 2 -s alkynyl, C&-14 aryl, C 3 .. 14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryd-C i-e alkyl-, C 3 -i 4 eyeloalkyl-Cj- 6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl-, wherein the Ci-s alkyl, C 2-6 alkenyl, C2-6 alkynyl, Ci.-u aryl, C J-M cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci-e alkyl-, Cs-u cycloalkyl-Cj-e alkyl-, (5-14 membered heteroaryi)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky i)-Ci- 6 alkyl- of R a5 , R CR , and R dR are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

or any R 06 and R dR attached to the same N atom, together with the N atom to winch they are attached, form a 5- or 6-membered heteroary l or a 4-14 membered heterocycloalkyl group, wiierein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

each R b6 is independently selected from H, Cj- 6 alkyl, Cj- 6 haloalkyl, C 2 -s alkenyl, C 2 -6 alkynyl, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered

heterocycloalkyl, Ce-w ary I-C1-& alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, wiierein the Cj-e alkyl, C2-6 alkenyl, C2-6 alkynyl, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, Cs-w aryi-Cj- 6 alkyl-, CVw cycloalkyl-C i-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C ½ alkyl- of R b6 are each optionally substituted with 1 , 2, 3, or 4 independently selected R:' substituents;

each R ®6 is independently selected from H, OH, CN, Ci-e alkyl, Cue lkoxy, Ci-e haloalkyl, Ci-ghaloalkoxy, C2-6 alkenyl, C 2 « alkynyl, Ce-n aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, Ce-u axyl-Ci-e alkyl-, C3-14 cycloalkyl- Ci- d alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alky 1-;

each R ® and R s ° is independently selected from H, Ci-e alkyl, Ci-e alkoxy, Ci-e haloalkyl, Cwehaloalkoxy, C2-6 alkenyl, C 2-f, alkynyl, Ce-w aryl, C3-W cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, Ce- 14 aryl-Cj- 6 alkyl-, Cs-w cycloalkyi- Ci- 6 alkyl-, (5-14 membered heteroaryi) -Ci- 6 alkyl-, and (4-14 membered heterocycloalky 1)-Ci. & alkyi-;

each R h6 and R 16 is independently selected from H, Cj-e alkyl, Cj-e haloalkyl, C 2 _6 alkenyl, C 2 -e alkynyl, C &-J 4 aryl, C3-14 cycloalkyl, 5-14 membered heteroary i, 4-14 membered heterocycloalkyl, Ce-w ary l-Ci^ alkyl-, Cs-i+ cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-;

each R j6 and R k6 is independently selected from OH, C -s alkoxy, and C i-ehaloalkoxy; or, any R j6 and R k6 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C -e alkyl and Ci- 6 haloalkyl; each R: 1 is independently selected from D, halo, oxo, C - 6 alkyl, C - 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce- aryl-C 1.5 alkyl-, C3-1 cycloalky I-C1-6 alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, and (4-14 membered heteroeyeloalkyl)-C i-s alkyl-, CN, NC¾, OR 37 ,

SR 37 , NHOR 37 , C(0)R b7 , C(0)NR c7 R d7 , C(0)NR c7 (0R a7 ), C(0)0R a7 , 0C(0)R b7 ,

OC (0)NR c7 R d7 , NR c7 R d7 , NR c7 NR c7 R d7 , NR c7 C(0)R b7 , NR c7 C(0)0R a7 , NR c7 C(0)NR c7 R d7 , C(=NR e7 )R b7 , C(=NR e7 )NR c7 R d7 , NR c7 C(=NR e7 )NR c7 R d7 , NR c7 C(=NR e7 )R b7 , NR c7 S(0)R b7 , NR c7 S(0)NR c7 R d7 , NR c7 S(0) 2 R b7 , NR c7 S(0)(=NR e7 )R b7 , NR c7 S(0) 2 NR c7 R d7 , S(0)R b? , S(())N R R ! . S(()) .R b S(0) 2 NR c7 R d7 , 0S(0)(=NR e7 )R b7 , 0S(0) 2 R b7 , Si· , . P(0)R i7 R g7 , 0P(0)(0R h7 )(0R 17 ), P(0)(0R b7 )(0R 17 ), and BR j7 R t7 , wherein the Ci- 5 alkyl, C 2 -& alkenyl, C 2.s alkynyl, C t, -u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4- 14 membered

heterocycloalkyl, Ce-w ary 1-C 1-6 alkyl-, C -ir cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky l)-Ci- 6 alkyl- of R J are each optionally substituted with 1, 2, 3, or 4 independently selected R K substituents;

each R a/ , R c ', and R d ' is independently selected from H, Ci- 6 alkyl, Ci-e haloalkyl, C2-6 alkenyl,€2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-ir aryl-Ci-6 alkyl-, Cs-u cycloalkyi-Ci-e alkyl-, (5-14 membered heteroatyl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- wherein the Ci- 6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C6-i4 aryl, Ci- H cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u ary l-Ci-e alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryd)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C i-e alkyl- of R 3 ', R c , and R d/ are each optionally substituted with 1, 2, 3, or 4 independently selected R * substituents; or any R c ' and R d/ attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1 , 2, 3, or 4 independently selected R substituents;

each R b? is independently selected from H, Ci- 6 alkyl, Ci- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ci.-n aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4- 14 membered heterocycloalkyl, Ce-u ary l-Ci-6 alkyl-, C -i + cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-C ] ^ alkyl-, and (4-14 membered heterocycloa3kyl)-Ci- 6 alkyl-, wherein the Cj-6 alkyl, C ? _- 6 alkenyl, C2-6 aikynyl, C &-K aryl,€3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CS- M ar l-Cw alkyl-, C3-14 cycloalkyl-Cs-e alkyl-, (5-14 membered heteroaryl)-Ci-6 aikyl-, and (4-14 membered heterocycloalkyl)-C ]-6 alkyl- of R fc7 are each optionally substituted with 1, 2, 3, or 4 independently selected R K substituents;

each R c/ is independently selected from H, OH, CN, C3-6 alkyl, C2-6 alkenyl, C3-6 alkoxy, Ci^haloalkyi, Ci-ehaloalkoxy, C 2-6 aikynyl, C 6 -i 4 aryl, C3-34 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl;

each R 17 and R s? is independently selected from H, Ci- 6 alkyl, Cs- 6 alkoxy, C M> haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl, C2-6 aikynyl, Ce- aryl, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C M 4 aiyl-Ci-e alkyl-, C 3-34 cycloalkyl- Ci- 6 alkyl-, (5-14 membered heteroaiyll-Ci-g alkyl-, and (4-14 membered heterocycloalkyl)-C ]. s alkyl-;

each R h/ and R 1 ' is independently selected from H, Ci-s alkyl, Ci-b haloalkyl, C2-6 alkenyl, C2-6 aikynyl, C &.24 aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w ar I-C1-& alkyl-, C3- 14 cycloalkyl-Cr-e alkyl-, (5-14 membered

heteroaryl)-C ] - 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R J / and R*' is independently selected from OH, C 3-6 alkoxy, and Ci-ehaloalkoxy ; or, any R J ' and R k/ attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C -6 alkyl and C - 6 haloalkyl;

each R K is independently selected from H, D, OH, halo, oxo, CN, C(0)0H, NH 2 ,

NO 2 , SF 5 , C - d alkyl, C·.5 alkoxy, Ci^haloalkoxy, C- .5 haloalkyl, C2-6 alkenyl,€2-5 aikynyl, C & - 14 aryl, C3U4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C S-M aiyl-C -6 alkyl-, C 3-i 4 cycloalky l-Ci- 6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C -6 alkyl-; and

wherein any heteroaryl group of any of the above-recited substituents optionally comprises an N-oxide on any ring-forming nitrogen.

In some embodiments,

X is CR :

R 1 is selected from H, C - 6 alkyl, C - 6 haloalkyl, C2-6 alkenyl, C2-6 aikynyl,€ 6 - aryl, Cb- 4 cycloalkyl, 5-14 membered heteroaryd, 4-14 membered heterocycloalkyl, Ce-ir aryi-C -e alkyl-, C 3- 3 4 cycloalkyl-Cs-e alkyl-, (5-14 membered heteroaryl)-C 3-6 alkyl-, (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, OR ai , C(0)R bl , C(0)NR cl R dl , C(0)0R al , C(=NR el )R bl , C(=NR e! )NR“ 'R d l , S(0)R bl , S(0)NR c l R dl , S(0) 2 R b l , and S;()i \R ' : R :I ; . wherein the Ci -6 aikyi, C‘ alkenyl, C2-6 alkynyl, C&- K axyl, C B-M cycloalkyl, 5-14 mem bered heteroaryl, 4-14 membered heterocycloalkyl, CS- M ar l-Cw alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 aikyl-, and (4-14 membered heterocycloalkyl)-C ]-6 aikyi- of R 1 are each optionally substituted with i, 2, 3, 4, 5, 6, 7, or 8 independently selected R d substituents;

R 2 is selected from H, D, halo, C - 6 alkyl, C - 6 haloalkyl, C 2-6 alkenyl, C2-6 alkynyl, C i4 aryl, Cs- cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C S-M aryl-Ci4s alkyl-, Cs-u cycloalky l-Ci- 6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, (4-14 membered heterocycloalkyl)-C ! -e alkyl-, CN, N<¾, OR 82 , SR 32 , NHOR 32 , C(0)R b2 ,

C(0)NR c2 R d2 , C(0)NR e2 (0R a2 ), C(0)0R a2 , 0C(0)R b2 , 0C(0)NR c2 R d2 , NR c2 R d2 ,

NR c2 NR c2 R d2 , NR c2 C(0)R b2 , NR c2 C(0)0R a2 , NR c2 C(0)NR c2 R d2 , C(=NR e2 )R b2 ,

C(=NR e2 )NR c2 R d2 , NR c2 C(=NR e2 )NR c2 R d2 , NR c2 C(=NR e2 )R b2 , NR c2 S(0)NR c2 R d2 ,

NR c2 S(0)R b2 , N R S;()i R K' . NR c2 S(0)(=NR e2 )R b2 , NR c2 S(0) 2 NR c2 R d2 , S(G)R b2 ,

S(0)NR c2 R d2 , S(0) 2 R b2 , S(0) 2 NR c2 R d2 , 0S(0)(=NR e2 )R b2 , 0S(0) 2 R b2 , Si· ', . P(0)R i2 R g2 , 0P(0)(0R h2 )(0R l2 ), P(0)(0R b2 )(0R 12 ), and BR j2 R k2 , wherein the C ; ,·. alkyl, ( ' ·,·, alkenyl, ( ' ·,·. alkynyl, C &-J 4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-w ary i-C 1-6 alkyl-, Ca-i + cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky l)-C 1.6 alkyl- of R · are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R substituents;

R ;i is selected from H, D, halo, Ci. & alkyl, Ci. & haloalkyl, C 2.. e alkenyl, C2-6 alkynyl, Ce- i4 aryl, C 3-34 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C M * aryl-C - 6 alkyl-, Cs- H cycloaikyl-C 1-6 alkyl-, (5-14 membered heteroaryi)~Ci- 6 alkyl-, (4-14 membered heterocycloalky l)-Ci- 5 alkyl-, CN, NO ... OR a3 , SR fr M )OR :: . C(0)R b3 ,

C(0)NR c3 R d3 , C(0)NR c3 (0R a3 ), C(0)0R a3 , 0C(0)R b3 , 0C(0)NR c3 R d3 . NR c3 R d3 ,

NR c3 NR c3 R d3 , NR c3 C(0)R b3 , NR c3 C(0)GR a3 , NR c3 C(G)NR c3 R d3 , C(===NR e3 )R h3 ,

C(=NR e3 )NR c3 R d3 , NR c3 C(=NR e3 )NR c3 R d3 , NR c3 C(=NR e3 )R b3 , NR c3 S(0)NR c3 R d3 ,

NR c3 S(0)R b3 , NR c3 S(0) 2 R b3 , NR c3 S(0)(-NR e3 )R b3 , NR c3 S(0) 2 NR c3 R d3 , S(0)R b3 ,

SiOiN R· R ;i . Si()) R h S(0) 2 NR c3 R d3 , 0S(0)(=NR e3 )R b3 , 0S(0) 2 R b3 , SF 5 , Pi())R " R " \ 0P(0)(0R n3 )(0R l3 ), P(0)(0R b3 )(0R L' '), and BR jJ R k3 , wherein the Ci-6 alkyl, C 2- 5 alkenyl, C 2-6 alkynyl, C&-14 aryl,€3-14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-u aryl-C i-b alkyl-, C3-i 4 cycloalkyl-C - 6 alkyl-, (5-14 membered heteroaryi)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyi)~C 1-6 alkyl- of R J are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R 17 substituents; Cy ! is Ce-w aiyl, Ca-u cycloalkyl, 5-14 membered heteroaryi, or 4-14 membered heterocycloalkyl, wherein the C 5-14 aryl, C3-! 4 cycloalkyl, 5- 14 membered heteroaryl, or 4-14 membered heterocycloalkyl is optionally substituted with 1 2, 3, 4, 5, 6 7, or 8 independently selected R substituents;

provided that Cy 1 is not pyridin-4-yl optionally substituted with 1, 2, 3, or 4 independently selected R' substituents;

provided that Cy ! is not pyrimidm-4-yl optionally substituted with 1, 2, or 3, independently selected R K substituents;

provided that Cy 1 is not quinolin-4-yl optionally substituted with 1, 2, 3, 4, 5, or 6 independently selected R E substituents;

Cy 2 is C b -14 aryl, C -w cycloalkyl, 5-14 membered heteroaryi, or 4-14 membered heterocycloalkyl, wherein the C 5-14 aryl, C3- M cycloalkyl, 5- 14 membered heteroaryi, or 4-14 membered heterocycloalkyl is optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R " substituents;

each R 31 , R ci , R d! , R 82 , R c2 , R d2 , R 33 , R 03 , and R ® is independently selected from H, Gi ¬ ft alkyl, Ci- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, C3-i 4 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, Ce-w ary l-C -6 alkyl-, C 3-14 cycloalky I-C 1-6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkylj-Ci-e alkyl-, wherein the Ci-e alkyl, C2-6 alkenyl, C2-6 alkynyl, Gs- 14 aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, Ce-w aryl-Ci alkyl-, C3-H cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryi)-Ci-s alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R a! , R cl , R ® , R 3 , R c2 , R d2 , R 83 , R", and R d ’ are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R° substituents;

or, any R ci and R dl attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryi or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryi or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R & substituents;

or any R c2 and R d2 attached to the same N atom, together with the N atom to winch they are attached, form a 5- or 6-membered heteroaryi or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryi or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R° substituents;

or any R c3 and R d3 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryi or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroary l or 4-14 membered heterocycloalkyl group is optionally substituted with 1 , 2, 3, or 4 independently selected R° substituents;

each R bl , R b2 , and R b3 is independently selected from H, C alkyl, C M haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&-14 aryl, C3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C M alkyl-, Ci- H cycloalkyl-C M alkyl-, (5-14 membered heteroaryi)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyi)~C 1-6 alkyl-, wherein the C alkyl, C2-6 alkenyl, C2-6 alkynyl, Ci.-u aryd, C3-14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cs-ir aryl-Ci-e alkyl-, Ch- M cycioalkyl-C M alkyl-, (5-14 membered heteroaryi)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky i)-Ci- 6 alkyl- of R Bi , R b2 , and R b ’ are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R° substituents;

each R el , R e2 , and R e is independently selected from H, OH, CN, C1-6 alkyl. C M alkoxy, C M haloalkyl, Cj-ehaioalkoxy, C2-6 alkenyl, C2-6 alkynyl, Cs-ir aryl, C 3-i4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalk l, Ce-u aryl-C M lkyl-, C3 -14 cycloalkyl-Ci- 6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci.6 alkyl-;

each R g , R g , R fi , and R g3 is independently selected from H, CM alkyl. CM alkoxy, C haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryd, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C alkyl-, C 3. H cycloalky 1- Cj-e alkyd-, (5-14 membered heteroaryl)-C ]-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- s alkyl-;

each R llZ , R l2 , R 03 , and R 1 is independently selected from H, C M alkyl. C M haloalkyl, C2-6 alkeny l, C M alkynyl, Ce-u aryd, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalky 1, Cs-o aryl-C M alkyl-, C3-14 cycloalkyl-C M alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyi-, and (4-14 membered heterocycioalkyl)-Ci- 6 alkyl-;

each R·' 3 , R k2 , R jJ , and R k is independently selected front OH, C M alkoxy, and C M haloalkoxy;

or any R j2 and R K attached to the same B atom, together wdth the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted wdth 1, 2, 3, or 4 substituents independently selected from C M alkyl and C M haloalkyl;

or any R JJ and R b ’ attached to the same B atom, together with the B atom to wdtich they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selec ted from C M alky l and C M haloalkyl; each R b , R c , R d , R b , R f , and R° is independently selected from D, halo, oxo, Ci-e alkyl, Ci- & haloalkyl, C 2-6 alkenyl, C2-6 alkysiyl, C H aryl, C3- H cyeloalkyl, 5-14 membered heteroatyl, 4-14 membered heteroeyeloaikyl, Ce-w aiyl-Ci-6 alkyl-, C3- H cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryi)-Ci-6 alkyl-, (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, CN, N0 2 , OR a4 , SR a4 , NHOR 34 , C(0)R b4 , C(0)NR c4 R d4 , C(0)NR c4 (0R a4 ), C(0)0R a4 , 0C(0)R b4 , 0C(0)NR c4 R d4 , NR c4 R d+ , \ R ; i N k ' : R d : NR c4 C(0)R w , R c4 C(0)0R a4 , NR c4 C(0)NR e4 R d4 , C(=NR e4 )R M , C (=NR e4 )NR c4 R d4 , NR c4 C(=NR e4 )NR c4 R d4 , NR c4 C(=NR e4 )R b4 , NR e4 S(0)R M , NR c4 S(0)NR c4 R d4 , NR c4 S(0) 2 R b4 , NR c4 S(0)(=NR e4 )R b4 , NR c4 S(0) 2 NR c R d4 , S(0)R b4 , S(0)NR c4 R d4 , S(()j R h l . S(0) 2 NR c4 R d4 , 0S(0)(===NR e4 )R b4 . 0S(0) 2 R b4 , SF 5 , P(0)R f4 R 84 , 0P(0)(0R n4 )(0R I+ ), P(0)(0R M )(0R 14 ), and BR j R k4 , wherein the Ci-6 alkyl, C 2-6 alkenyl, C 2 -e alkynyl, Ce- aryl, C 3-i 4 cyeloalkyl, 5-14 membered heteroaryl, 4-14 membered

heteroeyeloaikyl, CM* aiy r l-C i-b alkyl-, C3-14 cycloalkyl-Cj-e alkyl-, (5- 14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)~C 1-6 alkyl- of R B , R c , R D , R\

R\ and R° are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H substituents;

each R a4 , R c+ , and R d4 is independently selected from H, Ci- & alkyl, Ci- & haloalkyl, C 2.. e alkenyl, C 2-6 alkynyl, Ci.-u aryl, C -u cyeloalkyl, 5-14 membered heteroaryl, 4-14 membered heteroeyeloaikyl, Ce-w ary 1-C 1-6 alkyl-, C 3-i 4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky l)-Ci- 6 alkyl-, wherein the Ci. & alkyl, C 2- e alkenyl, C 2- e alkynyl, C6-i4 aryl, C 3-i 4 cyeloalkyl, 5-14 membered heteroaryd, 4-14 membered heteroeyeloaikyl, C S-M aryl-Cw alkyl-, C3.14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky 1)-Cw alkyl- of R a4 , R c4 , and R d4 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R 11 substituents;

or, any R c4 and R d4 attached to the same N atom, together with the N atom to which they are attached, optionally form a 5- or 6-membered heteroaryd or a 4-14 membered heteroeyeloaikyl group, wherein the 5- or 6-membered heteroaryd or 4-14 membered heteroeyeloaikyl group is optionally substituted with 1, 2, 3, or 4 independently selected R d substituents;

each R b4 is independently selected from H, Cue alkyl. Cue haloalkyl, C 2-6 alkenyl, C 2-& alkynyl, C&-14 aryl,€3-14 cyeloalkyl, 5-14 membered heteroaryl, 4-14 membered

heteroeyeloaikyl, CM* aryl-C i-b alkyl-, C3-i4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl-, wherein the Ci-s alkyl, C 2-6 alkenyl, C2-6 alkyny l, Ci.-u aryl, C -u cyeloalkyl, 5-14 membered heteroaryd, 4-14 membered heterocycloalkyl, Cs-ir aiyl-Cw alkyl-, Ci-u cycloalkyl-Cw alky' 1-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloa3kyl)-Ci-6 alkyl- of R B4 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R ri substituents; each R e4 is independently selected from H, OH, CN, Cw alkyl, Cw alkoxy, Ci- 6 haloalkyl, Cwhaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ca-u aryl, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-ir aiyl-Ci- 6 alkyl-, Cs-u cycloalkyi- Cw alkyl-, (5-14 membered heteroaryl) -C - 6 alkyl-, and (4-14 membered heterocycioalkyl)-C - 6 alkyl-;

each R f4 and R 8 * is independently selected from H, Cm, alkyl, Cwalkoxy, Ci- 6 haloalkyl, Cwhaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C K aryl, C 3-i 4 cycloalkyl, 5-14 membered heteroary l, 4-14 membered heterocycloalkyl, C M 4 ary' i-C 1-6 alkyl-, C 3-i 4 cycloalky 1- C - 6 alkyl-, (5-14 membered heteroaryli-Ci- f , alkyl-, and (4-14 membered heterocycloaikyli-Ci- 6 alkyl-;

each R h4 and R l4 is independently selected from H, Ci. & alkyl, Ci. & haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, Cj-w cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce- aryl-C 1.5 alkyl-, Cs-u cycloa kyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl-;

each R j4 and R“ 4 is independently selected from OH, Cwalkoxy, and Cwhaloalkoxy; or, any R |4 and R k4 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-mem bered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Cw alkyl and Ci- 6 haloalkyl;

each R H is independently selected from D, halo, oxo, Cw alkyl, Cw haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, C 3- u cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w ary l-Cw alkyl-, C 3-14 cycloalkyl-Cw alkyl-, (5-14 membered heteroaryl)-Cw alkyl-, (4-14 membered heterocy oalky -Cw alkyl-, CN, NO2, OR 35 , SR a5 , NHOR a5 , C(0)R b5 , C(0)NR c5 R d5 , C(0)NR c5 (0R a5 ), C(0)0R 35 , 0C(0)R bs , 0C(0)NR c5 R d5 . NR c5 R d5 , NR c5 NR c5 R d5 , NR c5 C(0)R bs , NR c5 C(0)0R 35 , NR c5 C(0)NR c5 R d5 , C(=NR eS )R b5 , C(=NR e5 )NR c5 R d5 , NR c5 C(=NR e5 )NR c5 R d5 , NR c5 C(=NR e5 )R b5 , NR c5 S(0)R b5 ,

NR c5 S(0)NR c5 R d5 , N R- ' SiOyR 1" . NR c5 S(0)(-NR c5 )R b5 , NR c5 S(0) 2 NR c5 R d5 , S(0)R b5 , S(0)NR c5 R d5 , S(0) .R !"' . S(0) 2 NR c5 R d5 , 0S(0)(=NR e5 )R b5 , 0S(0) 2 R bs , SF s , P(0)R fi R gi , 0P(0)(0R h5 )(0R l5 ), P(0)(0R a5 )(0R 5 ), and BR j5 R k: , wherein the Cw alkyl, C 2-6 alkenyl, C2-6 alkynyl, Ca-u aryl, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-ir aiyl-Ci-6 alkyl-, Cs-u cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-C]-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R fl are each optionally substituted with 1 , 2, 3, or 4 independently selected R* substituents;

each R a5 , R c5 , and R d5 is independently selected from H, C i-s alkyl, Ci-s haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&-14 aryl, C3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryd-C i-e alkyl-, C3-i4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl-, wherein the Ci-s alkyl, C 2-6 alkenyl, C 2-6 alkynyl, Ci.-u aryl, C J-M cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci-e alkyl-,€3-54 cycloalkyl-Cj-6 alky' 1-, (5-14 membered heteroaryi)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky i)-C 1.6 alkyl- of R a5 , R c> , and R ds are each optionally substituted with 1, 2, 3, or 4 independently selected R 1 substituents;

or any R 05 and R da attached to the same N atom, together with the N atom to winch they are attached, form a 5- or 6-membered heteroary l or a 4-14 membered heterocycloalkyl group, wirerein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R ! substituents;

each R to is independently selected from H, Cj- 6 alkyl, Cj- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, C w ary I-C1- & alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] - 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, wirerein the Cj-e alkyl, C2-6 alkenyl, C2-6 alkynyl, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cs-w aryl-Ci-e alkyl-, CVw cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C ½ alkyl- of R b5 are each optionally substituted with 1 , 2, 3, or 4 independently selected R 1 substituents;

each R e5 is independently selected from H, OH, CN, Ci-e alkyl, Ci-e alkoxy, Ci-e haloalkyl, Ci-ehaioalkoxy, C2-6 alkenyl,€2-5 alkynyl, C G-M aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u axyl-Ci-e alkyl-, Cj-w cycloalkyl- Ci- d alkyl-, (5-14 membered heteroaryi)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alky 1-;

each R f5 and R 85 is independently selected from H, Ci-e alkyl Ci-ealkoxy, Ci-e haloalkyl, Ci-ehaloalkoxy, C2-6 alkeny l, Ci-t, alkynyl, Ce-w aiyl, C3- W cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ob- aryl-Cj- 6 alkyl-, Cs-w cycloalkyi- Ci- 6 alkyl-, (5-14 membered heteroaryl) -Ci- 6 alkyl-, and (4-14 membered heterocycloaikyl)-Ci- & alkyi-;

each R 115 and R 15 is independently selected from H, Cj-e alkyl, Cj-b haloalkyl, C2-6 alkenyl, C 2-6 alkynyl, C &-J 4 aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w ary i-Ci-6 alkyl-, C -i + cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-C ] ^ alkyl-, and (4-14 membered heterocycloa3kyl)-Ci-6 alkyl-;

each R Ji and R ° is independently selected from OH, C -salkoxy, and Ci-ehaloalkoxy; or, any R jd and R k5 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci-e alky l and Ci- 6 haloalkyl;

each R l is independently selected from D, halo, oxo, Ci-e alkyl, Ci-e haloalkyl, C2-6 alkenyl, C2-6 a!kynyl, Ce-u aryl, Caur cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce- aryl-C 1-5 alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-14 membered

heteroaryl)-C 1-6 alkyl-, and (4-14 membered heteroeyeloalkyi)-Ci-s alkyl-, CN, N0 2 , OK a5 , SR 36 , NHOR a6 , C(0)R b6 , C(0)NR c6 R d6 , C(0)NR c6 (0R a6 ), C(0)OR a6 , OC(0)R b6 ,

OC (Q)NR c6 R d6 , \ R : R !: \ NR c6 NR c6 R d6 , NR c6 C(0)R b6 , NR c6 C(0)0R a6 , NR c6 C(0)NR c5 R d6 , C(=NR e6 )R b6 , C(=NR e6 )NR c6 R d6 , NR c6 C(=NR e6 )NR c6 R d6 , NR c6 C(=NR e6 )R b6 , NR c6 S(0)R b6 , NR c6 S(G)NR c6 R d6 , NR c6 S(0) 2 R b5 , NR c6 S(0)(===NR i:6 )R b6 , NR c6 S(0) 2 NR c6 R d6 , S(0)R b6 ,

S(0)NR c6 R d6 , S(0) 2 R b6 , S(0) 2 NR c6 R d6 , 0S(0)(=NR e6 )R b6 , 0S(0) 2 R b6 , St· , . P(0)R i6 R g6 , 0P(0)(0R h5 )(0R l6 ), P(0)(0R b6 )(0R 16 ), and BR j6 R t6 , wherein the C ; ,·. alkyl, ( ' ·,·. alkenyl, C 2.5 alkynyl, Ci.-n aryl, C B-M cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-w ary i-Ci- 6 alkyl-, Ca-i + cycloalkyl-C -e alkyl-, (5-14 membered

heteroaryi)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky i)-C 1.6 alkyl- of R 1 are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

each R a6 , R cf> , and R d6 is independently selected from H, Ci- 6 alkyl, Ci- 6 haloalkyl, C 2.6 alkenyl, C 2-& alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-ir aryl-Ci-6 alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-14 membered

heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, wherein the Che alkyl, C 2-& alkenyl, C 2-& alkynyl, C M aryl, Ci- K cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cs-w aryl-Ci^ alkyl-, C3-14 cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci^ alkyl-, and (4-14 membered heterocycloalkyl)-C ue alkyl- of R ao , R c6 , and R d6 are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents; or any R CR and R d6 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1 , 2, 3, or 4 independently selected R 1 substituents;

each R b6 is independently selected from H, Ci- 6 alkyl, Cue haloalkyl, C 2-6 alkenyl, C2-6 alkynyl, C &-J 4 aryl, C B-M cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, 65- 14 ary 1-6 i-e alkyl-, C -i + cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-C ] ^ alkyl-, and (4-14 membered heterocycloa3kyl)-Ci- 6 alkyl-, wherein the C - 6 aikyi, alkenyl, C 2-6 alkyny!, 5-14 aryl,€ 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, 65- 14 ar l-Cw alkyl-, C 3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 aikyl-, and (4-14 membered heterocycloalkyl)-C ]-6 aikyi- of R b6 are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

each R e6 is independently selected from H, OH, CN, Ci-e alkyl, Ci-e alkoxy, Ci- & haloalkyl, Ci-ehaioalkoxy', 6 2-5 alkenyl, C 2-6 alkynyl, 6 5-14 aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, 6 5-14 aryl-6 1-5 aikyi-, C 3-14 cycloalky 1- 6 1 -5 alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-C ] - 6 alkyl-;

each R f6 and R g6 is independently selected from H, Ci-e alkyl, Ci-e alkoxy, Ci- & haloalkyl, C -ehaloalkoxy, C 2-6 alkenyl, 6 2-5 alkynyl, 6 5-14 aryi, 6 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, 6 5-14 ary l-Ci- 6 alkyl-, C 3..14 cycloalky 1- C i-6 alkyl-, (5-14 membered heteroaryl)-6i-s alkyl-, and (4-14 membered heterocycloalkyl)-C i- 6 alkyl-;

each R h6 and R l6 is independently selected from H, C - 6 alkyl, 6 1-5 haloalkyl, C 2-6 alkenyl, C 2-6 alkynyl, 6 5-14 aryl, 6 3 -1 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, 5- 1 aryl-6 1.5 alkyl-, C 3-14 cycloalky l-Ci-6 alkyl-, (5-14 membered heteroarvd)-C 1-6 alkyl-, and (4-14 membered heteroeyeloalkyl)-Ci-s alkyl-;

each R Jf> and R* 6 is independently selected from OH, Ci-ealkoxy, and Ci-ehaloalkoxy; or, any R j6 and R kb attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalky 1 group optionally substituted with 1, 2, 3, or 4 substituents independently selected from 61- 5 alkyl and Ci- 6 haloalky l;

each R J is independently selected from D, halo, oxo, Ci- 6 alkyl, 6 1-5 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, 6 5.14 aryd, 6 3-1 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, 5-14 ar l-Cw alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered

heteroaryl)-6 ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-6i-6 alkyl-, 6N, N ( ¾, OR a/ , SR a? , NHOR 87 , 6(0)R b7 , C(0)NR c7 R d7 , 6(0)NR c7 (0R a7 ), C(0)0R* 7 , 06(0)R b7 ,

0C(0)NR c7 R d7 , NR c7 R d7 , NR c7 NR c7 R d7 , NR c7 6(0)R b7 , NR c7 C(0)0R a7 , NR c7 6(0)NR c7 R d7 , C(=NR e7 )R b7 , 6(=NR c7 )NR c7 R d7 , NR c7 6(===NR e7 )NR c7 R d? , NR c7 6(===NR e7 )R b7 , NR c7 S(0)R fc7 , NR c7 S(0)NR c7 R d7 , NR c7 S(0> 2 R b7 , NR c7 S(0)(=NR e7 )R b7 , NR c7 S(0) 2 NR c7 R d7 , S(0)R b7 , S(0)NR c7 R d7 , S(0) 2 R h7 , S(0) 2 NR c7 R d? , 0S(0)(=NR e7 )R b7 , 0S(0) 2 R b7 5 SF s , P( () )K Rf . 0P(0)(0R h7 )(0R i7 ), P(0)(0R h7 )(0R’ 7 ), and BR% k7 , wherein the C M alkyl, 6 2,5 alkenyl, 6 2,5 alkynyl, Ce- aryl, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, C M * aiyl-Ci-e alkyl-, C3-14 cycloalkyl-Cj-e alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, and (4-14 membered heteroeycloalkyl)-Ci-s alkyl- of R J are each optionally substituted with 1, 2, 3, or 4 independently selected R K substituents;

each R a7 , R c7 , and R d is independently selected from H, Cj- 6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C 2-6 alkynyl, Ce-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C M * ar I-C1-& alkyl-, C3-14 cycloalkyl-Cw alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- wherein the C1-6 alkyl, C 2-& alkenyl, C 2 « alkynyl, Ce-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C w ary l-Ch-s alkyl-, C 3-i 4 cycloatkyl-C] -6 alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- of R a ', R c/ , and R d? are each optionally substituted with 1, 2, 3, or 4 independently selected R substituents; or any R c/ and R d7 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R K substituents;

each R b7 is independently selected from H, Ci-e alkyl, Ci-e haloalkyl, C2-6 alkenyl, C 2-6 alkynyl, Ce- aryd, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce- aryl-C 1.5 alkyl-, C3-14 cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryd)-C 1-6 alkyl-, and (4-14 membered heterocycloalkylVC i-s alkyl-, wherein the Ci-s alkyl, C 2 - s alkenyl, C 2 -s alkynyl, C&-14 aryd, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cg-w aryl-Ci-e alkyl-, C 3 -u cycloalk l-Ci-d alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl- of R 0/ are each optionally substituted with 1, 2, 3, or 4 independently selected R K substituents;

each R s ' is independently selected from H, OH, CN, Ci-e alkyl, C2-6 alkenyl, C 1-6 alkoxy, Ci. & haloalkyl, Cj-shaloalkoxy, C 2 -e alkynyl, Ce-ir aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl;

each R f? and R g/ is independently selected from H, Ci-e alkyl, Cue alkoxy, Ci-e haloalkyl, C;i- f! haloalkoxy, C 2-6 alkeny l, C 2-& alkynyl, Ce-w aiyl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl,€b- aryl-Cj- 6 alkyl-, Cs-w cycloalkji- Ci- 6 alkyl-, (5-14 membered heteroaryl) -C1-6 alkyl-, and (4-14 membered heterocycloalky 1)-Ci. & alkyd-;

each R h? and R 1 ' is independently selected from H, Ci-g alkyl, Cj^ haloalkyl, C 2-6 alkenyl, C 2 -e alkynyl, C &-J 4 aryd, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

J2 heterocycloalkyl, Ce-w ary 1-C 1-6 alkyl-, Cj-i + cycloalkyl-Cj-e alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalky 1)-Cw alkyl-;

each R j7 and R k ' is independently selected from OH, Cj-salkoxy, and Ci-shaloalkoxy; or, any R j ' and R k/ attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci-e alkyl and Ci-e haloalkyl;

each R is independently selected from H, D, OH, halo, oxo, CN, C(0)0H, NH 2 , NO2, SFs, Cj- 6 alkyl, Cj-e alkoxy, Ci-ehaloalkoxy, Cj-e haloalkyl, C2-6 alkenyl, C 2 -e alkynyl, Ce ¬ l aryl, C B-M cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalky 1, Ce-u aryl-Ci- 6 alkyl-, CVw cyctoalkyl-Ci-e alkyl-, (5-14 membered heteroaryi)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-; and

wherein any heteroaryl group of any of the above-recited substituents optionally comprises an N-oxide on any ring-forming nitrogen.

In some embodiments,

X is CR 3 ;

R ! is selected from H, Ci-b alkyl, C2-6 alkenyl, C2-6 alkynyl, and Ci-b haloalkyl;

R 2 is selected from H, D, halo, Cj- 6 alkyl, Cj- 6 haloalkyl, C2.-6 alkenyl, C2-6 alkynyl, CV i4 aryl, Cs-w cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CX- M aryl-Ci- 6 alkyl-, Cs-u cycloalky l-Ci- 6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, (4-14 membered heterocycloalkyl)-C !-e alkyl-, CN, N<¾, OR 82 , SR 32 , NHOR 32 , C(0)R b2 ,

C(0)NR c2 R d2 , C(0)NR c2 (0R a2 ), C(0)0R a2 , 0C(0)R b2 , 0C(0)NR c2 R d2 , NR c2 R d2 ,

NR c2 NR c2 R d2 , NR c2 C(0)R b2 , NR c2 C(0)0R a2 , NR c2 C(0)NR c2 R d2 , C(=NR e2 )R b2 ,

C(=NR e3 )NR c2 R d2 , NR c3 C(=NR e2 )NR c2 R d2 , NR c2 C(=NR e2 )R b2 , NR c2 S(0)NR c2 R d2 ,

NR c2 S(0)R b2 , N R S;()i R K' . NR c2 S(0)(=NR e2 )R b2 , NR c2 S(0) 2 NR c2 R d2 , S(0)R b2 ,

S(0)NR c2 R d2 , S(0) 2 R b2 , S(0) 2 NR c2 R d2 , 0S(0)(=NR e2 )R b2 , 0S(0) 2 R b2 , Si· ', . P(0)R i2 R g2 , 0P(0)(0R il2 )(0R 2 ), P(0)(0R b2 )(0R l2 ), and BR j2 R k2 , wherein the C ; ,·. alkyl, ( ' ·,·. alkenyl, ( ' ·,·. alkynyl, C t, -u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-w aryl-Ci-6 alkyl-, Cj-i + cycloalkyl-Cj-e alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalky 1)-Cw alkyl- of R · are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R substituents;

R 3 is selected from H, D, halo, Ci. & alkyl, Ci. & haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce- i 4 aiyl,€3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CV14 aryl-Ci- 6 alkyl-, C S-H cycloalky l-C 1-6 alkyl-, (5-14 membered heteroaryl)~Ci- 6 alkyl-, (4-14 membered heterocy cloalkyl)-C 1-6 alkyl-, CN, N0 2, OR a3 , SR a3 , NHOR a3 , C(0)R b3 ,

0P(0)(0R h3 )(0R l3 ), P(0)(0R b3 )(0R l3 ), and BR j3 R k3 . wherein the Ci-e alkyl, C 2-6 alkenyl, C 2-6 alkynyl, Ci.-n aryl, C B-U cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-w ary l-Ci- 6 alkyl-, C -i + cycloalkyl-C -e alkyl-, (5-14 membered heteroaryi)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky i)-Ci- 6 alkyl- of R 3 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R 13 substituents;

Cy ! is Ce-w aryl, C -u cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl, wherein the C 5-14 aryl, C 3-! 4 cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl is optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R or R M substituents;

Cy 2 is Ce-w aryl, C B-M cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl, wherein the Ce-w aryl, C 3 -i 4 cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl is optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R r substituents;

each R 3i , R c \ R d2 , R aJ , R c3 , and R d3 is independently selected from H, C . 6 alkyl, C . 6 haloalkyl, C2-6 alkenyl, C 2-6 alkynyl, Cs-n aryl, Cs-wcycloalkyl, 5-14 membered heteroaryl, 4- 14 membered heterocycloalkyl, C< 5 -i 4 ary l-Ci-6 alkyl-, C 3-14 cycloalky 1-Cw alkyl-, (5-14 membered he ternary l)-Ci- & alkyl-, and (4-14 membered heterocycloalkyl)-Cw alkyl-, wherein the C - 6 alkyl, C 2 -g alkenyl, C 2-6 alkynyl, Ce-u aryl, C 3 -i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C &.14 ary l-Ci-6 alkyl-, C 3-14 cycloalky 1-Cw alkyl-, (5-14 membered heteroaryl) -Cs-6 alkyl-, and (4-14 membered heteroeyeloalkyi)~Cs-6 alkyl- of R ®2 , R c2 , R d2 , R aJ , R° 3 , and R d3 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R & substituents;

or any R c2 and R d2 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroary l or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R° substituents;

or any R c3 and R d3 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroary l or 4-14 membered heterocycloalkyl group is optionally substituted with 1 , 2, 3, or 4 independently selected R° substituents;

each R fc2 and R b3 is independently selected from H, Ci-e alkyl, Ci-e haloalkyl, C 2-6 alkenyl, C2-6 alkynyl, C&-14 aryl, C3..14 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, Ce-u aryl-C i-e alkyl-, C3-i 4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryi)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyi)~C 1-6 alkyl-, wherein the Ci-s alkyl, C2-6 alkenyl, C2-6 alkynyl, Ci.-u aryd, C3-14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci-e alkyl-, Cs-u cycloalkyl-Cj-e alkyl-, (5-14 membered heteroaryi)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky i)-C 1.6 alkyl- of R B2 and R b ’ are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R° substituents; each R” and R eJ is independently selected from H, OH, CN, C M alkyl, Ci^alkoxy,

C i-b haloalkyl, C;i- f! haloa3koxy, C2-6 alkeny l, C2-6 alkynyl, Ce-w aryl, C3- M cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-i4 aryl-Ci- 6 alkyl-, C3-14 cycloalky 1- Ci- 6 alkyl-, (5-14 membered heteroaryl) -C1-6 alkyl-, and (4-14 membered heterocycloalky 1)-Ci. & alkyd-;

each R f2 , R g3 , R f3 , and R g3 is independently selected from H, Ci-b alkyl, Ci-e alkoxy, Ci- f .haloalkyl, Cj-ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C &-J 4 aryl, Cs-u cycloalkyl, 5-14 membered heteroary l, 4-14 membered heterocycloalkyl, C M 4 ary l-Ci- 6 alkyl-, C3-14 cycloalky 1- Ci- d alkyl-, (5-14 membered heteroaiyi)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R h2 , R 12 , R“ 3 , and R l3 is independently selected from H, Ci. & alkyl, Ci-ehaloalkyl, C2-6 alkenyl, C2-6 alkynyl, C &-J 4 aryd, C3-14 cycloalkyl, 5-14 membered heteroary l, 4-14 membered heterocycloalkyl, Ce-u aryl-Cj-e alkyl-, C3-14 cycloalky 1-Cw alkyl-, (5-14 membered heteroaryl)-Ci.6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-;

each R j2 , R k2 , R , and R K3 is independently selected from OH, Ci-e alkoxy, and Ci- 6 haloalkoxy;

or any R |2 and R K attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci-e alkyl and Ci-eha!oalky!;

or any R j3 and R^ 3 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1 , 2, 3, or 4 substituents independently selected from C -.-e alkyd and Ci-shaloalkyl;

each R c , R D , R b , R M , R f' , and R° is independently selected from D, halo, oxo, C1-6 alkyl, Ci-e haloalkyl, C3-6 alkenyl, C2-6 alkynyl, C M * aryl, C3-14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C &.J4 ary l-Ci-6 alkyl-, Cs-ir cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl) -Ci .. 6 alkyl-, (4-14 membered heterocycloalkyl)-Ci^, alkyl-, CN,

0P(0)(0R M )(0R 14 ), P(0)(0R M )(0R i4 ), and BR¾ k4 , wherein the Ci -6 alkyl C 2-6 alkenyl C 2-6 alkynyl, C &.14 aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-i4 aryl-C -6 alkyl-, Cs-w eyeloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R c , R D , R“, R M , R r , and R° are each optionally substituted with 1 , 2, 3, 4, 5, 6, 7, or 8 independently selected R ri substituents;

each R a4 , R c4 , and R d4 is independently selected from H, Ci- 6 alkyl, Ci- 6 haloalkyl, C 2.6 alkenyl, C 2-6 alkynyl, Ce-u aryl, Cj-w cycloalkyl 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C 1.5 alkyl-, C3-14 cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryd)-Ci-6 alky!-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl-, wherein the Ci-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, Ce-u aiyi, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci- 6 alkyl-, C3-14 cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, and (4-14 membered heteroeyeloalkyl)-C i-s alkyl- of R a4 , R c4 , and R d4 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R ;tl substituents;

or, any R c4 and R a4 attached to the same N atom, together with the N atom to which they are attached, optionally form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, -wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R H substituents;

each R w is independently selected from H, Ci-6 alkyl, Ci-6 haloalkyl, C 2 -6 alkenyl, C2-6 alkynyl, Ce-u aryl, C3- W cycloalkyl, 5-14 membered heteroaryl 4-14 membered

heterocycloalkyl, C 6 -i4 aryl-C - 6 alkyl-, Cs-w cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, -wherein the Ci- 6 alkyl, C 2-& alkenyl, C 2-& alkynyl, C u aryl, Ci-u cycloalkyl, 5-14 membered heteroaryl 4-14 membered heterocycloalkyl, Ce-u aryl-Ci-e alkyl-, Cs-u cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryl)-C]-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- of R b4 are each optionally substituted with 1 , 2, 3, 4, 5, 6, 7, or 8 independently selected R ri substituents; each R e4 is independently selected from H, OH, CN, Ci-6 alkyl, Ci-e alkoxy, Cs-6 haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl,€2-5 alkynyl, C&-1 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u axyl-Ci-e alkyl-, C3-14 cycloalkyl- Ci- 6 alkyl-, (5-14 membered heteroaiyll-Ci-g alkyl-, and (4-14 membered heterocycloalkyl)-Cs- 6 alkyl-;

each R f4 and R g4 is independently selected from H, Ci-e alkyl Ci-e alkoxy, Ci-e haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl, C 2-6 alkynyl, Cl-ir aiyl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-i4 aryl-Cj- 6 alkyl-, Cs-sr cyeloalkyi- C 1-6 alkyl-, (5-14 membered heteroaiy l)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R h4 and R l4 is independently selected from H, Cj-e alkyl, Cs-g haloalkyl, C2-6 alkenyl, Cz-s alkynyl, C&-14 aryl, C3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C i-e alkyl-, Cl- H cyeloalkyl-Cs-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky l)-C 1.6 alkyl-;

each R J4 and R“ 4 is independently selected from OH, Cj-ealkoxy, and Ci-ehaloalkoxy; or, any R j4 and R k+ attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalky 1 group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Cs- 6 alkyl and Cs- 6 haloalkyl;

each R H is independently selected from D, halo, oxo, Ci- 6 alkyl, Ci- 6 haloalkyl, C2-6 alkenyl,€2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-ir aryl-Ci-g alkyl-, Cs-u cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaiyl)-Ci-6 alkyl-, (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, CN, NO2, OR 85 , SR 3' , NHOR 35 . C(0)R b5 , C(0)NR c:~ ’R d5 , C(0)NR c5 (0R a5 ), C(0)0R a5 , 0C(0)R b5 , 0C(0)NR c5 R d5 , NR c5 R d5 , NR c5 NR c5 R d5 , NR c5 C(0)R b5 , NR c5 C(0)0R 3? ', NR c5 C(G)NR c5 R d5 , C(===NR e5 )R h5 , C(=NR e5 )NR c5 R d5 , NR c5 C(=NR e5 )NR c5 R d5 , NR cS C(=NR eS )R bs , NR c5 S(0)R M ,

NR c5 S(0)NR c5 R d5 , NR c5 S(0) 2 R h5 , NR c5 S(0)(=NR e5 )R b5 , NR c5 S(0) 2 NR c5 R d5 , S(0)R b5 ,

SiOiN R R 4 ' . S(0) 2 R b5 , S(0) 2 NR c5 R d5 , 0S(0)(=NR e5 )R b5 , 0S(0) 2 R b5 , SF s , P(0)R c R 85 , OP QXOR^XQR 15 ), P(0)(0R !r! )(0R i: ), and BR j5 R k5 , wherein the Ci-6 alkyl, C 2- 6 alkenyl, C 2 -6 alkynyl, Cg-u aryl,€3-14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-u aryl-C i-e alkyl-,€3-14 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl- of R 1 ! are each optionally substituted with 1, 2, 3, or 4 independently selected R ! substituents; each R a \ R c5 , and R d> is independently selected from H, Ci-e alkyl, Ci-e haloalkyi, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, Ce-i4 aryt-C -6 alkyl-, Cs- M cyeloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci. 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, wherein the Ci-e alkyl, C2-6 alkenyl, C2-6 alkynyl, CV14 aryl, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryi-C -e alkyl-, CS- M cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C ue alkyl- of R 3> , R c5 , and R d5 are each optionally substituted with 1, 2, 3, or 4 independently selected R 1 substituents;

or any R cS and R d5 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryi or 4-14 membered heterocycloalkyl group is optionally substituted with 1 , 2, 3, or 4 independently selected R 1 substituents;

each R b5 is independently selected from H, Ci-e alkyl, Cue haloalkyi, C2-6 alkenyl, C2-6 alkynyl, C&-14 aryl, C3-14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-u aryl-Ci-e alkyl-, C 3 -i 4 eyeloalkyl-C - 6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky 1)-C 1.6 alkyl-, wherein the Ci. & alkyl, C2-6 alkenyl, C2-6 alkynyl, Ci.-u aryl, C J-M cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci-e alkyl-,€3-54 cycloalkyl-C -6 alky' 1-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky 1)-C 1.6 alkyl- of R” 3 are each optionally substituted with 1, 2, 3, or 4 independently selected R 1 substituents;

each R s5 is independently selected from H, OH, CN, C.-s alkyl, C.-s alkoxy, Ci- 6 haloalkyi, Ci-ehaloalkoxy, C2-6 alkeny l, C2-6 alkynyl, Ce-w aiyl, C3- H cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-ir aiyl-Ci- 6 alkyl-, C3-14 cycloalkyl- Ci- 6 alkyl-, (5-14 membered heteroaryl) -C1-6 alkyl-, and (4-14 membered heterocycloalky 1)-Ci. & alkyd-;

each R b and R g5 is independently selected from H, Cm, alkyl, Ci«alkoxy, Ci-e haloalkyi, C -ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ci.-n aryl, C3-14 cycloalky 1, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, C M 4 ary l-Ci- 6 alkyl-, C3-14 cycloalky 1- C [- 6 alkyl-, (5-14 membered heteroaryi) -Ci-g alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R tD and R 15 is independently selected from H, Ci. & alkyl, Ci. & haloalkyi, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl,€3-14 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, Ce-i aiyi-Ci-6 alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C ue alkyl-; each R Jd and R k5 is independently selected from OH, Ci-e alkoxy, and Cj-ehaloalkoxy; or, any R' 5 and R to attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-mem bered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Cue alkyl and Ci- 6 haloalkyl; each R ! is independently selected from 13, halo, oxo, Cj- 6 alkyl, Cj- 6 ha!oaikyl, C 2- s alkenyl, C 2-6 alkynyl, Ce-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C w ar I-C1-& alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, CN, NO2, OR ab , SR a6 , NHOR a5 , C(0)R m , C(0)NR C6 R·· 6 , C(0)NR c6 (0R a6 ). C(0)0R a6 , GC(0)R b6 ,

( )( ' (()).\ R : 'R I: '. NR c6 R d6 , NR c6 NR cb R db , NR c6 C(0)R b6 , NR c6 C(0)0R a6 , NR c6 C(0)NR c5 R d6 , C(=NR e6 )R b6 , C(=NR e6 )NR c6 R d6 , NR c6 C(=NR e6 )NR c6 R d6 , NR c6 C(=NR e6 )R b6 , NR c6 S(0)R b6 , NR c6 S(0)NR c6 R d6 , N R 'S 3) R ! NR c6 S(0)(=NR e6 )R b6 , NR c6 S(0) 2 NR c6 R d6 , S(0)R b6 , S(0)NR c6 R d6 , S(0) 2 R b6 , S(0) 2 NR c6 R d6 , 0S(0)(=NR e6 )R b6 , 0S(0) 2 R b6 , SFs, P(0)R f6 R g6 , 0P(0)(0R h6 )(0R i6 ), P(0)(0R“)(0R is ), and BR 6 R k6 , wherein the C M alkyl, C 2.& alkenyl, C M alkynyl, Ca-u aryl, C 3-i4 cycloalkyl, 5-14 membered heteroaryd, 4-14 membered

heterocycloalkyl, Ce- aryl-C 1 -5 alkyl-, C3-14 cycloalky l-Ci-6 alkyl-, (5-14 membered heteroarvd)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C [- 6 alkyl- of R 1 are each optionally substituted with 1 , 2, 3, or 4 independently selected R J substituents;

each R a6 , R c6 , and R d5 is independently selected from H, Ci- & alkyl, Ci- & haloalkyl, C 2.. e alkenyl, C 2- e alkynyl, C&-14 aryl,€3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-i4 ar l-Ci-6 alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] ^ alkyl-, and (4-14 membered heterocycloalky 1)-Cw alkyl-, wherein the Cj- 6 alkyl, C 2-& alkenyl, C 2-6 alkynyl, Ce-u aryl, C3-14 cycloalky l, 5-14 membered heteroaryd, 4-14 membered heterocycloalkyl, CS- M ary l-Ci- 6 alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ]-6 alkyl-, and (4-14 membered heterocycioalkyl)-Ci- 6 alkyl- of R a6 , R c6 , and R d6 are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents; or any R c6 and R* attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

each R b6 is independently selected from H, Cj- 6 alkyl, Cj- 6 haloalk l, C 2.& alken l, C 2-& alkynyl, Ca-u aryl, C 3-i4 cycloalkyl, 5-14 membered heteroaryd, 4-14 membered

heterocycloalkyl, Ce-i aryd-Ci-e alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C i-6 alkyl-, wherein the Ci-g alkyl, C 2-6 alkenyl, C 2-6 alkynyl, Ce-u arvd, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CM* aryl-Ci-e alkyl-, C3- M cycloalky 1-Ci-e alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, and (4-14 membered heteroeycloalkyl)-C i-s alkyl- of R Db are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

each R ab is independently selected from H, OH, CN, Cj- 6 alkyl, Ci-e alkoxy, C M haloalkyl, Cj-ehaloalkoxy, C2-6 alkenyl, C 2-6 alkynyl, Ce-u aryl, 63-14 cycloalkyl, 5-14 membered heteroaiyl, 4-14 membered heterocycloalkyl, C&-14 ary l-Ci-6 alkyl-, C3-14 cycloalkyl- C 1-6 alkyl-, (5-14 membered heteroaiy l)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R fb and R g5 is independently selected from H, Ci- 6 alkyl, Cj-e alkoxy, C i- 6 haloalkyl, Ci-ehaioalkoxy, C 2 -s alkenyl, C 2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, aryl-C w, alkyl-, C3-14 cycloalkyl- Ci- 6 alkyl-, (5-14 membered heteroaiyll-Ci-g alkyl-, and (4-14 membered heterocycloalkyll-C]- s alkyl-;

each R hb and R lb is independently selected from H, C ue alkyl, C i-b haloalkyl, C2-6 alkenyl, C 2-6 alkynyl,€5-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C w ary l-Cw alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaiy l)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-;

each R Jb and R*° is independently selected from OH, Ci^alkoxy, and Ci-ehaloalkoxy ; or, any R Jb and R kb attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C i-e alkyl and Chr, haloalkyl;

each R J is independently selected from D, halo, oxo, Che alkyl, Ci- 6 haloalkyl, C 2-6 alkenyl, C2-6 alkynyl, C&-14 aryl, C3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C i-e alkyl-, C3-i 4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky l)-Ci- 6 alkyl-, CN, NO2, OR a? ,

SR !! . NHOR a7 , C(0)R fc7 , C(0)NR c7 R d7 , C(0)NR c7 (0R a7 ), C(0)0R a7 , 0C(0)R b7 ,

0C(0)NR c7 R d7 , NR c7 R d7 , NR c7 NR c7 R d7 , NR c7 C(0)R b7 , NR c7 C(0)0R a7 , NR c7 C(0)NR c7 R d7 , C(=NR e7 )R b? , C(=NR e7 )NR c7 R d7 , NR c7 C(=NR e7 )NR c7 R d7 , NR c7 C(=NR e7 )R b7 , NR c7 S(0)R b7 ,

NR c7 S(0)NR c7 R d7 , NR c7 S(0) 2 R b7 , NR c7 S(0)(=NR e7 )R b7 , NR c7 S(0) 2 NR c7 R d7 , S(0)R b7 , S(0)NR c7 R d7 , ScOi -R 1' . S(0) 2 NR c7 R d7 . 0S(0)(=NR e7 )R b7 , 0S(0) 2 R b7 , SF 5 , P(0)R f; R g7 , OP(0)(OR h, )(OR !/ ), P(0)(0R“ 7 )(0R l7 ), and BR j7 R k/ , wherein the C M alkyl, C 2 -6 alkenyl, C 2 -6 alkynyl, Ce-u aryl, C3- H cycloalkyl, 5-14 membered heteroaiyl, 4-14 membered

heterocycloalkyl, C w ary l-Cw alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] - 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R J are each optionally substituted with 1 , 2, 3, or 4 independently selected R substituents;

each R a/ , R c ', and R d7 is independently selected from H, C i-s alkyl, Ci-s haloalkyl, C 2-6 alkenyl, C 2 -s alkynyl, C&-14 aryl, C3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryd-C i-e alkyl-, C3-i4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl- wherein the Ci-e alkyl, C 2-6 alkenyl, C 2-f, alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Cj-e alkyl-, CS- M cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryi)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky i)-Ci- 6 alkyl- of R a/ , R c ', and R d ' are each optionally substituted with 1, 2, 3, or 4 independently selected R K substituents; or any R 0? and R d/ attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroary l or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R K substituents;

each R b/ is independently selected from H, Ci- 6 alkyl, Cj- 6 haloalkyl, C 2 -s alkenyl, C 2 -6 alkynyl, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-w ary I-C1- & alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] - 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, wherein the Cj-e alkyl, C2-6 alkenyl, C2-6 alkynyl, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cs-w aryl-Ci-e alkyl-, CVw cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci.6 alkyl-, and (4-14 membered heterocycloalkyl)-C ½ alkyl- of R b? are each optionally substituted with 1 , 2, 3, or 4 independently selected R substituents;

each R e ' is independently selected from H, OH, CN, Ci-e alkyl, C2-6 alkenyl, C 5 -6 alkoxy, Ci-b haloalkyl, Cwhaloalkoxy, C2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl;

each R f/ and R g? is independently selected from H, C .-s alkyl, Ci« alkoxy, Ci-e haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl, C 2- e alkynyl, C&-J4 aryl, cycloalkyl, 5-14 membered heteroary l, 4-14 membered heterocycloalkyl, Ce-u ary l-Ci- 6 alkyl-, C3-14 cycloalky 1- C [- 6 alkyl-, (5-14 membered he teroarydi-Ci- f , alkyl-, and (4-14 membered heteroeycioalkyli-Ci- 6 alkyl-;

each R h/ and R 1 ' is independently selected from H, Ci-6 alkyl, Ci-6 haloalkyl, C 2 .6 alkenyl, C alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-i aiyl-Ci-6 alkyl-, Cs-u cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaryd)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C i- 6 alkyl-; each R J ' and R K/ is independently selected from OH, Ci-ealkoxy, and C -ehaloalkoxy; or, any R J / and R k ' attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-mem bered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci-e alkyl and Ci- 6 haloalkyl;

each R K is independently selected from H, D, OH, halo, oxo, CN, C(0)QH, NH 2 ,

NO?, SFS, C W alkyl, Ci-ealkoxy, Ci-ehaloalkoxy, Ci-e haloalkyl, C 2- e alkenyl, C 2-& alkynyl, C<s- i 4 aryl, C 3-34 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci- 6 alkyl-, CX- K cycloalkyl-Ci-g alkyl-, (5-14 membered heteroaiyl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky 1)-Ci..6 alkyl-; and

wherein any heteroaryl group of any of the above-recited substituents optionally comprises an N -oxide on any ring-forming nitrogen.

In some embodiments:

X is N;

R J is selected from H, C1-6 alkyl, C1.6 haloalkyl, C 2 -6 alkenyl, C2-6 alkynyl, Ce-u and, C3-14 cycloalky I, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-uaryl-Cw alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci..6 alkyl-, (4-14 membered heterocy c!oalky!)-C w, alkyl-, OR al , C(0)R bl , C(0)NR ci R di , C(0)0R al , C(=NR el )R bl , C(=NR el )NR cl R dl , S(0)R bl , S(O)NR 0l R dl , S(0) 2 R bl , and S(0) 2 NR o! R d! , wherein the Ci- 6 alkyl, C 2-& alkenyl, C 2-& alkynyl, Ce-i4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CX- M aryl-Ci- 6 alkyl-, CVw cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaiyl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R ] are each optionally substituted with 1 , 2, 3, 4, 5, 6, 7, or 8 independently selected R B substituents;

R 2 is selected from H, D, halo, C -6 alkyl, C -6 haloalky l, C 2 - 6 alkenyl, C 2 -e alkynyl, Ce- 14 aryl, C3-14 cycloalky l, 5-14 membered heteroaryl, 4-14 membered heierocycloalkyl,€5-1 aryd-C -6 alkyl-, Cn-i Cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, (4-14 membered heterocycloalkyl)-Cw alkyl-, CN, N0 2 , OR a3 , SR a2 , NHGR ai , C(0)R b2 ,

( ' iO)NR R ; . C (0)NR c2 (0R a2 ), C(0)0R 32 , 0C(0)R b2 , 0C(0)NR c2 R d2 , N R- R d .

NR c2 NR c2 R d2 , NR c2 C(0)R b2 , NR c2 C(0)0R a2 , NR c2 C(0)NR c2 R d2 , C(=NR e2 )R b2 ,

C (=NR e2 )NR c2 R d2 , NR c2 C (=NR c2 )NR c2 R d2 , NR c2 C(=NR e2 )R b2 , NR c2 S(0)NR c2 R d2 ,

NR c2 S(0)R b2 , NR C2 S(0) 2 R m , NR c2 S(0)(=NR e2 )R b2 , NR c2 S(0) 2 NR c2 R d2 , S(0)R b2 ,

S(0)NR c2 R d2 , S(0) 2 R b2 , S(0) 2 NR c2 R d2 , 0S(0)(=NR e2 )R b2 , 0S(0) 2 R b2 , SF 5 , P(0)R f2 R g2 , 0P(0)(0R h2 )(0R i2 ), P(0)(0R !l2 )(0R l2 ), and BR j2 R k2 , wherein the C M alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, C 3-14 cycloalkyl, 5-14 membered heteroaiyl, 4-14 membered

heterocycloalkyl, C w aryl-Ci-6 alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R 3 are each optionally substituted with 1 , 2, 3, 4, 5, 6, 7, or 8 independently selected R c substituents;

Cy ! is C&-14 aryl,€3-14 cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl, wherein the Ce-u aryl, C3 -14 cycloalky 1, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl is optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R & substituents;

provided that when Cy ! is 4-14 membered heterocycloalkyl, then the 4-14 membered heterocycloalkyl of Cy 1 is other than unsubstituted morpholinyl;

Cy z is Ce-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl, wherein the aryl, C3-14 cycloalky 1, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl is optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R" substituents;

each R al , R ci , R dl , R a2 , R° 2 , and R d2 is independently selected from H, C -e alkyl, Cue haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C3.14 cycloalkyl, 5-14 membered heteroaryl, 4- 14 membered heterocycloalkyl, C K aryl -Ci-s alkyl-, C;-i4eyeloalkyi-C 1-6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci..6 alkyl-, wherein the C -6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aiyl, C3- M cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C &.J 4 ary l-Ci-s alkyl-, Cs-ircycloalkyl-C -e alkyl-, (5-14 membered heteroaryi)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky l)-Ci- 6 alkyl- of R al , R cl , R dl , R a2 , R c2 , and R d2 are each optionally substituted with 1 , 2, 3, 4, 5, 6, 7, or 8 independently selected R <J substituents;

or, any R cl and R dl attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1 , 2, 3, or 4 independently selected ' substituents;

or any R c2 and R d2 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroary l or 4-14 membered heterocycloalkyl group is optionally substituted with 1 , 2, 3, or 4 independently selected R° substituents;

each R bl and R b2 is independently selected from H, Ci-s alkyl, Ci-e haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&-14 aryl, C3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C i-b alkyl-, C3-i4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky 1)~C R> alkyl-, wherein the C M alkyl, C2-6 alkenyl, C2-6 alkynyl, C &-J 4 aryl, C J-M cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C -e alkyl-, Ci-u cycloalkyl-C -6 alky' 1-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- of R Bi , R b2 , and R b ’ are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R° substituents;

each R Bl and R e2 is independently selected from H, OH, CN, C i-s aikyl, C i-s alkoxy, Ci- 6 haloalkyl, C -e haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryi, Cs-u cycloalkyi, 5-14 membered heteroaryl, 4-14 membered heierocycloalkyl, CM* ary l-Ci-6 alkyl-, C3-14 cycloalkyl- C 1.6 alkyl-, (5-14 membered heteroaryi)~Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each G and R g2 is independently selected from H, Ci- 6 alkyl, C -e alkoxy, C M> haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ce- aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C i-e alkyl-, C3-14 cycloallcyl- Ci- 6 alkyl-, (5-14 membered heteroaiyll-Ci-g alkyl-, and (4-14 membered heterocycloalkyl)-C ] - s alkyl-;

each R M and R l2 is independently selected from H, C i-s alkyl C i-b haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C M ary I-C1-& alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-;

each R j2 and R*“ is independently selected from OH, Ci-ealkoxy, and Ci-ehaloalkoxy ; or any R j2 and R K attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C i- 6 alkyl and C - 6 haloalkyl;

each R b , R c , R , R b , and R G is independently selected from D, halo, oxo, Ci- 6 alkyl, Ci-6 haloalkyl, C2-6 alkenyl, C 2- e alkynyl, aryl, C3.14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-14 aryl-C i-s alky!-, Ci-w cyeloalkyl-C 1.5 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, CN, NO ?. , OR a4 , SR a4 , N S i ( )R ! l C(0)R b4 , C(0)NR c4 R d4 , C(0)NR c4 (0R a4 ), C(0)0R a4 , 0C(0)R M , 0C(0)NR c+ R d+ , NR c4 R d4 , NR c4 NR c4 R d4 NR e4 C(0)R M , NR c4 C(0)0R 34 , NR c4 C(0)NR c4 R d4 , C(=NR e4 )R b4 , C (=NR e4 )N R c4 R d4 , NR c4 C(=NR e4 )NR c4 R d4 , NR c4 C(=NR e4 )R M , NR c4 S(0)R b4 , NR c4 S(0)NR c4 R d4 , NR c4 S(0) 2 R b4 , NR c4 S(0)(=NR e4 )R M , NR c4 S(0) 2 NR c4 R d4 , S(0)R b4 , S(0)NR e4 R d4 , S(0) 2 R b4 , S(0) 2 NR c4 R d4 , 0S(0)(-NR e4 )R b4 , 0S(0) 2 R M , SF 5 , P(0)R f4 R g4 , 0P(0)(0R h4 )(0R l4 ), P(0)(0R“ 4 )(0R l4 ), and BR j+ R k4 , wherein the Cw alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryi, C3- M cycloalkyi, 5-14 membered heteroaiyi, 4-14 membered

heterocycloalkyl, CVM aryl-Ci^, alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R b , R c , R b , R 1' , and R' J are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R h substituents;

each R a4 , R c4 , and R d4 is independently selected from H, Ci- 6 alkyl, Ci- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, Cj-w cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-ir aiyl-Ci-6 alkyl-, Cs-u cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C i-e alkyl-, wherein the Ci- 6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-i + aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cs-w aryl-C - 6 alkyl-, C3-14 cycloalk l-Ci- 6 alkyl-, (5-14 membered heteroaryd)-C 1-6 alkyl-, and (4-14 membered beteroeycloaikyi)-Ci- 6 alkyl- of R a4 , R c4 , and R d4 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R fl substituents;

or, any R c4 and R a4 attached to the same N atom, together with the N atom to -which they are attached, optionally form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, -wherein tire 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R H substituents;

each R w is independently selected from H, Ci- 6 alkyl, Ci- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-i4 ar t-C -6 alkyl-, Cs-w cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, wherein the Ci- 6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C -6 alkyl-, Cs-u cycloalky l-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci. 6 alkyl-, and (4-14 membered heterocycioalkyl)-Ci- 6 alkyl- of R s4 are each optionally substituted with 1 , 2, 3, 4, 5, 6, 7, or 8 independently selected R H substituents; each R e4 is independently selected from H, OH, CN, Ci-e alkyl, Ci-e alkoxy , Ci- 6 haloalkyl, C -ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C &-J 4 aryl, Cs-u cycloalky 1, 5-14 membered heteroary l, 4-14 membered heterocycloalkyl, Ce-u ary l-Ci- 6 alkyl-, C3-14 cycloalky 1- C [-6 alkyl-, (5-14 membered he teroarydi-Ci- f , alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R f4 and R 84 is independently selected from H, Ci- 6 alkyl, Ci- 6 alkoxy, Ci^ haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, Ch-w cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-ir aiyd-Ci- 6 alkyl-, Cs-u cycloalkyi- C 1-6 alkyl-, (5-14 membered heteroaryl) ~Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R h+ and R l4 is independently selected from H, Ci- 6 alkyl, Ci- 6 haloalkyl, C 2-6 alkenyl, C 2 -s alkynyl, C aryl, C3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CM* aryl-C i-e alkyl-, C3-i4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl-;

each R j4 and R k4 is independently selected from OH, Cj-ealkoxy, and Ci-ehaloalkoxy; or, any R j and R k+ attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalky 1 group optionally substituted -with 1, 2, 3, or 4 substituents independently selected from Cj- 6 alkyl and Cs- 6 haloalkyl;

each R H is independently selected from D, halo, oxo, Cue alkyl, C R> haloalkyl, C 2- 6 alkenyl, C 2-f, alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C 6 -i4 aiyl-Ci-6 alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaiyl)-Ci-6 alkyl-, (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, CN, N0 2 , OR 85 , SR 3" , NHOR a5 , C(0)R b5 , C(0)NR c5 R d5 , C(0)NR c5 (0R a5 ), C(0)0R a5 , 0C(0)R bs , 0C(0)NR c5 R d5 , NR c5 R d5 , NR c5 NR c5 R d5 , NR e5 C(0)R b5 , NR c5 C(0)0R 3? ', NR c5 C(G)NR c5 R d5 , C(===NR e5 )R h5 , C(=NR e5 )NR c5 R d5 , NR c5 C(=NR e5 )NR c5 R d5 , NR cS C(=NR eS )R bs , NR c5 S(0)R M ,

NR c5 S(0)NR c5 R d5 , NR c5 S(0) 2 R h5 , NR c5 S(0)(=NR e5 )R b5 , NR c5 S(0) 2 NR c5 R d5 , S(0)R b5 ,

SiOjN R- R 4 ' . S(Oj R h ' . S(0) 2 NR c5 R d5 , 0S(0)(=NR e5 )R b5 , GS(0) 2 R b5 , SF 5 , P(0)R¾ 85 , OP OXOR^XQR 15 ), P(0)(0R !r! )(0R i: ), and BR j5 R k5 , wherein the Ci- 6 alkyl, C 2-& alkenyl, C2-6 alkynyl, C&-14 aryl,€3-14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, CM* aiyl-C [-6 alkyl-, C3-14 cycloalkyl-Cj-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky 1)-C R> alkyl- of R H are each optionally substituted with 1, 2, 3, or 4 independently selected R ! substituents;

each R 35 , R c5 , and R d " is independently selected from H, Ci-e alkyl, Ci- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl,€5-14 aryl, C3-1 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CM* ar I-C - & alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered

heteroaryl)-C ] - 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, wherein the C -e alkyl, C 2-& alkenyl, C 2-& alkynyl, CM* aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CX-w aryi-Cj- 6 alkyl-, CVw cyctoalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci. 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R 3> , R c5 , and R d5 are each optionally substituted with 1 , 2, 3, or 4 independently selected R 1 substituents;

or any R c and R d5 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroary l or 4-14 membered heterocycloalkyl group is optionally substituted with 1 , 2, 3, or 4 independently selected R 1 substituents;

each R b5 is independently selected from H, Cue alkyl. Cue haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&-1 aryl, C3-14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-u aryl-C M alkyl-, ifr-n eyeloalkyl-C alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky 1)-C R > alkyl-, wherein the CM alkyl, C ? _- f> alkenyl, C2-6 alkynyl, Ci.-u aryl, C J-M cycloalky 1, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cs-ir aryl-Ci-e alkyl-, Ch-u cycloalkyl-Cj-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky 1)-C 1.6 alkyl- of R” 3 are each optionally substituted with 1, 2, 3, or 4 independently selected R 1 substituents;

each R s?' is independently selected from H, OH, CN, C M alky l, Ci-e alkoxy, C haloalkyl, C;i- f! haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ce-w aiyl, C3- M cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C 6 -i4 aiyl-Ci- 6 alkyl-, C 3-14 cycloalky!- Ci- 6 alkyl-, (5-14 membered heteroaryl) -C1-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- & alkyl-;

each R b and R g5 is independently selected from H, C M alkyl, Ci« alkoxy, Ci- 6 haloalkyl, Cj-ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, ( M-M aryl, C 3-14 cycloalky 1, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, Ce-u ary' i-C 1-6 alkyl-, C 3-i 4 cyc!oalky 1- CM alk l-, (5-14 membered heteroaiyl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R to and R 15 is independently selected from H, CM alkyl, C haloalkyl, C2-6 alkenyl,€2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, Ce-w aiyl-Ci-6 alkyl-, Cs-u cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci.6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-;

each R p and R* 5 is independently selected from OH, Cj-s aikoxy, and Ci-shaloalkoxy; or, any R j5 and R* 5 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C alkyl and C 1-6 haloalkyl;

each R 1 is independently selected from D, halo, oxo, C , alkyl, C , haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, Ce-w ary 1-C M alkyl-, C3-14 eyeloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 aikyl-, and (4-14 membered heterocycioalkyi)-Ci- 6 alkyl-, CN, N(¾, OR a6 ,

C(=NR e6 )R b6 , C(=NR e6 )NR c6 R d6 , NR c6 C(=NR e6 )NR c6 R d6 , NR c6 C(=NR e6 )R b6 , NR c6 S(0)R b6 , NR c5 S(0)NR c5 R d5 , N RC SiOi -R 1 ". NR c5 S(0)(=NR c5 )R b6 , NR c6 S(0) 2 NR c5 R d6 , S(0)R b6 , S(0)NR c6 R d6 , S(0) 2 R b6 , S(0) 2 NR c5 R d6 , 0S(0)(=NR e6 )R b6 , 0S(0) 2 R b6 , SF , P(0)R f6 R g6 , 0P(0)(0R h6 )(0R i6 ), P(0)(0R h6 )(0R 6 ), and BR- ,6 R k6 , wherein the C M alkyl, C 2.& alkenyl, C M alkynyl, Ca-u aryl, Ch-w eyeloalkyi, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-ir aiyl-Ci-6 alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- of R ! are each optionally substituted with 1 , 2, 3, or 4 independently selected R J substituents;

each R 36 , R c6 , and R d5 is independently selected from H, Ci- & alkyl, Ci- & haloalkyl, C 2.. e alkenyl, C 2- e alkymyl, C &-K aryl, C-t-u cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w ary l-Ci-6 alkyl-, Ca-i + cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-C ] ^ alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, wherein the C - 6 alkyl, C 2-& alkenyl, C 2-6 alkynyl, Ce-u aryl, Cs-u cycloalkyi, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C S-M aryl-Cw alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky l)-C]-6 alkyl- of R a6 , R c6 , and R d6 are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

or any R c6 and R* attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

each R bo is independently selected from H, CM alkyl, CM haloalk l, C 2.6 alkenyl, C 2-& alkynyl, Ce-w aryl, C3- H cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-ir aiyl-Ci-6 alkyl-, Cs-u cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci.6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, wherein the C M alkyl, C 2-& alkenyl, C 2-& alkynyl, CV aryl, Ci- K cycloalkyl, 5-14 membered heteroaryd, 4-14 membered heterocycloalkyl, Cs-w aryl-Ci- 6 alkyl-, C3-14 cycloalky l-Ci- 6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C ue alkyl- of R b6 are each optionally substituted with 1 , 2, 3, or 4 independently selected R J substituents;

each R e6 is independently selected from H, OH, CN, C , alkyl, Ci- 6 alkoxy, Ci-6 haloalkyl, C ] -6haloalkoxy, C 2 -s alkenyl, C 2- e alkynyl, C K aryl,€3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-i ary l-Ci-6 alkyl-, C3..14 cycloalky 1- C i-6 alkyl-, (5-14 membered heteroaryi)-Ci-s alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-; each R ® and R s ° is independently selected from H, Ci-e alkyl Ci-e alkoxy, Ci-e haloalkyl, C;i- f! haloa3koxy, C2-6 alkenyl, C2-6 alkynyl, Ce-w aiyl, C3- H cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Gs-w aryl-C - 6 alkyl-, Cs- M cycloalkyl- Ci- 6 alkyl-, (5-14 membered heteroaryl) -C1-6 alkyl-, and (4-14 membered heterocycloalky 1)-Ci. & alkyl-;

each R h6 and R' 6 is independently selected from H, C -6 alkyl, C -e haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ci.-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CN- M aryl-Ci-e alkyl-, C -i+ cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky l)-Ci- 6 alkyl-;

each R' 6 and R k6 is independently selected from OH, C -s alkoxy, and C i-ehaloalkoxy; or, any R jf> and R kb attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci-e alky l and Ci-e haloalkyl;

each R 1 is independently selected from D, halo, oxo, Ci-b alkyl, Ci-b haloalkyl, C2.6 alkenyl, C2-6 alkynyl, C M aryl, C 3-i 4 cycloalkyl, 5-14 membered heteroaryd, 4-14 membered heterocycloalkyl, Ce- aryi-C 1.5 alkyl-, C3-1 cycloalky I-C1-6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C [-6 alkyl-, CN, NO2, OR a7 ,

0P(0)(0R h7 )(0R l7 ), P(0)(0R b7 )(0R l7 ), and BR· R‘ . wherein the Ci-e alkyl, C 2-6 alkenyl, C 2-6 alkynyl, Ce-u aryl,€3-14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-u aryl-C i-e alkyl-, C 3 -i 4 cycloalkyl-C - 6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky l)-Ci- 6 alkyl- of R ! are each optionally substituted with 1, 2, 3, or 4 independently selected R K substituents;

each R a/ , R c , and R d ' is independently selected from H, Cj-b alkyl, Ci-e haloalkyl, C2-6 alkenyl,€2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-i4 aryl-C -6 alkyl-, Cs-w cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci.6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- wherein the Ci-6 alkyl, C2-6 alkenyl, C2-6 alkymyl, C6-i4 aryl, Ci- H cycloalkyl, 5-14 membered heteroaryd, 4-14 membered heterocycloalkyl, C 6-i4 aryl-Ci-e alkyl-, CN- cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C]-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- of R a ', R c/ , and R d? are each optionally substituted with 1, 2, 3, or 4 independently selected R K substituents; or any R c/ and R d7 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R K substituents;

each R b; is independently selected from H, Ci-e alkyl, Ci-e haloalkyl, C 2-6 alkenyl, C2-6 alkynyl, Ce- aryd, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Cg-w aryl-C 1.5 alkyl-, C3-14 cycloalky 1-Ci- alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, and (4-14 membered heterocycloaikyi)-Ci-6 alkyl-, wherein the Ci-s alkyl, C2-6 alkenyl, C2-6 alkynyl, C -u aryd, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cg-u aryl-Ci-e alkyl-, C3-34 cycloalk l-Ci^ alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloaikyi)~Ci-g alkyl- of R B? are each optionally substituted with 1, 2, 3, or 4 independently selected R K substituents;

each R 57 is independently selected from H, OH, CN, Ci-g alkyl, C2-6 alkenyl, Ci-g alkoxy, Ci-g haloalkyl, Ci-ghaloalkoxy, C2-6 alkynyl, Cg-ir aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, and 4- 14 membered heterocycloalkyl;

each R f? and R g/ is independently selected from H, Ci-e alkyl, C 1-6 alkoxy, Ci-e haloalkyl, Ci-ghaloalkoxy, C2-6 alkenyl, C2.6 alkynyl, Cgur aryd, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w aryt-Cj-g alkyl-, Cs-ir eyeloalkyi- Ci- 6 alkyl-, (5-14 membered heteroaryl) -Ci-g alkyl-, and (4-14 membered heterocycloalky 1)-Ci. 6 alkyl-;

each R h? and R 1 ' is independently selected from H, Ci- 6 alkyl, Cj-g haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Cg.u aryd, C3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cg-u aryl-Ci-g alkyl-, Ch-n cycloalkyl-Cj-g alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky 1)-C 1.6 alkyl-;

each R J ' and R K is independently selected from OH, Cj-g alkoxy, and Ci-ghaloalkoxy; or, any R" and R k/ attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Cj-g alkyl and Cs-g haloalkyl;

each R K is independently selected from H, D, OH, halo, oxo, CN, C(0)OH, NH 2 ,

NO2, SFs, Cj-g alkyl, Cj-g alkoxy, Ci-ghaloalkoxy, Ci-e haloalkyl, CN-g alkenyl, (N-g alkynyl, Cg. 14 a ryl,€3-14 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, Ce-i4 aryl-C M alkyl-, C3- M cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-CM alkyl-, and (4-14 membered heterocycloalky3)-C - 6 alkyl-; and

wherein any heteroaryl group of any of the above-recited substituents optionally comprises an N-oxide on any ring-forming nitrogen.

In some embodiments;

X is N;

R 1 is selected from H, C M alkyl, C2-6 alkenyl, C M alkynyl, and C M haloalkyl;

R 2 is selected from H, D, halo, C M alkyl, C M haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce- 14 and, C3.14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci-6 alkyl-, CVw cyctoalkyl-C M alkyl-, (5-14 membered heteroaryl)~Ci-6 alkyl-, (4-14 membered heterocycloalky 1)-C M alkyl-, CN, N(¾, GR 32 , SR 32 , NHOR a2 , C(0)R b3 ,

C(0)NR c2 R d2 , C(0)NR c2 (0R 32 ), C(0)0R a2 , 0C(0)R b2 , 0C(0)NR c2 R d2 , NR c2 R d2 ,

NR c2 NR c2 R d2 , NR c2 C(0)R b2 , NR c2 C(0)0R 32 , NR c2 C(0)NR c2 R d2 , C(=NR e2 )R b2 ,

C(=NR e2 )NR c2 R d2 , NR c2 C(=NR e2 )NR c2 R d2 , NR^Ci-NR 62 )!^ 2 , NR c2 S(0)NR c2 R d \

NR c2 S(0)R b2 , NR c2 S(0) 2 R b2 , NR c2 S(0)(=NR e2 )R b2 , NR c2 S(0) 2 NR c2 R d2 , S(0)R b2 ,

S(0)NR c2 R d2 , SiOi. R 1' . S(0) 2 NR e2 R d2 , 0S(0)(=NR e2 )R b2 , 0S(0) 2 R b2 , SF 5 , P(0)R f2 R e · 2 , Oih OiiOR ' ii OR d. PCOICOR^COR 12 ), and BR j2 R k2 , wherein the C M alkyl, C M alkenyl, C 2-6 alkynyl, Ce- and, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce- aryl-C alkyl-, C3-1 cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryl)-C alkyl-, and (4-14 membered heteroeyeloaikyi)-C[-s alkyl- of R 2 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R c substituents;

Cy 1 is Ce aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl, wherein the Cs-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl is optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R7 or R M substituents;

Cy 2 is Ce-14 aryl, C3.14 cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl, wherein the C -u and, C3-14 cyeloalkyl, 5-14 membered heteroaryl, or 4-14 membered heteroc cloalkyl is optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R b substituents;

each R 32 , R c2 , and R d2 is independently selected from H, C alkyl, C haloalkyl, C M alkenyl, C 2 -s alkynyl, C&-14 aryl,€3-1 + cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C M alkyl-, Ci- H cycloalkyl-C M alkyl-, (5-14 membered heteroaryi)-Ci- 6 alky 1-, and (4-14 membered heterocycloalky 1)~C alkyl-, wherein the C M alkyl. C M alkenyl, C M alkyny l, C &-J 4 aryl, C 3 -i4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci-e alkyl-, Ci-u cycloalkyl-C -6 alky' 1-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- of R a2 , R c , and R di are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G substituents;

or any R c2 and R d2 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1 , 2, 3, or 4 independently selected R u substituents;

each R b2 is independently selected from H, C.-s alkyl, C.-s haloalkyl, C2-6 alkenyl, C2.6 alkynyl, C M * aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-w aryl-Ci-e alkyl-, C -i + cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, wherein the C -6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, Cs-u cycloalkyi, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, aryl-Cw alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky l)-C]- 6 alkyl- of R fc2 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R <J substituents; each R e2 is independently selected from H, OH, CN, Ci-e alkyl, C 1-5 alkoxy, Ci-& haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ce- aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalky 1, C M * aryd-C 1-5 alkyl-, C3-14 cycloalky 1- C -6 alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-C ]. s alkyl-;

each R G and R g2 is independently selected from H, Ci-e alkyl, Ci-b haloalkyl, C - 6 alkoxy, C 1-6 haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Cs-u aryl, C 3-i4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cs-u aryl-Ci-e alkyl-, C3 -14 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-;

each R h2 and R l2 is independently selected from H, C - 6 alkyl, C - 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryd, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C M * aryd-C [-6 alkyl-, C 3-H cycloalkyl-C]^ alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, and (4-14 membered heterocyeloalkyd)-Ci-6 alkyl-;

each R J and R k2 is independently selected from OH, Ci- & alkoxy, and Ci-ehaloalkoxy; or any R 2 and R k2 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalky 1 group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C M alkyl and C 1-5 haloalkyl; each R c , R E , R M , R f , and R° is independently selected from D, halo, oxo, Ci-e alkyl, C [- 6 haloalkyl, C 2.g alkenyl, C2-6 alkynyl, Cg-u and, C 3-14 cycloalkyl, 5- 14 membered heteroatyl, 4-14 membered heterocycloalky 1, Ce-u aryl-Ci alkyl-, C3- H cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci-g alkyl-, (4-14 membered heterocycloalkyl)-Ci-g alkyl-, CN,

0P(0)(0R n4 )(0R I+ ), P(0)(0R M )(0R 14 ), and BR j R k+ , wherein the C -g alkyl, C 2-g alkenyl, C2-6 alkynyl, Ce- aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, CM* aiyl-C i-g alkyl-, C 3-14 cycloalkyl-Cj-e alkyl-, (5- 14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyi)~Ci-g alkyl- of R c , R E , R M , R F , and R G are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H substituents;

each R a4 , R c+ , and R d4 is independently selected from H, Ci-g alkyl, Ci-g haloalkyl, C 2..g alkenyl, C 2-g alkynyl, Cg-u aryl, C -u cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cg-i 4 ary 1-Ci-g alkyl-, C -i+ cycloalkyl-C -g alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky l)-Ci- 6 alkyl-, wherein the Ci-g alkyl, C 2-g alkenyl, C 2-g alkynyl, Cg-n aryl, C 3-i 4 cycloalkyl, 5-14 membered heteroaryd, 4-14 membered heterocycloalkyl, C -n ar l-Cw alkyl-, C 3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C -g alkyl-, and (4-14 membered heterocycloalky 1)-Cw alkyl- of R a4 , R c4 , and R d4 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R 11 substituents;

or, any R c4 and R d4 attached to the same N atom, together with the N atom to which they are attached, optionally form a 5- or 6-membered heteroaryd or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R 11 substituents;

each R b4 is independently selected from H, Ci-e alkyl, Ci- haloalkyl, C 2-g alkenyl, C 2-g alkynyl, Cg-u aryl,€3-14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Cg-u aryl-C i-g alkyl-,€3-14 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci-g alkyl-, and (4-14 membered heterocycloalky 1)-C R > alkyl-, wherein the CM alkyl, C 2 -g alkenyl, C 2 -g alkynyl, Cg-u aryl, C J-M cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci-e alkyl-, Ci-u cycloalkyl-C -6 alky' 1-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- of R B4 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R ri substituents; each R e4 is independently selected from H, OH, CN, C.-s alkyl, C.-s alkoxy, Ci- 6 haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ca-u aryl, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C 6 -i4 aiyl-Ci- 6 alkyl-, C3-14 cycloalky 1- Ci- f, alkyl-, (5-14 membered heteroar l) -C - 6 alkyl-, and (4-14 membered heterocycloalkyl)-C - 6 alkyl-;

each R f4 and R 8 * is independently selected from H, C.-s alkyl, Ci«alkoxy, Ci- 6 haloalkyl, Ci- 6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C K aryl, C3 U 4 cycloalkyl, 5-14 membered heteroary l, 4-14 membered heterocycloalkyl, Ce-u ary l-Ci- 6 alkyl-, C3-14 cycloalky 1- C [-6 alkyl-, (5-14 membered he teroaryl)-Ci- 6 alkyl-, and (4-14 membered heierocyeloalkyli-Ci- 6 alkyl-;

each R h4 and R l4 is independently selected from H, Ci. & alkyl, Ci. & haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, Cj-w cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce- aryl-C 1.5 alkyl-, C3-14 cycloalky l-Ci-b alkyl-, (5-14 membered heteroaiyd)-Ci- 6 alkyl-, and (4-14 membered keterocycloalkyl)-C i-e alkyl-;

each R j4 and R“ 4 is independently selected from OH, Ci-ealkoxy, and C -ehaloalkoxy; or, any R |4 and R k4 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-mem bered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci-e alkyl and Ci- 6 haloalkyl;

each R H is independently selected from D, halo, oxo, C [- 6 alkyl, C [- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, Cs-ucycloalkyi, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w ary l-Ci-6 alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, CN, NO2, OR 35 , SR a5 , NI-IOR 35 , C(0)R b5 , C(0)NR c5 R d5 , C(0)NR c5 (0R a5 ), C(0)0R 35 , 0C(0)R bs , 0C(0)NR c5 R d5 . NR c5 R d5 , NR c5 NR c5 R d5 , NR c5 C(0)R bs , NR c5 C(0)0R 35 , NR c5 C(0)NR c5 R d5 , C(=NR eS )R b5 , C(=NR e5 )NR c5 R d5 , NR c5 C(=NR e5 )NR c5 R d5 , NR c5 C(=NR e5 )R b5 , NR c5 S(0)R b5 ,

NR c5 S(0)NR c5 R d5 , N R ' SiOnR 1 ". NR c5 S(0)(-NR c5 )R b5 , NR c5 S(0) 2 NR c5 R d5 , S(0)R b5 , S(0)NR c5 R ci5 , SiOj lC " . S(0) 2 NR c5 R d5 , 0S(0)(=NR e5 )R b5 , 0S(0) 2 R bs , SF s , P(0)R fi R gi , 0P(0)(0R h5 )(0R l5 ), P(0)(0R a5 )(0R 5 ), and BR j5 R k: , wherein the C M alkyl, C 2-6 alkenyl, C2-6 alkynyl, Ca-u aryl, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, C 6 -i4 aiyl-Ci- 6 alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R fl are each optionally substituted with 1 , 2, 3, or 4 independently selected R 1 substituents;

each R a5 , R° 5 , and R di is independently selected from H, C i-s alkyl, Ci-s haloalkyl, C 2-6 alkenyl, C 2-G alkynyl, C G-M aryl, C3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CG- M aryl-C i-e alkyl-, C3-i4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky 1)-C R> alkyl-, wherein the C M alkyl, C 2 -e alkenyl, C 2-6 alkynyl, CG-M aryd, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CG-M aryl-C -6 alkyl-, C3- cycloalkyl-C -e alky' 1-, (5-14 membered heteroaryi)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyi)-C 1.6 alkyl- of R a5 , R c> , and R ds are each optionally substituted with 1, 2, 3, or 4 independently selected R 1 substituents;

or any R 05 and R da attached to the same N atom, together with the N atom to winch they are attached, form a 5- or 6-membered heteroary l or a 4-14 membered heterocycloalkyl group, wirerein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R ! substituents;

each R to is independently selected from H, C J-G alkyl, C2-6 alkenyl, C2-0 alky nyl, C 6 -i4 aryl, C3 -14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CG- M aryl- Ci- f, alkyl-, C3-14 cycloalkyl-Ci- G alkyl-, (5-14 membered heteroary!)-Ci-e, alkyl-, and (4-14 membered heterocycloalky l)-Ci- 6 alkyl-, wirerein the Ci-e alkyl, C 2-6 alkenyl, C2-6 alkynyl, CG- 1 aryi, C3-1 + cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloaikyi, C G-M aryi-Ci-e alkyl-, Cs-w cycloaikyl-Ci- G alkyl-, (5-14 membered heteroaryi)-Ci-s alkyl-, and (4-14 membered heterocycloalkyi)-C MG alkyl- of R b5 are each optionally substituted with 1, 2, 3, or 4 independently selected R 1 substituents;

each R e5 is independently selected from H, OH, CN, C I -G alkyl, Ci-e alkoxy, Ci-e haloalkyl, Ci-ehaloalkoxy, C 2-G alkenyl, C 2 « alkynyl, C G-M aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloaikyi, Cs- 14 aryi-Ci-e alkyl-, C3-14 cycloalkyl- Ci-5 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alky 1-;

each R f5 and R 85 is independently selected from H, Ci-e alkyl Ci-e alkoxy, C1-6 haloalkyl, Cwehaloalkoxy, C 2-G alkeny l, C 2-G alkynyl, C G-M aryl, C3- M cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloaikyi, C G- M ar l-C -6 alkyl-, Cs- M cycloalkyi- Ci-6 alkyl-, (5-14 membered heteroaryl) -C I-G alkyl-, and (4-14 membered heterocycloalky 1)-Ci. 6 alkyi-;

each R 115 and R 15 is independently selected from H, Ci-s alkyl, Ci-s haloalkyl, C 2 -e alkenyl, C 2-6 alkynyl, C &-J 4 aryi, C 3- cycloalkyl, 5-14 membered heteroary l, 4-14 membered heterocycloalkyl, Ce-u ary i-Ci-6 alkyl-, C -i+ cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-C ] ^ alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-;

each R Ji and R ° is independently selected from OH, C -s alkoxy, and C i-ehaloalkoxy; or, any R jd and R k5 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci-e alky l and Ci- 6 haloalkyl; each R l is independently selected from D, halo, oxo, Ci-e alkyl, Ci-e haloalkyl, C2-6 alkenyl, C2-6 a!kynyl, Ce-u aryl, C -ir cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce- aryl-C i- d alkyl-, C3-1 cycloalky I-C1-6 alkyl-, (5-14 membered heteroarvd)-C 1-6 alkyl-, and (4-14 membered heteroeyeloaikyi)-C [-s alkyl-, CN, N0 2 , OR a5 ,

0P(0)(0R h5 )(0R l6 ), P(0)(0R b6 )(0R 16 ), and BR j6 R t6 , wherein the C ; ,·. alkyl, ( ' ·,·. alkenyl, ( ' ·,·. alkynyl, Ci.-n aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4- 14 membered

heterocycloalkyl, Ce-14 ary i-Ci- 6 alkyl-, Ca-i+ cycloalkyl-C -e alkyl-, (5-14 membered heteroaryi)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyi)-C 1.6 alkyl- of R 1 are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

each R a6 , R cf> , and R d6 is independently selected from H, Ci- 6 alkyl, Ci- 6 haloalkyl, C 2.6 alkenyl, C 2-& alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-ir aiyl-Ci-6 alkyl-, Cs-u cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci. 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, wherein the Che alkyl, C 2-& alkenyl, C 2-& alkynyl, C M aryl, Ci- K cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cs-w aryl-Ci- 6 alkyl-, C3-14 cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C ue alkyl- of R ao , R c6 , and R d6 are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents; or any R CR and R d6 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1 , 2, 3, or 4 independently selected R 1 substituents;

each R b6 is independently selected from H, Ci- 6 alkyl, Cue haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ci.-n aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4- 14 membered heterocycloalkyl, 65-14 ary 1-6 i-e alkyl-, C -i+ cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-C ] ^ alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, wherein the C -6 aikyi, C‘ alkenyl, C2-6 alkyny!, 65-14 aryl,€3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, 65-14 ar l-Cw alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalky l)-C]-6 alkyl- of R fc6 are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

each R e6 is independently selected from H, OH, CN, Ci-e alkyl, Ci-e alkoxy, Ci- & haloalkyl, Ci-ehaloalkoxj', 6 2-5 alkenyl, C 2-6 alkynyl, 6 5-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, 6 5-1 aryl-6 i-s alkyl-, C 3-14 cycloalky 1- Ci- 6 alkyl-, (5-14 membered heteroaryl)-C ]-6 alkyl-, and (4-14 membered heterocycioalkyi)-Oi- 6 alkyl-;

each R f6 and R g6 is independently selected from H, Ci-e alkyl, Ci-e alkoxy, Ci- & haloalkyl, Oi-ehaloalkoxy, C2-6 alkenyl, 62-5 alkynyl, 65-14 aryl, 63-14 cycloalkyl, 5-14 membered heteroaiyl, 4-14 membered heterocycloalkyl, 65-14 ary l-Ci- 6 alkyl-, C3..14 cycloalky 1- C i-6 alkyl-, (5-14 membered heteroaryi)-C i-s alkyl-, and (4-14 membered heterocycloalkyl)-6 i- 6 alkyl-;

each R h6 and R l6 is independently selected from H, C - 6 alkyl, haloalkyl, C2-6 alkenyl, C2-6 alkynyl, 65-14 aryl, 63-14 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, 65-1 aryl-61.5 alkyl-, C3-14 cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, and (4-14 membered heteroeyeloalkyi)-O i-s alkyl-;

each R Jf> and R* 6 is independently selected from OH, Ci-ealkoxy, and Ci-ehaloalkoxy; or, any R j6 and R kb attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalky 1 group optionally substituted with 1, 2, 3, or 4 substituents independently selected from 61-5 alkyl and Ci-6 haloalkyl;

each R J is independently selected from 13, halo, oxo, Ci-6 alkyl, 61-5 haloalkyl, C 2 -6 alkenyl, C2-6 alkynyl, 65.14 aryl, 63-1 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, 65-14 ar I-C1-& alkyl-, 63-14 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-6 ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-6i-6 alkyl-, 6N, NO2, OR a/ , SR a? , NHOR 87 , 6(0)R b7 , 6(0)NR c7 R d7 , 6(0)NR c7 (QR a7 ), C(0)0R* 7 , 06(0)R b7 ,

0C(0)NR c7 R d7 , NR c7 R d7 , NR c7 NR c7 R d7 , NR c7 6(0)R b7 , NR c7 C(0)0R a7 , NR c7 6(0)NR c7 R d7 , C(=NR e7 )R b7 , 6(=NR c7 )NR c7 R d7 , NR c7 6(===NR e7 )NR c7 R d? , NR c7 6(===NR e7 )R b7 , NR c7 S(0)R fc7 , NR c7 S(0)NR c7 R d7 , NR c7 S(0> 2 R b7 , NR c7 S(0)(=NR e7 )R b7 , NR c7 S(0) 2 NR c7 R d7 , S(0)R b7 , S(0)NR c7 R d7 , S(0) 2 R h7 , S(0) 2 NR c7 R d? , 0S(0)(=NR e7 )R b7 , 0S(0) 2 R b7 5 SF s , P(0)R i7' R g7 , OPi OiiOR · is OR j. P(0)(0R h7 )(0R’ 7 ), and BR 7 R k7 , wherein the CM alkyl, 62,5 alkenyl, 62,5 alkynyl, Ce- aryl, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, C M * aiyl-C [-6 alkyl-, C3-14 cycloalkyl-Cj-e alkyl-, (5-14 membered heteroaryd)-C 1-6 alkyl-, and (4-14 membered heteroeyeloaikyi)-C[-s alkyl- of R J are each optionally substituted with 1, 2, 3, or 4 independently selected R K substituents;

each R a7 , R c7 , and R d is independently selected from H, Cj- 6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C 2-6 alkynyl, Ce-u aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C M * ar I-C1- & alkyl-, C3- 14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] - 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- wherein the C1-6 alkyl, C 2-6 alkenyl, C 2 « alkynyl, Ce-u aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl,€5-14 atyl-Ci-s alkyl-, C 3-i 4 cycloalkyl-C] -6 alkyl-, (5-14 membered heleroaryl)-C]-6 alkyl-, and (4-14 membered heterocy cloalkyl)-Ci-6 alkyl- of R a ', R c/ , and R d? are each optionally substituted with 1, 2, 3, or 4 independently selected R substituents; or any R c/ and R d7 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R K substituents;

each R b7 is independently selected from H, Ci-e alkyl, Ci-e haloalkyl, C2-6 alkenyl, C 2-6 alkynyl, Ce- aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce- aryl-C 1.5 alkyl-, C 3-14 cycloalky I-C 1 -6 alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, and (4-14 membered heterocy cloaikyi)-Ci-6 alkyl-, wherein the Ci-s alkyl,€2-5 alkenyl, C 2 -s alkynyl, C&-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C * aryl-Ci-e alkyl-, C3-34 cycloalkyl-Ci-s alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloaikyi)~C [-6 alkyl- of R 0/ are each optionally substituted with 1, 2, 3, or 4 independently selected R K substituents;

each R s ' is independently selected from H, OH, CN, Ci-e alkyl, C 2-6 alkenyl, C 1-6 alkoxy, Ci. & haloalkyl, Cj-shaloalkoxy, C2-6 alkynyl, Ce-i aryl, C 3-1 cycloalkyl, 5-14 membered heteroaryl, and 4- 14 membered heterocycloalkyl;

each R f? and R g/ is independently selected from H, Ci-e alkyl, Cue alkoxy, Ci-e haloalkyl, C;i- f! haloalkoxy, C2-6 alkenyl, C 2-6 alkynyl, Ce-w aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w aryl-Cj- 6 alkyl-, Cs-w cycloalkji- Ci- 6 alkyl-, (5-14 membered heteroaryl) -C 1-6 alkyl-, and (4-14 membered heterocycloalky 1)-Ci. & alkyd-;

each R h? and R 1 ' is independently selected from H, Ci- 6 alkyl, Cj^ haloalkyl, C2-6 alkenyl, C 2-f , alkynyl, G M 4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u ary l-Ci-6 alkyl-, C -i + cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-C ] ^ alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-;

each R j7 and R k ' is independently selected from OH, C -salkoxy, and Ci-ehaloalkoxy; or, any R j ' and R k/ attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci-e alky l and Ci-b haloalkyl;

each R is independently selected from H, D, OH, halo, oxo, CN, C(0)0H, NH2, NO2, SFs, C - 6 alkyl, C -e alkoxy, Ci-ehaloalkoxy, C-- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce ¬ l and, C3.14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloaikyi, Ce-ir aryl-Ci- 6 alkyl-, CVw cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky l)-Ci- 6 alkyl-; and

wherein any heteroaryl group of any of the above-recited substituents optionally comprises an N-oxide on any ring-forming nitrogen.

In some embodiments,

each R J is independently selected from 13, halo, oxo, Ci- 6 alkyl, Ci- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&.14 aryl, C 3-1 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloaikyi, C M ar I-C1- & alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered

heteroaryl)-C ] - 6 alkyl-, and (4-14 membered heterocydoalkyl)-Ci-6 alkyl-, CN, NO2, OR a/ , SR a7 , N i !OlC . C(0)R b7 , C(0)NR c7 R d7 , C(0)NR c7 (0R a7 ). C(0)0R* 7 , 0C(0)R b7 ,

0C(0)NR c7 R d7 , NR c7 R d7 , NR c7 NR c7 R d7 , NR c7 C(0)R b7 , NIC ( (0)010 NR c7 C(0)NR c7 R d7 , C(==NR e7 )R b7 , C(=NR e7 )NR c7 R d7 , NR c7 C(===NR e7 )NR c7 R d7 , NR c7 C(=NR e7 )R b7 , NR c7 S(0)R b7 , NR c7 S(0)NR c7 R d7 , N R SiOi -R' . NR c7 S(0)(-NR e7 )R b7 , NR c7 S(0) 2 NR c7 R d7 , S(0)R b7 ,

S(0)NR c7 R d7 , S(0) 2 R b7 , S(0) 2 NR c7 R d? , 0S(0)(=NR e7 )R b7 , 0S(0) 2 R b7 , SFs, P(0)R i7 R g7 , OPi OxOR 1 :M OR i. P(0)(0R h? )(0R 7 ), and HR- R k ;

each R a ', R c ', and R d ' is independently selected from H,€1-5 alkyl, C - 6 haloalkyl, C2-6 alkenyl, C 2-6 alkynyl, C &.14 aryl, C 3-1 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloaikyi, C M aryl-Ci^, alkyl-, C 3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered

heteroaryl)-C ] - 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-;

or any R c ' and R d/ attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14-membered heterocycloaikyi group; and

each R b/ is independently selected from H, Cj-6 alkyl, Cj-6 haloalkyl, C 2-6 alkenyl, C 2-6 alkynyl, Ce-u aryl, 6(3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w ary i-Ci-6 alkyl-, C -i+ cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-C ] ^ alkyl-, and (4-14 membered heterocycloa3kyl)-Ci-6 alkyl-.

In some embodiments,

each R 1 is independently selected from D, halo, oxo, C .-s alkyl, C .-s haloaikyl, C 2.6 alkenyl, C2-6 alkynyl, Ce-w aryl, Cj-w cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyi, Ce-ir aiyl-Ci-6 alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C [- 6 alkyl-, CN, NO2, OR a6 , SR a6 , NHOR a6 , C(0)R b6 , C(0)NR c6 R d6 , C(0)NR c6 (0R a6 ), C(0)OR a6 , OC(0)R b6 ,

GC(0)NR c6 R d6 , NR c5 R d6 , NR c6 NR c6 R d6 , NR c6 C(0)R fc6 , NR c6 C(0)OR af> , NR c6 C(0)NR c5 R d6 , C(=NR e6 )R b6 , C(=NR e6 )NR c6 R d6 , NR c6 C(=NR e6 )NR c6 R d6 , NR c6 C(=NR e6 )R b6 , NR c6 S(0)R b6 , NR c6 S(0)NR c6 R d6 , NR c6 S(0) 2 R b5 , NR c6 S(0)(=NR e6 )R b6 , NR c6 S(0) 2 NR c6 R d6 , S(0)R b6 , S(0)NR c6 R d6 , S(0) 2 R b6 , S(0) 2 NR c6 R d6 , 0S(0)(=NR e6 )R b6 , 0S(0) 2 R b6 , SF 5 , P(0)R f6 R g6 , 0P(0)(0R h6 )(0R l5 ), P(0)(0R h6 )(0R l6 ), and BR j6 R k6 ;

each R a6 , R c6 , and R' fo is independently selected from H, Ci-e alkyl, Ci-e haloaikyl, C 2-6 alkenyl, C 2-6 alkynyl, Ce-w aryl, Cj-w cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyi, Ce- aryl-C 1.5 alkyl-, C 3-14 cycloalky I-C 1-6 alkyl-, (5-14 membered heteroaryl)-Ci^ alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl-;

or any R 06 and R do attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14-membered heterocycloalkyi group; and

each R bo is independently selected from H, C - 6 alkyl, C - 6 haloaikyl, C 2.& alkenyl, C 2-& alkynyl, Ce-w aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyi, Ce-ir aiyl-Ci-6 alkyl-, Cs-u cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci.6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-.

In some embodiments, each R h is independently selected from D, halo, oxo, C - 6 alkyl, Ci-6 haloaikyl, C 2- e alkenyl, C2-6 alkynyl, CN, Ci.& alkoxy, Ci-b haloalkoxy, amino, Ci-6 alkylamino, di-Ci -s alkylamino, Cw, alkylsulfonyl, aminosulfonyl, C - 6 aikyiaminosulfonyi, di-Ci- 6 alkylaminosulfonyl, and C - 6 alkylsulfonylamino; wherein said Cl -6 alkyl is optionally substituted by 1, 2, 3, 4, 5, 6, 7, or 8 independently selected halogens.

In some embodiments, each R 35 , R°, and R d: ’ is independently selected from H, Ci- 6 alkyl, Ci« haloaikyl, C2-6 alkenyl, C« alkynyl, phenyl, C3-7 cycloalkyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyi, phenyl-Ci-e alkyl-, Crw- cyeloalkyi-Ci-e alkyl-, (5-6 membered heteroaryi)-C i- 6 alkyl-, and (4-7 membered heterocycloalkyl)-C ]-6 alkyl-, wherein the Ci- 6 alkyl, C 2-6 alkenyl, C 2-& alkynyl, phenyl, C3- ? cycloalkyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, phenyl-Ci-e alkyl-, C3-7 cycloalky l-Ci-e alkyl-, (5-6 membered heteroaryi)-C -6 alkyl-, and (4-7 membered heterocycloalky 1)-C M alk l- of R aS , R c5 , and R ® are each optionally substituted with 1, 2, 3, or 4 independently selected R 1 substituents;

each R to is independently selected from H, C alkyl, C haloalkyl, C2-6 alkenyl, C2-6 alkynyl, phenyl, C3-7 cycloalkyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, phenyl-C i- 6 alkyl-, C 3-7 cycloalkyl-Ci-e alkyl-, (5-6 membered heteroaryl)-Ci- 6 alkyl-, and (4-7 membered heterocycloalky 1)-C M alkyl-, wherein the Ci-e alkyl, C2-6 alkenyl, C2-6 alkynyl, phenyl, C3-7 cycloalkyl, 5-6 membered heteroaryi, 4-7 membered heterocycloalkyl, phenyl-Ci- 6 alkyl-, Cfr cycloalkyl-C M alkyl-, (5-6 membered heteroaryl)-Ci- 6 alkyl-, and (4-7 membered heterocycloalkyl)-C i- 6 alkyl- of R B: ’ are each optionally substituted with 1, 2, 3, or 4 independently selected R ! substituents;

each R 5 is independently selected from H, OH, CN, C , alkyl, C M , alkoxy, C M , haloalkyl, and C M haioalkoxy;

each R ft and R 83 is independently selected from H, C M alkyl, C M haloalkyl, C2-6 alkenyl, C2-6 alkynyl, phenyl, C 3-7 cycloalkyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, phenyl-Ci-6 alkyl-, C3-7 cycloalky I-C M alkyl-, (5-6 membered heteroaryl)-Ci- 6 alkyl-, and (4-7 membered heterocycloalkyi)-C M alkyl-;

each R to and R 15 is independently selected from H, C M haloalkyl, C alkyl, C 2-6 alkenyl, C2-6 alkynyl, phenyl, C 3-7 cycloalkyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, phenyl-C -6 alkyl-, C3-7 cycloalky 1-C alkyl-, (5-6 membered heteroaryl)-Cj- 6 alkyl-, and (4-7 membered heterocycloalky 1)-O M alkyl-;

each R j5 and R* 5 is independently selected from OH, C M alkoxy, and Ci^haloalkoxy; and

each R 1 is D, halo, oxo, C M alkyl. C M haloalkyl, CS-s alkenyl, C2- S alkynyl, CN, C M alkoxy, Ci- 6 haioalkoxy, amino, C M alkylamino, di-C M alkylamino, C - 6 alkylsulfonyl, aminosulfonyl. C M alkylaminosulfonyl, di-C M alkylaminosulfonyl, and C M

a!ky!su!i:bny!amino.

In some embodiments, each R ! and R 3 is independently selected from D, halo, oxo, C M alkyl, C M haloalkyl, C2-6 alkenyl, C2-6 alkynyl, CN, C M alkoxy. C , haioalkoxy, amino, Ci-6 alkylamino, di-C M alkylamino, C M alkylsulfonyl, aminosulfonyl. C M

alkylaminosulfonyl, di-C M alkylaminosulfonyl, and C M alkylsulfonylamino; and

each R K is independently selected from H, D, OH, halo, oxo, CN, C(0)GH, NH 2 ,

NO2, SFs, CM alkyl C M alkoxy, C M haioalkoxy, C M haloalkyl, C2-6 alkenyl, and C2-6 alkynyl. In some embodiments:

X is N;

R 1 is selected from H, Ci- 6 alkyl, C i-s haloalkyl, C 2 -6 alkenyl, C 2-6 alkynyl, Ce-u axyl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Cns alkyl-, C 3 - .4 cycloalkyl-C 1-6 alkyl-, (5-14 membered heteroaryi)~Cj- 6 alkyl-, (4-14 membered heterocycloalkyl)-C i -6 alkyl-, GR 3i , C(0)R bl , C(0)NR cl R dl , C(0)0R al , C(=NR eI )R bl , C(=NR el )NR cl R dl , S(0)R w , S(0)NR ci R d , Si O) R h i . and S(0) 2 NR cl R dl , wlierein the C ]-5 alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, Cj-w cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cs-w aryl-Ci- 6 alkyl-, C3-14 cycloalk l-Ci-6 alkyl-, (5-14 membered heteroarv4)-C 1-6 alkyl-, and (4-14 membered heteroeyeloalkyl)-C [-s alkyl- of R 1 are each optionally substituted with 1 , 2, 3, 4, 5, 6, 7, or 8 independently selected R a substituents;

R 2 is selected from H, D, halo, Ci- 6 alkyl, Ci- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce- 14 a d,€3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-ir aryi-Ci-6 alkyl-, C3 -14 cycloalkyl-C 1-6 alkyl-, (5-14 membered heieroaryl)-Ci- 6 alkyl-, (4-14 membered heterocycloalkyl)~Ci-6 alkyl-, CN, N0 2 , OR 32 , SR 32 , NHOR 32 , C(0)R b2 ,

C(0)NR e2 R d2 , C(0)NR c2 (0R a2 ), C(0)QR 32 , 0C(0)R b2 , 0C(0)NR c2 R d2 . NR e ¾ d2 ,

NR c2 NR c2 R d2 , NR c2 C(0)R b2 , NR c2 C(0)0R 32 , NR c2 C(0)NR c2 R d2 , C(=NR e2 )R b2 ,

C(=NR e2 )NR c2 R d2 , NR c2 C(=NR e2 )NR c2 R d2 , NR c2 C(=NR e2 )R b2 , NR c2 S(0)NR c2 R d2 ,

\ R' 2 S;OiR h . N R 2 S{0) ! 7 N R Si ()}{ N R '" iR h . NR c2 S(Q) 2 NR c2 R d2 , S(G)R b2 ,

S(0)NR c2 R d2 , S(0) 2 R b2 , S(0) 2 NR c2 R d2 , 0S(0)(=NR e2 )R b2 , 0S(0) 2 R b2 , SFs, P^R* 2 , 0P(0)(0R b2 )(0R l2 ), P(0)(0R h2 )(0R l2 ), and HR- R 1 ' 2 . wherein the C M alkyl, C 2.6 alkenyl, C 2. „ alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-i aiyl-Ci-6 alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycioalkyl)-C ½ alkyl- of R 2 are each optionally substituted with 1 , 2, 3, 4, 5, 6, 7, or 8 independently selected R c substituents;

Cy 1 is C-6-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl, wherein the Cg-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl is optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R h substituents;

provided that when Cy 1 is 4-14 membered heterocycloalkyl, then the 4-14 membered heterocycloalkyl of Cy 1 is other than unsubstituted morpholinyl;

provided that Cy 1 is not pyridin-4-yl optionally substituted with 1, 2, 3, or 4 independently selected R' substituents; provided that Cy 1 is not pyrimidin-4-yl optionally substituted with 1, 2, or 3, independently selected R fc substituents;

provided that Cy 1 is not quinolin-4-yl optionally substituted with 1, 2, 3, 4, 5, or 6 independently selected R substituents;

Cy 2 is Ce- M aryl, C B-M cycloalkyl, 5-14 mem bered heteroaryl, or 4-14 membered heterocycloalkyl, wherein the Ce-u aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl is optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R 1' substituents;

each R al , R cl , R d! , R a2 , R c2 , and R d2 is independently selected from H, Cw alkyl, Cw haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C M 4 aryl, Cs-wcycloalkyl, 5-14 membered heteroaryl, 4- 14 membered heterocycloalkyl, C 4 aryl-Ci-6 alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered he ternary l)-Ci- & alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, wherein the C]- 6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C&.14 aryl-Ci-6 alkyl-, C3-14 cycloalky 1-Cw alkyl-, (5-14 membered heteroaryl) -Cs-6 alkyl-, and (4-14 membered heterocycloalkyl)-C ] -6 alkyl- of R ai , R cl , R d] , R az , R° 2 , and R d2 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R & substituents;

or, any R cl and R di attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R <J substituents;

or any R c2 and R d2 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1 , 2, 3, or 4 independently selected R ' substituents;

each R bi and R b2 is independently selected from H, C.-s alkyl, C.-s haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C M 4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w ary i-C 1-6 alkyl-, Cj- H cycloalkyl-Cj-e alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloa3kyl)-Ci-6 alkyl-, wherein the Cj-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C&-34 aryl,€3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C 4 aryl-Cw alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] - 6 alkyl-, and (4-14 membered heterocycloalky l)-Ci- 6 alkyl- of R fci , R b2 , and R b3 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R u substituents; each R sl and R e2 is independently selected from H, OH, CN, CM alkyl, Ci-s alkoxy,

C i-b haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl,€ 6 - aryl-Cj- 6 alkyl-, Cs-u eyeloalkyi- Ci- 6 alkyl-, (5-14 membered heteroaryl) -C1-6 alkyl-, and (4-14 membered heterocycloalky 1)-Ci. & alkyl-;

each R c and R g2 is independently selected from H, C -- 6 alkyl, Ci-e alkoxy, Ci- 6 haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ci.-n aryl, C3-14 cycloalky 1, 5-14 membered heteroary l, 4-14 membered heterocycloalkyl, C M 4 ary l-Ci- 6 alkyl-, C3-14 cycloalky 1- Ci- d alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R h2 and R l3 is independently selected from H, Ci-s alkyl, Ci^ haloalkyl, C2-6 alkenyl,€2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-i aiyl-Ci-6 alkyl-, Cs-u cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaiyl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R j2 and R* 2 is independently selected from OH, Cj-s alkoxy, and Ci-ehaloalkoxy; or any R j2 and R k2 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci-e alkyl and C 1-6 haloalkyl;

each R b , R c , R r . R F , and R G is independently selected from D, halo, oxo, Ci-b alkyl, Ci- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl,€ 6 - ·4 aryl, C3-1 cycloalkyd, 5-14 membered heteroaryl, 4-14 membered heterocycloalky 1, C&.14 ary l-Ci-6 alkyl-, C3-14 cycloalky 1-Cw alkyl-, (5-14 membered heteroaryl)-Ci -f, alkyl-, (4-14 membered heterocycloalkyi)-Ci -f, alkyl-, CN,

0P(0)(0R b4 )(0R 14 ), P(0)(0R M )(0R i4 ), and BR j+ R k4 , wherein the Ci -6 alkyl, C2-6 alkenyl, C 2-6 alkynyl, Ce-w aryl, C3- M cycloalkyl, 5-14 membered heteroaryd, 4-14 membered

heterocycloalkyl, Ce-i4 aryl-Cs- 6 alkyl-, Cs- M eycloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci. 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R B , R c , R E , R F , and R & are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H substituents; each R a+ , R c4 , and R d4 is independently selected from H, Ci-e alkyl, Ci-e haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heieroaryl, 4-14 membered heterocycloalkyl, Ce-w aryl-C -6 alkyl-, Cs-w eyeloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci. 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, wherein the Ci-e alkyl, C2-6 alkenyl, C2-6 alkynyl, CVw aryl,€3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryi-C -e alkyl-, Cs-w cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C i-e alkyl- ofR 84 , R c4 , and R d4 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R h substituents;

or, any K c+ and R a4 attached to the same N atom, together with the N atom to which they are attached, optionally form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heieroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R H substituents;

each R M is independently selected from H, Ci-e alkyl, Ci-e haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&-14 aryl, C3-14 cycloalkyl, 5-14 membered heieroaryl, 4-14 membered

heterocycloalkyl, Ce-n ary I-C1- & alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] - 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, wherein the C -e alkyl, C2-6 alkenyl, C2-6 alkynyl, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heieroaryl, 4-14 membered heterocycloalkyl, Cs-w aryl-Ci-e alkyl-, CVw cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci. 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R b4 are each optionally substituted with 1 , 2, 3, 4, 5, 6, 7, or 8 independently selected R H substituents; each R e4 is independently selected from H, OH, CN, Ci-e alkyl, Ci^ alkoxy, Ci-e haloalkyl, Ci-ghaloalkoxy, C2-6 alkenyl,€2-5 alkynyl, C G-M aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u axyl-Ci-e alkyl-, C3-14 cycloalkyl- Ci- d alkyl-, (5-14 membered heteroary r l)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alky 1-;

each R f4 and R s‘! is independently selected from H, Ci-e alkyl, Ci-ealkoxy, Ci-e haloalkyl, Ci-ehaloalkoxy, C2-6 alkeny l, C2-6 alkynyl, Ce-w aiyl, C3- W cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w ary!-Cs-e alkyl-, Cs-w cycloalkyi- Ci- 6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky 1)-Ci. & alkyd-;

each R h4 and R' 4 is independently selected from H, C -b alkyl, C -b haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C f .-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w aryi-Ci-e alkyl-, C -i+ cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloaikyl)-Ci-6 alkyl-;

each R Jd and R k4 is independently selected from OH, C -s alkoxy, and C i-ehaloalkoxy; or, any R j4 and R k4 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci-e alkyl and Ci- 6 haloalkyl; each R H is independently selected from D, halo, oxo, Ci- 6 alkyl, Cw haloalkyl, C 2-6 alkenyl, C2-6 alkynyi, Ce-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci-e alkyl-, C3- 1 cycloalky l-Ci-b alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, (4-14 membered heterocycloalky l)-Ci-6 alkyl-, CN, NO2, OR 35 , SR 35 ,

0P(0)(0R h5 )(0R l5 ), P(0)(0R bi )(0R 15 ), and BR j5 R k5 , wherein the C ; ,·. alkyl, ( ' ·,·. alkenyl, ( ' ·,·. alkynyi, C &-J 4 aryl, C B-U cycloalkyl, 5-14 membered heteroaryl, 4- 14 membered

heterocycloalkyl, Ce-w aryl-Ci- 6 alkyl-, C3-i4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky 1)-C 1.6 alkyl- of R H are each optionally substituted with 1, 2, 3, or 4 independently selected R : substituents;

each R a \ R c5 , and R db is independently selected from H, Ci- 6 alkyl, Ci- 6 haloalkyl, C 2-6 alkenyl, C 2-f, alkynyi, Ce-w aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-i aiyl-Ci-6 alkyl-, Cs- H cycloalkyi-Ci-e alkyl-, (5-14 membered heteroatyl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, wherein the C1.6 alkyl, C 2-6 alkenyl, C2-6 alkynyi, Ce-w aryl, Ci- K cycloalkyl, 5-14 membered heteroaryd, 4-14 membered heterocycloalkyl, Cs-w aryl-Ci^ alkyl-, C3- 14 cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C ½ alkyl- of R 35 , R c5 , and R* 35 are each optionally substituted with 1, 2, 3, or 4 independently selected R ! substituents; or any R cS and R d5 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1 , 2, 3, or 4 independently selected R 1 substituents;

each R b5 is independently selected from H, C - 6 alkyl, Cue haloalkyl, C 2-6 alkenyl, C2-6 alkynyi, C &-J 4 aryl, C B-U cycloalkyl, 5-14 membered heteroaryl, 4- 14 membered heterocycloalkyl, Ce-u aryl-Ci^ alkyl-, Cs-ir cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, wherein the CM alkyl, C2-6 alkenyl, C 2-6 alkymyl, C &-14 aryl,€3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Cw alkyl-, C 3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky 1)-CM alkyl- of R b5 are each optionally substituted with 1, 2, 3, or 4 independently selected R 1 substituents;

each R e5 is independently selected from H, OH, CN, CM alkyl, Ci-s alkoxy, Ci- & haloalkyl, Ci-ehaioalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ce- aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci-e alkyl-, C3-1 cycloalky 1- C -e alkyl-, (5-14 membered heteroaryl)-C ]-6 alkyl-, and (4-14 membered heterocycloalkyi)-C - 6 alkyl-;

each R e and R is independently selected from H, Cue alkyl, Ci-e alkoxy, Ci- & haloalkyl, C -ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryi, C3- M cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u ary l-Ci- 6 alkyl-, C3..14 cycloalky 1- C i-6 alkyl-, (5-14 membered heteroaryl)-C i-s alkyl-, and (4-14 membered heterocycloalkyl)-C i- 6 alkyl-;

each R h5 and R l5 is independently selected from H, C - 6 alkyl, haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryd, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C 1.5 alkyl-, C3-1 cycloalky l-Ci-b alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, and (4-14 membered heterocyeloaikyi)-C i-6 alkyl-;

each R Jd and R k5 is independently selected from OH, Ci-e alkoxy, and Ci-ehaloalkoxy; or, any R j5 and R^ attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalky 1 group optionally substituted with 1, 2, 3, or 4 substituents independently selected from CM alkyl and Ci- 6 haloalkyl;

each R 1 is independently selected from 13, halo, oxo, CM alkyl, CM haloalkyl, C 2-6 alkenyl, C 2-6 alkynyl, C &.14 aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u ary I-C 1 -& alkyl-, C 3-14 cycloalkyl-Cw alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, CN, NO2, OR ao , SR a6 , NHOR 85 , C(0)R b6 , C(0)NR c6 R d6 , C(0)NR c6 (QR afr ), C(0)0R 36 , OC(Q)R b6 ,

( X (O)N R- R !: \ NR c6 R d6 , NR c6 NR c6 R d6 , NR c6 C(0)R b6 , NR c6 C(0)0R a6 , NR c6 C(0)NR c5 R d6 , C(===NR e6 )R b6 , C(==NR e6 )NR c6 R d6 , NR c6 C(===NR e6 )NR c6 R df> , NR c6 C(===NR e6 )R b6 , NR c6 S(0)R b6 ,

NR c6 S(0)NR c6 R d6 , NR c6 S(0) 2 R b6 , NR c6 S(0)(=NR e6 )R b6 , NR c6 S(0) 2 NR c6 R d6 , S(0)R b6 , S(0)NR c6 R d6 , S(0) 2 R b6 , S(0) 2 NR e6 R d6 , 0S(0)(=NR e6 )R b6 , 0S(0) 2 R b6 , SF s , P(0)R f5 R g5 ,

0P(0)(0R h6 )(0R l6 ), P(0)(0R n6 )(0R 6 ), and BR ,6 R k6 , wherein the CM, alkyl, C ? , 6 alkeny l, C 2-6 alkynyl, Ce- aryl, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, C M * aiyl-C -6 alkyl-, C3-14 cycloalkyl-Cj-e alkyl-, (5-14 membered heteroaryd)-C 1-6 alkyl-, and (4-14 membered heteroeyeloaikyl)-C -s alkyl- of R 1 are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

each R 3b , R c6 , and R d6 is independently selected from H, C - 6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C 2-6 alkynyl, Ce-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C M * ar I-C1- & alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] - 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, wherein the C -e alkyl, C2-6 alkenyl, C2-6 alkynyl, C&.34 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cs-w aryi-C -e alkyl-, CVw cyctoalkyl-Ci-e alkyl-, (5-14 membered heleroaryl)-C -6 alkyl-, and (4-14 membered heterocy cloalkyl)-Ci-6 alkyl- of R 36 , R c5 , and R d6 are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

or any R c6 and R df> attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with i, 2, 3, or 4 independently selected R J substituents;

each R b6 is independently selected from H, Ci-e alkyl, Ci-e haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce- aryd, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce- aryl-C 1.5 alkyl-, C3-14 cycloalky I-C1-6 alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, and (4-14 membered heterocyeloalkyl)-Ci-s alkyl-, wherein the Ci-s alkyl,€2-5 alkenyl, C 2 « alkynyl, C&-14 aryd, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C * aryl-Ci-e alkyl-, C 3 -u cycioalkyl-Ci-s alkyl-, (5-14 membered heteroaryi)-Ci- 6 alkyl-, and (4-14 membered heterocycloaikyi)~C [-6 alkyl- of R 00 are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

each R 86 is independently selected from H, OH, CN, Cj- 6 alkyl, Ci-e alkoxy, Cw haloalkyl, Ci-ehaloalkoxy, C 2.6 alkenyl, C 2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroasyl, 4-14 membered heterocycloalkyl, CM* ary l-Ci-6 alkyl-, C 3-i 4 cycloalky 1- Ci- 6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloaiky{)~Ci- 6 alkyl-;

each R fb and R g5 is independently selected from H, Ci- 6 alkyl, C -e alkoxy, Ci-e haloalkyl, Ci-ghaloalkoxy, C 2-6 alkenyl, C 2 « alkynyl, Ce-n aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci-e alkyl-, C3-14 cycloalkyl- Ci- 6 alkyl-, (5-14 membered heteroaiyli-Ci-g alkyl-, and (4-14 membered heterocycloalkyil-C - 6 alkyl-; each R ho and R l5 is independently selected from H, C aikyi, C haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, ( M-M aryl-C M alkyl-, Cs- M cycloa kyi-C M alkyl-, (5-14 membered heteroaryl)-Ci.6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-;

each R j6 and R K6 is independently selected from OH, C -salkoxy, and Ci-shaloalkoxy; or, any R j6 and R kf> attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C alkyl and C M haloalkyl;

each R J is independently selected from D, halo, oxo, C M alkyl, C M haloalkyl, C M alkenyl, C M alkynyl, C &-K aryl, C-t-u cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w aryl-C M alkyl-, C - cycloalkyl-C -e alkyl-, (5-14 membered

heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, CN, NO2, OR 3 ', SR a7 , NHOR a7 , C(0)R b7 , C(0)NR c7 R d7 , C(0)NR c7 (0R a7 ), C(0)0R a7 , 0C(0)R b7 ,

0C(0)NR c7 R d7 , NR c7 R d7 , NR c7 NR c7 R d7 , NR c7 C(0)R b7 , NR c7 C(0)QR a7 , NR c7 C(G)NR c7 R d7 , C(=NR e7 )R b7 , C(=NR e7 )NR c7 R d7 , NR c7 C(=NR e7 VNR c7 R d7 , NR c7 C(=NR e7 )R b7 , NR c7 S(0)R b7 , NR e7 S (0)NR c? R d? , N R ' SiOi -R 1' . NR c7 S(0)(=NR e7 )R b7 , NR c7 S(0) 2 NR c7 R d7 , S(0)R b7 ,

S(0)NR c7 R d7 , SsOi -R· . S(0) 2 NR c7 R d7 , 0S(0)(=NR e7 )R b7 , 0S(0) 2 R b7 , SF 5 , P;OiR ' Rf . OlhOHOR · )(OR !. P(0)(0R h7 )(0R l7 ), and HR R k . wherein the C M alkyl, C M alkenyl, C2-6 alkynyl, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryd, 4-14 membered

heterocycloalkyl, Ce-i4 aryl-Cj-e alkyd-, CN- M eycloalkyi-Ci-e alkyl-, (5-14 membered

heteroaiyl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R J are each optionally substituted with 1 , 2, 3, or 4 independently selected R substituents;

each R a ', R c/ , and R d/ is independently selected from H, C M alkyl, C M haloalkyl, C M alkenyl, C 2 -s alkynyl, C&-14 aryd, C 3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C M alkyl-,€3-14 cycloalkyl-C M alkyl-, (5-14 membered

heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky 1)-C M alkyl- wherein the C M alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C -u cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C -e alkyl-, CS- M cycloalky 1-C M alkyl-, (5-14 membered heteroaryi)-C M alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R a/ , R c ', and R d ' are each optionally substituted with 1, 2, 3, or 4 independently selected R K substituents; or any R c/ and R d ' attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R K substituents; each R b/ is independently selected from H, Ci- 6 alky l, Ci- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C3- H cycloalkyl, 5-14 membered heteroaryi, 4-14 membered

heterocycloalkyl, CX-w aryl-Cs- 6 alkyl-, Cs-w eyeloalkyi-Ci-e alkyl-, (5-14 membered heteroaiyl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, wherein the C1.6 alkyl, C2-6 alkenyl, C2-6 alkynyl, CV 14 aryl, Ci- K cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C -e alkyl-, CS- M cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heierocycloalkyl)-C ue alkyl- of R s? are each optionally substituted with 1 , 2, 3, or 4 independently selected R substituents;

each R e ' is independently selected from H, OH, CN, Cue alkyl, C2-6 alkenyl, Ci-e alkoxy, Ci^ haloalkyl, Cwhaloalkoxy, C2-6 alkynyl, C M * aryl, Cs-wcycloalkyl, 5-14 membered heteroaryi, and 4-14 membered heterocycloalkyl;

each R^ and R s ' is independently selected from H, Ci-e alkyl, C [-6 alkoxy, Ci- & haloalkyl, C -ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryi, C3- H cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-i4 ar l-Ci-6 alkyl-, C3..14 cycloalky 1- C i-6 alkyl-, (5-14 membered heteroaryl)-Ci-s alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R h7 and R 1 ' is independently selected from H, C - 6 alkyl, haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryd, C3-14 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, Ce- aryl-C 1 -5 alkyl-, C3-14 cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, and (4-14 membered heterocycloalkyi)-Ci-s alkyl-;

each R J ' and R K/ is independently selected from OH, Ci- & alkoxy, and Ci-ehaloalkoxy; or, any R j7 and R k ' attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalky 1 group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci-e alkyl and C 1.6 haloalkyl;

each R K is independently selected from H, D, OH, halo, oxo, CN, C(0)OH, NH 2,

NO2, SF 5 , C I -6 alkyl, Ci-6 alkoxy, Ci-ehaloalkoxy, Ci-e haloalkyl, C2-6 alkenyl, C2.6 alkynyl, Ce- 14 aryl, C3-34 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalky 1, Ce-i4 aryl-Ci- 6 alkyl-, C3-14 cycloalkyl-Ci- 6 alkyl-, (5-14 membered heteroaiyl)-Ci_6 alkyl-, and (4-14 membered heterocycloalky3)-Ci- 6 alkyl-; and

wherein any heteroaryi group of any of the above-recited substituents optionally comprises an N-oxide on any ring-forming nitrogen

in some embodiments;

X is N;

R 1 is selected from H, CVe alkyl, C2-6 alkenyl, C2-6 alkynyl, and Cw haloalkyl; R 2 is selected from H, D, halo, Ci-s alkyl, Ci-s haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce- i4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C C-M aryl-Ci-6 alkyl-, CVw cyctoalkyl-Ci-e alkyl-, (5-14 membered heteroaryi)~Ci-6 alkyl-, (4-14 membered heterocycloalky 1)-Ci. 5 alkyl-, CN, N0 2 , OK" ' . SR w M IOR" . C(0)R b2 ,

C(0)NR c2 R d2 , C(0)NR c2 (0R a2 ), C(0)0R a2 , 0C(0)R b2 , 0C(0)NR c2 R d2 , NR c2 R d2 ,

NR e2 NR c2 R d2 , NR c2 C(0)R b2 , NR c2 C(0)0R a \ NR c2 C(0)NR c2 R d2 , C(=NR e2 )R b2 ,

C(=NR e2 )NR c2 R d2 , NR c2 C(=NR e2 )NR c2 R d2 , NR c2 C(=NR e2 )R b2 , NR c2 S(0)NR c2 R d2 ,

NR c2 S(0)R b2 , NR c2 S(0) 2 R b2 , NR c2 S(0)(=NR e2 )R b2 , NR c2 S(0) 2 NR c2 R d2 , S(0)R b2 ,

SiOjN R· R ;i . S(0) 2 R b2 , S(0) 2 NR c2 R d2 , 0S(0)(=NR e2 )R b2 , 0S(0) 2 R b2 , SF 5 , P(0)R fi R 82 , OP OXOR^XQR 12 ), P(0)(0R !I2 )(0R 12 ), and BR j3 R k2 , wherein the C -e alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce- aryl, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalky 1, C M * aiy r i-C i-b alkyl-, C3-14 cycloalkyl-Cj-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl- of R 2 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R c substituents;

Cy 1 is C W 4 aryl, C J-M cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl, wherein the C S-M aryl, C 3-i4 cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl is optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R 11 or R M substituents;

provided that when Cy 1 is 4-14 membered heterocycloalkyl, then the 4-14 membered heterocycloalkyl of Cy 1 is other than unsubstituted morpholinyl;

Cy 2 is C&-14 aryl, C 3-i4 cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalky 1, wherein the C5-14 aryl, C 3-] 4 cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl is optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R r substituents;

each R 32 , R c2 , and R d2 is independently selected from H, Ci-b alkyl, Ci-b haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C M * ary I-C1- & alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] - 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, wherein the C -e alkyl, C2-6 alkenyl, C2- & alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CX-w aryl-Ci-e alkyl-, CVw cyctoalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci. 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R 3 , R c2 , and R d2 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R & substituents; or any R c2 and R d2 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R° substituents;

each R b2 is independently selected from H, Cue alkyl. Cue haloalky!, C2-6 alkenyl, C2-6 aikynyl, Ce-u aryl, C3- H cycioalkyi, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, C w ar I-C1- & alkyl-, C3-14 cycloalkyl-Cw alkyl-, (5-14 membered heteroaryl)-C ] - 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, wherein the Cj-e alkyl, C2-6 alkenyl, C2-6 aikynyl, C&.34 aryl, C3-1 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C 6-H aryl-Ci-e alkyl-, CVw cyctoalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C]- 6 alkyl-, and (4-14 membered heterocy cloalkyl)-Ci- 6 alkyl- of R b2 are each optionally substituted with 1 , 2, 3, 4, 5, 6, 7, or 8 independently selected R & substituents; each R e is independently selected from H, OH, CN, Ci-e alkyl, Cue alkoxy, Ci-e haloalkyl, Ci-ehaloalkoxy, C2-6 alkenyl,€2-5 aikynyl, Ce-ir aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C M 4 axyl-Ci-e alkyl-, C5-14 cycloalkyl- Ci- d alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R 12 and R g2 is independently selected from H, Ci-e alkyl, Cue haloalkyl, Ci-e alkoxy, Ci. & haloalkyl, Cj-shaloalkoxy, C2-6 alkenyl, C2-6 aikynyl, Cs-ir aryl, Csur cycloalkyl, 5-14 membered heteroaiyl, 4-14 membered heterocycloalkyl, C S-H aryl-C 1-6 alkyl-, C3- 14 cycloalkyl-C 1-6 alk l-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky l)-Ci- 6 alkyl-;

each R 12 and R i ; is independently selected from H, Cj-e alkyl, Cj-e haloalkyl, C2-6 alkenyl, C2-6 aikynyl, C&-14 aryd, C3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C i-e alkyl-, C 3 -i 4 cycloalkyl-Cj- 6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky l)-Ci- 6 alkyl-;

each R J and R K is independently selected from OH, C3-6 alkoxy, and Ci-ghaloalkoxy; or any R' 2 and R K attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Cj- 6 alkyl and Cj- 6 haloalkyl;

each R c , R E , R M , R\ and R° is independently selected from D, halo, oxo, C-- 6 alkyl, Ci-e haloalkyl, C2-6 alkenyl, C2-6 aikynyl, CS- M aryd, C3- 14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-n ar l-C] - 6 alkyl-, Cs-ircycioalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C i- 6 alkyl-, (4-14 membered heterocy cloalkyl)-C [- 6 alkyl-, CN,

0P(0)(0R M )(0R i4 ), P(0)(0R b4 )(0R 14 ), and BR j4 R t4 , wherein the C i A alkyl, ( ' ·,·. alkenyl, ( ' .,·. alkynyl, C &-J 4 aryl, C B-U cycloalkyl, 3-14 membered heteroaryl, 4- 14 membered

heierocycloalkyi, Ce-w ary' l-Ci- 6 alkyl-, Ca-i+ cycloalkyl-Cj-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- of R c , R E , R M , R " , and R° are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R h substituents;

each R a+ , R c4 , and R d4 is independently selected from H, Cj- 6 alkyl, Cj- 6 haloalkyl, C 2-6 alkenyl, C 2-6 alkynyl, C&-14 aryl, C3-u cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w ar l-Ci-6 alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyi)-Cs- 6 alkyl-, wherein the Cj- 6 alkyl, C2-6 alkenyl, C2-6 alkynyl,€5-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C -r ary 1-Cw alkyl-, C3- M cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryl)-Cj-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- of R a4 , R c4 , and R d4 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R' 1 substituents;

or, any R c4 and R d4 attached to the same N atom, together with the N atom to which they are attached, optionally form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R ri substituents;

each R b4 is independently selected from H, Ci-e alkyl, Ci-e haloalkyl, C2-6 alkenyl, C 2 « alkynyl, C&-J4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4- 14 membered

heierocycloalkyi, Ce-14 ary' 1-C 1-6 alkyl-, Ca-i+ cycloalkyl-Cj-e alkyl-, (5-14 membered heteroary l)-Cj- 6 alkyl-, and (4-14 membered heterocycloalky l)-Ci- 6 alkyl-, w'herein the Cj- 6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C&-14 aryl, Cs-i+ cyeloalkyi, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CS- M ar l-Cw alkyl-, C3-14 cycloalky 1-C 1-6 alkyl-, (5-14 membered heteroaryl)-Cj-6 alkyl-, and (4-14 membered heterocycloalkyl)-Cj-6 alkyl- of R b4 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R 11 substituents; each R 84 is independently selected from H, OH, CN, CM alky l, C -e alkoxy, CM haloalkyl, C;i- f! haloa3koxy, C2-6 alkenyl, C2-6 alkynyl, Ce-w aiyl, C3- W cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl,€ 6 - aryl-C - 6 alkyl-, Cs-u eyeloalkyi- Ci- 6 alkyl-, (5-14 membered heteroaryl) -C1-6 alkyl-, and (4-14 membered heterocycloalky 1)-Ci. & alkyl-;

each R f4 and R g4 is independently selected from H, CM alkyl, Ci-e alkoxy, C haloalkyl, C -ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, (M-M aryl, C 3-14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CM 4 ary l-Ci- 6 alkyl-, C 3 -1 4 cycloalky 1- CM alkyl-, (5-14 membered heteroaryl)-C alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R M and R 14 is independently selected from H, CM alkyl, CM haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-ir aiyl-Ci-6 alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci.6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-;

each R j4 and R K4 is independently selected from OH, C -s alkoxy, and Ci-shaloalkoxy; or, any R J+ and R k4 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci-e alkyl and C M haloalkyl;

each R H is independently selected from D, halo, oxo, CM alkyl, CM haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C & -K aryl, C-t-u cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w ary l-Ci-6 alkyl-, C3-14 eyeloalkyl-Cw alkyl-, (5-14 membered heteroaryl)-C ] .s alkyl-, (4-14 membered heterocycloalky l)-Ci-6 alky!-, CN, NO2, OR 3 , SR ®5 ,

0P(0)(0R bi )(0R l5 ), P(0)(0R h5 )(0R l5 ), and H - R 1 ' " . wherein the CM alkyl, CM alkenyl, C2-6 alkynyl, Ce-w aryl, C3- H cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, C 6 -i4 aryl-C M alkyl-, C3-i4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaiyl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C ½ alkyl- of R h are each optionally substituted with 1 , 2, 3, or 4 independently selected R 1 substituents;

each R 35 , R° 5 , and R d5 is independently selected from H, CM alkyl, CM haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ci.-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w ary i-Ci-e alkyl-, Cj-i + cycloalkyl-Cj-e alkyl-, (5-14 membered heteroaryl)-C ] ^ alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, wherein the Cj-6 aikyi, C‘ alkenyl, C2-6 alkyny!, C &-K aryl,€3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cg-n ar l-Cw alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] - 6 alkyl-, and (4-14 membered heterocycloalky l)-C - 6 alkyl- of R a5 , R c \ and R d5 are each optionally substituted with 1, 2, 3, or 4 independently selected R ! substituents;

or any R c5 and R ds attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R : substituents;

each R to is independently selected from H, Cj-g alky l, C2-6 alkenyl, C2-6 alkynyl, Cg- 14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cg-w aryl- Ci- 6 alkyl-, Cs-u cycloalkyl-Ci-g alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, wherein the Ci-g alkyl,€2-5 alkenyl, C2-6 alkynyl, Cg. 14 aryd, Cs-w cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C S-M aryl-Ci-6 alkyl-, C3.14 cycloalky -Ci-g alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl- of R to are each optionally substituted with 1, 2, 3, or 4 independently selected R ! substituents;

each R e is independently selected from H, OH, CN, Ci-e alkyl, Ci-e alkoxy , Ci-g haloalkyl, Cj-ghaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Cg-u aryl, Ca-s cycloalkyl, 5-14 membered heteroaiyl, 4-14 membered heterocycloalkyl, Cg-14 aryl-Ci- 6 alkyl-, C3..14 cycloalky 1- C [-6 alkyl-, (5-14 membered he teroaiyl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R ft and R 83 is independently selected from H, Ci-g alkyl, Ci- 6 alkoxy, Ci-g haloalkyl, Ci-ghaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ca-u aryd, C3-i4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalky 1, Cg.44 aryl-Ci-g alkyl-, C3-14 cycloalky 1- Ci- f, alkyl-, (5-14 membered heteroaryl) -Ci-g alkyl-, and (4-14 membered heterocycloalkyl)-Cj- 6 alkyl-;

each R to and R' 5 is independently selected from H, Ci- 6 alkyl, Ci- 6 haloalky l, C2-6 alkenyl, C 2-6 alkynyl, Cg-k aryl, C-t-u cycloalkyl, 5-14 membered heteroaiyl, 4-14 membered heterocycloalkyl, Ce-w ary l-Ci-6 alkyl-, C3-14 cycloalkyl-Cw alkyl-, (5-14 membered heteroaryl)-C ] - 6 alkyl-, and (4-14 membered heterocycloalkyl)-C ] - 6 alkyl-;

each R·' 5 and R ki is independently selected from OH, Cj-g alkoxy, and Ci-ghaloalkoxy; or, any R j5 and R k? ' attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C - 6 alkyl and C - 6 haloalkyl; each R 1 is independently selected from D, halo, oxo, C .-s alkyl, C .-s haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C B-H cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-ir aiyl-Ci-6 alkyl-, Cs-u cycloalkyi-Ci-e alkyl-, (5-14 membered heteroarvd)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C -6 alkyl-, CN, NO2, OR a6 ,

0P(0)(0R h6 )(0R l6 ), P(0)(0R h6 )(0R 16 ), and BR¾ k6 , wherein the C M alkyl, C 2-6 alkenyl, C 2.6 alkynyl, C&-14 aryl, C3-1+ cycloalk l, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-u aryl-C i-e alkyl-, C B -i 4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky 1)-C 1.6 alkyl- of R 1 are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

each R 86 , R cf> , and R d6 is independently selected from H, C -b alkyl, C -b haloalkyl, C2-6 alkenyl, C 2- e alkynyl, C<5-i 4 aryl, C3-1 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-i4 aryl-C -e alkyd-, Cs-w cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, wherein the Ci-e alkyl, C 2-& alkenyl, C 2-& alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C -e alkyl-, CS- M cycloalky l-Ci^ alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R 3R , R c5 , and R d6 are each optionally substituted with 1 , 2, 3, or 4 independently selected R 1 substituents; or any R co and R d6 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroary l or 4-14 membered heterocycloalkyl group is optionally substituted with 1 , 2, 3, or 4 independently selected R J substituents;

each R fc5 is independently selected from H, Cue alkyl. Cue haloalkyl, C 2-6 alkenyl, C 2-& alkynyl, C &-14 aryl,€ 3-14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-u aryl-Ci-e alkyl-,€ 3-14 cycloalkyl-Ci- 6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky 1)-C R, alkyl-, wherein the CM alkyl, C 2 -e alkenyl, C 2 -e alkynyl, C &-J 4 aryl, C J-M cycloalky 3, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C -e alkyl-, C 3-i 4 cycloalkyl-C M alkyl-, (5-14 membered heteroaryl)-C ] ^ alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R b6 are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

each R e6 is independently selected from H, OH, CN, C M alkyl, C .-s alkoxy, Ci- 6 haloalkyl, C M haloalkoxy, C2-6 alkenyl, C 2-& alkynyl, Ce-u aryl, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-i4 aiyl-Ci- 6 alkyl-, C 3-i 4 cycloalkyl- Ci- f, alkyl-, (5-14 membered heteroaryl)-C ]-6 alkyl-, and (4-14 membered heterocycloalkyl)-C - 6 alkyl-;

each R ® and R g6 is independently selected from H, Cm, alkyl, Ci-ealkoxy, Ci- 6 haloalkyl, Ci- 6 haloalkoxy, C2-6 alkenyl, C 2-6 alkynyl, C K aryl, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C M 4 aryl-C alkyl-, C 3-i 4 cycloalky 1- C -6 alkyl-, (5-14 membered heteroaryl)-C alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R h6 and R 5 is independently selected from H, C alkyl, C M haloalkyl, C 2.6 alkenyl, C M alkynyl, Ce-w aryl, Cj-w cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C 1 -5 alkyl-, C 3-14 cycloalky l-Ci-6 alkyl-, (5-14 membered heteroar l)-Ci-6 alkyl-, and (4-14 membered keterocycloalkyl)-C M alkyl-;

each R Jf> and R k5 is independently selected from OH, Ci-e alkoxy, and C -ehaloalkoxy; or, any R |6 and R k6 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-mem bered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C M alkyl and Ci- 6 haloalkyl;

each R J is independently selected from D, halo, oxo. CM alkyl. CM haloalkyl, CM alkenyl, C M alkynyl, Ce-u aryl, C 3- u cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w ary 1-C M alkyl-, C3-14 eyeloalkyl-C M alkyl-, (5-14 membered heteroaryl)-C M alkyl-, and (4-14 membered heterocycloalkyi)-Cs-6 alkyl-, CN, N0 2 , OR a7 , SR' . NHOR a7 , C(0)R b7 , C(0)NR c7 R d7 , C(0)NR c7 (0R a7 ). ( (OiOR . 0C(0)R b7 ,

0C(0)NR c7 R d7 , NR c7 R d7 , NR c7 NR c7 R d7 , NR c7 C(0)R b7 , NR c7 C(0)0R a7 , NR c7 C(0)NR c7 R d7 ,

( ' ; N R ; )R b . C(=NR e7 )NR c7 R d7 , NR c7 C(=NR e7 )NR c7 R d7 , N R ' C( \ R ; )R h . NR c7 S(0)R b7 , NR c7 S(0)NR c7 R d? , N R Si Oi -R 1' . NR c7 S(0)(=NR e7 )R b? , NR c7 S(0) 2 NR c7 R d7 , S(0)R b7 , S(0)NR c7 R d7 , S(0) .R !' . S(0) 2 NR c7 R d7 0S(0)(=NR e7 )R b7 , 0S(0) 2 R b7 , SF s , P;OiR ' R/ . OP(0)(OR b, )(OR !/ ), P(0)(OR h/ )(OR i 7 ), and BR J / R k/ , wherein the C M alkyl, C M alkenyl, C M alkynyl, Ce-u atyl, C 3-i 4 cycloalkyl, 5-14 membered heteroaryd, 4-14 membered

heterocycloalkyl, Ce-ir aryl-Ci- 6 alkyl-, CN-u cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-C]-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R J are each optionally substituted with 1 , 2, 3, or 4 independently selected R substituents;

each R a/ , R 0 ', and R d7 is independently selected from H, C i-s alkyl, C i-s haloalkyl, C 2-6 alkenyl, C 2-6 alkynyl, C&-14 aryl, C 3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C i-e alkyl-, C3-i 4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocy cloalky 1)-C R> alkyl- wherein the Ci-e alkyl, C 2-6 alkenyl, C 2-f, alkynyl, Ce-w aryl, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Cj-e alkyl-, C 3-i 4 cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryi)-Ci- 6 alkyl-, and (4-14 membered heterocy cloalky i)-Ci- 6 alkyl- of R a/ , R c ', and R d ' are each optionally substituted with 1, 2, 3, or 4 independently selected R K substituents; or any R 0? and R d/ attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroary l or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocy cloalky! group is optionally substituted with 1, 2, 3, or 4 independently selected R K substituents;

each R b/ is independently selected from H, Cj- 6 alkyl, Cj- 6 haloalkyl, C 2 -s alkenyl, C 2 -6 alkynyl, C &.14 aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, C M ary I-C1- & alkyl-, C 3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] - 6 alkyl-, and (4-14 membered heterocy cloalkyl)-Ci-6 alkyl-, wherein the Cj-e alkyl, C2-6 alkenyl, C2-6 alkynyl, C &.14 aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cs-w aryi-Cj- 6 alkyl-, CVw cy cloalky 1-C i-s alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1.6 alkyl- of R b? are each optionally substituted with 1 , 2, 3, or 4 independently selected R substituents;

each R e ' is independently selected from H, OH, CN, Ci-e alkyl, C 2 _6 alkenyl, C 5 -6 alkoxy, Ci-b haloalkyl, Cwhaloalkoxy, C2-6 alkynyl, Ce-w aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl;

each R f/ and R g? is independently selected from H, C .-s alkyl, Ci« alkoxy, Ci-e haloalkyl, Cj-ehaloalkoxy, C2-6 alkenyl, C 2- e alkynyl, C &-J 4 aryl, Cji-u cy cloalkyi, 5-14 membered heteroary l, 4-14 membered heterocycloalkyl, C M 4 ary' i-C 1-6 alkyl-, C 3-i 4 cyc!oalky 1- C i- 6 alkyl-, (5-14 membered he teroarydi-Ci- f , alky!-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R h/ and R 1 ' is independently selected from H, Ci-6 alkyl, Ci-6 haloalkyl, C 2 .6 alkenyl, C 2- 6 alkynyl, Ce-w aryl,€3-14 ey cloalkyi, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-ir aiyl-Ci-6 alkyl-, Cs-u cycloalky!-Ci-e alkyl-, (5-14 membered heteroaryd)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C i-6 alkyl-; each R J ' and R K/ is independently selected from OH, Ci-ealkoxy, and Ci^haloalkoxy; or, any R J / and R k ' attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-mem bered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Cue alkyl and Ci-ehaloalkyl;

each R K is independently selected from H, D, OH, halo, oxo, CN, C(0)QH, NH 2 ,

NO?, SFS, C W alkyl, Ci-ealkoxy, Ci-ehaloalkoxy, Ci-ehaloalkyl, C 2- e alkenyl, C 2-& alkynyl, C<s- i 4 aryl, C3-34 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci- 6 alkyl-, Cs- K cycloalkyl-Ci-g alkyl-, (5-14 membered heteroarylVC -e alkyl-, and (4-14 membered heterocycloalkyl)-Ci..6 alkyl-; and

wherein any heteroaryl group of any of the above-recited substituents optionally comprises an N -oxide on any ring-forming nitrogen.

In some embodiments:

X is N;

R 1 is selected from H, Ci-b alkyl, C2-6 alkenyl,€2-6 alkynyl, and Ci- 6 haloalkyl;

R 2 is selected from H, 13, halo, Ci-s alkyl, Ci-s haloalkyl, C 2- e alkenyl, C2-6 alkynyl, Cs- 14 and, C3.14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-r aryl-Ci- 6 alkyl-, C3-14 cycloalkyl-C ue alkyl-, (5-14 membered heteroaiyl)-Ci-6 alkyl-, (4-14 membered heterocycloalky l)-C -6 alkyl-, CN, N0 2 , OR az , SR 32 , NHOR a2 , C(0)R b3 ,

C(0)NR c2 R d2 , C(0)NR C2 (0R 32 ), C(0)0R 32 , 0C(0)R b2 , 0C(0)NR c2 R d2 . NR c2 R d2 ,

NR c2 NR c2 R d2 , NR c2 C(0)R b2 , NR C2 C(0)0R 32 , NR c2 C(0)NR c2 R d2 , C(=NR e2 )R b2 ,

C(=NR e2 )NR c2 R d \ NR c2 C(=NR e2 )NR c2 R d2 , NR c2 C(=NR e2 )R b2 , NR c2 S(0)NR c2 R d2 ,

NR c2 S(0)R b2 , NR c2 S(0) 2 R b2 , NR c2 S(0)(=NR e2 )R b2 , NR c2 S(0) 2 NR c2 R d2 , S(0)R b2 ,

S(0)NR c2 R d2 , S(0) 2 R h2 , S(0) 2 NR e2 R d2 , 0S(0)(=NR e2 )R b2 , 0S(0) 2 R M , SFs, P(0)R fi R g2 , 0P(0)(0R h2 )(0R l2 ), P(0)(0R“)(0R i2 ), and BR 2 R k2 , wherein the C M alkyl, C 2.6 alkenyl, C M alkynyl, Ca-u aryl, Cb-w cyeloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce- aryd-C 1.5 alkyl-, C3-14 cycloalky l-Ci-e alkyl-, (5-14 membered heteroaryd)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C ue alkyl- of R 2 are each optionally substituted with 1 , 2, 3, 4, 5, 6, 7, or 8 independently selected R c substituents;

Cy 1 is Ce- 14 aryl, C3-14 cycloalkyl, or 5-14 membered heteroaryl, wherein the C C-M aryl, C3-14 cycloalkyl, or 5-14 membered heteroaryd is optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R or R M substituents;

Cy 2 is C M * aryl, C3-14 cycloalkyl, 5-14 membered heteroaryd, or 4-14 membered heterocycloalkyl, wherein the Ce-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryd, or 4-14 membered heterocycloalkyl is optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R b substituents;

each R“, R° 2 , and R tl2 is independently selected from H, C i-s alkyl, C i-s haloalkyl, C 2-6 alkenyl, C 2 -s alkynyl, C&-14 aryd, C3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-C i-e alkyl-, C3-i 4 cycloalkyl-Cj- 6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky 1)-C R , alkyl-, wherein the C M alkyl, C2-6 alkenyl, C 2-6 alkynyl, Ci.-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyi, Cs-u aryl-Ci-e alkyl-,€3-54 cycloalkyl-Ci-g alky' 1-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R a2 , R c , and R di are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R° substituents;

or any R c2 and R d2 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyi group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyi group is optionally substituted with 1 , 2, 3, or 4 independently selected R^ 1 substituents;

each R b2 is independently selected from H, Cj- 6 alkyl, Cj- 6 haloalkyl, C 2.& alkenyl, C 2-& alkynyl, Ci.-n aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyi, Ce-w ary' l-Ci-6 alkyl-, Cs-i + cycloalkyl-Cj-e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, wherein the Ci. & alkyl, C 2-6 alkenyl, C 2- e alkynyl, C &-K aryl, Cs- M cyeloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyi, Cs-ir ary l-Ci- 6 alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Cj- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R° 2 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R <J substituents; each R is independently selected from H, OH, CN, C.-s alkyl, C.-s alkoxy, Ci- 6 haloalkyl, Cj-ehaloalkoxy, C2-6 alkenyl, C 2-& alkynyl, Ca-u aryd, Ch-w eyeloalkyi, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyi, Ce-u aryl-C i-b alkyl-, C3-14 cycloalky 1- Ci- f, alkyl-, (5-14 membered heteroar l) -Cj- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Cj- 6 alkyl-;

each R c and R g2 is independently selected from H, Ci-e alkyl, Cw, haloalkyl, Cj- 6 alkoxy, Ci^ aloalkyl, Cj-ehaloalkoxy, C2-6 alkenyl, C 2-6 alkynyl, CS- M aryd, Cs-wcycloalkyl, 5-14 membered heteroary l, 4-14 membered heterocycloalkyi, C M * aryl-C 1-6 alkyl-, C3 -14 eycloalkyd-C]- 6 alkyl-, (5-14 membered heteroaryd)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl-: each R h2 and R l3 is independently selected from H, Ci-s aikyi, Ci- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C 6 -i4 aryt-C - 6 alkyl-, Cs-w eyeloalkyi-Ci-e alkyl-, (5-14 membered heteroaiyl)-Ci.6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-;

each R j2 and R* 2 is independently selected from OH, C -s alkoxy, and Ci-shaloalkoxy; or any R j2 and R k2 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci- 6 alkyl and C 1-6 haloalkyl; each R c , R E , R M , R r , and R° is independently selected from D, halo, oxo, Ci-e alkyl, Ci-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C 6- H aryl, C3-14 cyctoalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C&04 ary l-Ci-s alkyl-, Cs-ir cycloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl) -Ci .. 6 alkyl-, (4-14 membered heterocycloalkyl)-Ci^, alkyl-, CN,

0P(0)(0R h4 )(0R i4 ), P(0)(0R M )(0R i4 ), and BR J+ R k4 , wherein the Ci -6 alkyl, C2-6 alkenyl, C 2-6 alkynyl, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-i4 aryl-Cs- 6 alkyl-, Cs-w eyeloalkyi-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci.6 alkyl-, and (4-14 membered heterocycloalkyl)-C½ alkyl- of R c , R b , R M , R r , and R u are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H substituents;

each R a4 , R c4 , and R d4 is independently selected from H, Ci-e alkyl, Ci- 6 haloalkyl, C 2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce- aryl-C 1.5 alkyl-, C3-14 cycloalky I-C1-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C 1-6 alkyl-, wherein the Ci-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, Ce-u aryi, Cs-u cycloalkyi, 5-14 membered heteroaiyd, 4-14 membered heterocycloalkyl, C -u aryl-Ci-e alkyl-, C3- H cycloalky l-C - 6 alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, and (4-14 membered heteroeycloaikyi)-C i-6 alkyl- of R a4 , R c4 , and R d4 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R h substituents;

or, any R c4 and R a4 attached to the same N atom, together with the N atom to which they are attached, optionally form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered

heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R H substituents;

each R b4 is independently selected from H, C alkyl, C M haloaikyl, C2-6 alken l, C2.6 alkynyl, Ca-u aryl, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-ir aryd-Ci-e alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryd)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-C alkyl-, wherein the C M alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, C 3-i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cs-w ary 1-C M alkyl-, C3-14 cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryl)-C 1-6 alkyl-, and (4-14 membered heterocycloaikyi)-Ci-6 alkyl- of R D4 are each optionally substituted with 1 , 2, 3, 4, 5, 6, 7, or 8 independently selected R H substituents; each R ®4 is independently selected from H, OH, CN, C M , alkyl, C M , alkoxy, C haloaikyl, Cj-ehaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, C 3-i 4 cycloalkyl, 5-14 membered heteroaiyl, 4-14 membered heterocycloalkyl, Ce-n ary l-Ci- 6 alkyl-, C3..14 cycloalky 1- C i- 6 alkyl-, (5-14 membered heteroaryl)-C M alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-;

each R f4 and R* 4 is independently selected from H, C M , alkyl, C M alkoxy, Ci-6 haloaikyl, Ci-ehaloalkoxj', C2-6 alkenyl, C2-6 alkynyl, Ce- aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalky 1, Ce-i4 aryd-C M alkyl-, C3-14 cycloalky 1- Cs-6 alkyl-, (5-14 membered heteroaiyl) -C 1-5 alkyl-, and (4-14 membered heterocycloalkyl)-C ] - 6 alkyl-;

each R 1 * 4 and R l4 is independently selected from H, Ci-g alkyl. C , haloaikyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaiyi, 4-14 membered heterocycloalkyl, Ce-w ary l-Ci-6 alkyl-, C3-14 cycloalkyl-Cw alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyi-, and (4-14 membered heterocycioalkyi)-Cs-6 alkyl-;

each R·' 4 and R k4 is independently selected from OH, Ci-ealkoxy, and Ci-ehaloalkoxy ; or, any R j+ and R k4 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C M alkyl and C M haloaikyl;

each R H is independently selected from D, halo, oxo, C M alkyl, C M haloaikyl, C2-6 alkenyl, C2-6 alkynyl, C&-14 aryl, C3..1+ cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryd-C 1-6 alkyl-, C 3-i 4 cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, (4-14 membered heterocycloalky 1)-C M alkyl-, CN, NO2, OR 85 , SR 85 , NHQR a5 , C(0)R b5 , C(0)NR c5 R d5 , C(0)NR c5 (0R a5 ), C(0)0R a5 , 0C(0)R b5 , 0C(0)NR c5 R d5 , NR c? 'R d5 , NR c5 NR c5 R d5 _ NR c5 C(0)R b5 , N R'X iOlOR ". NR c5 C(0)NR c5 R d5 , C(=NR e5 )R b5 ,

C (=NR e5 )NR c5 R <15 , NR c5 C(=NR c5 )NR c5 R d5 , NR c5 C(=NR e5 )R b5 , NR c5 S(0)R b \

NR- ' SiOsXR- ' R 1' . NR c5 S(0) 2 R b5 , NR cS S(0)(=NR eS )R b5 , NR c5 S(0) 2 NR c5 R d5 , S(0)R b5 , S(0)NR c5 R d5 , S(0) 2 R b5 , S(0) 2 NR c5 R d5 . 08(0c M K \ OSiO! -R 1 ". SF 5 , PiOiR 'K". OPiOXOR^XOR 15 ), P(0)(0R !LS )(0R i5 ), and BRPR* 5 , wherein the C M alkyl, C 2-6 alkenyl, C2-6 alkynyl, 65-14 aryl, 63-14 cycloalkyl, 5-14 membered heteroaiyl, 4-14 membered

heterocycloalkyl, C MA ary 1-Ci-e, alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] - 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R h are each optionally substituted with 1, 2, 3, or 4 independently selected R 1 substituents;

each R a5 , R° 5 , and R di is independently selected from H, C i-s alkyl, 61- 5 haloalkyl, C2-6 alkenyl, 62-5 alkynyl, 65-11 a d, 63-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C * aryl-6 -6 alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-6i-6 alkyl-, and (4-14 membered heterocycloalky 1)~6 R> alkyl-, wherein the 61-6 alkyl 6 2 -s alkenyl, 62 « alkynyl, 6 5-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, 65-114 aryl-61-6 alkyl-, 63-1 cycioalkyl-Oi-6 alkyl-, (5-14 membered heteroaryi)-Ci-5 alkyl-, and (4-14 membered heterocycloalkyi)-C 1.5 alkyl- of R 35 , R cd , and R da are each optionally substituted with 1, 2, 3, or 4 independently selected R ! substituents;

or any R 05 and R da attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R ! substituents;

each R to is independently selected from H, 61-5 alkyl, 6 2-6 alkenyl, 6 2-f! alkynyl, Ce-w ary l, 63-14 cycloalkyl, 5-14 membered heteroaiyl, 4-14 membered heterocycloalkyl, 65-14 aryl- Ci-6 alkyl-, C3-14 eyeloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-6i-5 alkyl-, and (4-14 membered heterocycloalkyl)-6i-6 alkyl- wherein the 1-5 alkyl, C 2-& alkenyl, C2-6 alkynyl, Ce ¬ lt and, 63.14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloaikyl, 5-1 aryl-61-6 alkyl-, C3-14 cycloalkyl-6 ue alkyl-, (5-14 membered heteroar d)-Ci-6 alkyl-, and (4-14 membered heterocycloalky 1)-6 I - 6 alkyl- of R b5 are each optionally substituted with 1, 2, 3, or 4 independently selected R 1 substituents;

each R e5 is independently selected from H, OH, 6N, 64-5 alkyl, Ci-ealkoxy, 61 -5 haloalkyl, 6i-6haioalkoxy, 62-5 alkenyl, 62-5 alkynyl, 65-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloaikyl, 65-14 aryl-6 i-e alkyl-, 63-14 cycloalkyl- 61-5 alkyl-, (5-14 membered heteroaiyll-Oi-g alkyl-, and (4-14 membered heterocycloalkyl)-6i- 5 alkyl-; each R f5 and R S3 is independently selected from H, Ci-e alkyl Ci-e alkoxy, Ci-e haloalkyl, C;i- f! haloa3koxy, C2-6 alkenyl, C2-6 alkynyl, Ce-w aiyl, C3- H cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl,€b- aryl-C - 6 alkyl-, Cs-i cydoalkyi- Ci- 6 alkyl-, (5-14 membered heteroaryl) -C1-6 alkyl-, and (4-14 membered heterocycloalky 1)-Ci. & alkyl-;

each R 115 and R 1' is independently selected from H, C -g alkyl, C -g haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Cg-u aryl, C -u cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w aryl-Ci-g alkyl-, C -i+ cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky 1)-C 1.6 alkyl-;

each R Ji and R ° is independently selected from OH, C .g alkoxy, and C i-ghaloalkoxy; or, any R j5 and R k? ' attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from Ci-e alky l and C -g haloalkyl;

each R 1 is independently selected from D, halo, oxo, C .-g alkyl, C .-g haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, Cj-w cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cg-u aryl-C 1.5 alkyl-, C3-1 cycloalky I-C1-6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C [-6 alkyl-, CN, NO2, OR a6 ,

0P(0)(0R h6 )(0R l6 ), P(0)(0R b6 )(0R 16 ), and BR J6 R“, wherein the C - 6 alkyl, C 2 -g alkenyl, C 2 -g alkynyl, Cg-u aryl,€3-14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Cg-u aryl-C i-g alkyl-, C 3 -i 4 cycloalkyl-C - 6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky l)-C 1.6 alkyl- of R 1 are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

each R 86 , R cf> , and R d6 is independently selected from H, Cj-b alkyl, Ci-e haloalkyl, C2-6 alkenyl,€2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C 6 -i4 aryl-C -g alkyl-, C3- M cycloalky l-C -6 alkyl-, (5-14 membered heteroaryl)-Ci. 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, wherein the C .g alkyl, C2-6 alkenyl, C2-6 alkynyl, Cg-w aryl, Ci- K cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cg-u aryl-C - 6 alkyl-, C S-M cycloalky l-C - 6 alkyl-, (5-14 membered heteroaryl)-C -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R a6 , R c5 , and R d6 are each optionally substituted with 1, 2, 3, or 4 independently selected R' substituents;

or any R c6 and R d6 attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

each R b6 is independently selected from H, Ci-e alkyl, Ci-e haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce- aryd, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Cg-w aryl-C 1.5 alkyl-, C 3-14 cycloalky l-Ci-g alkyl-, (5-14 membered heteroaryiVC i-g alky 1-, and (4-14 membered heterocyeloaikyi)-C[-s alkyl-, wherein the Ci-s alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-u aryd, C 3-i4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cg-u aryl-Ci-g alkyl-, C3- M cycloalk l-C -g alkyl-, (5-14 membered heteroaryl)-Ci- 6 alky 1-, and (4-14 membered heterocycloaikyi)~Ci-g alkyl- of R Bb are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

each R 66 is independently selected from H, OH, CN, Cj-g alkyl, Cfr-g alkoxy, Cw haloalkyl, Ci-ghaloalkoxy, C2-6 alkenyl, C2.6 alkynyl, Cg-ir aryl, C3- 14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C &-14 ar l-Ci- 6 alkyl-, C 3-14 cycloalkyl- Ci- 6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloaikyl)~Ci- 6 alkyl-;

each R fb and R g5 is independently selected from H, Cfr-g alkyl, Cs-g alkoxy, Ci-g haloalkyl, Ci-ghaloalkoxy, C2-6 alkenyl,€2-5 alkynyl, Cg-n aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalky 1, Cg-u and -Ci-g alkyl-, C 3-14 cycloallcyl- Ci-g alkyl-, (5-14 membered heteroaiyll-Ci- alkyl-, and (4-14 membered heterocycloalkyl)-C ]. g alkyl-;

each R hb and R 16 is independently selected from H, Ci-g aikyd, Ci-g haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Cg-j 4 aryd, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w ary I-C 1 -& alkyl-, C 3-14 cycloalkyl-Cw alkyl-, (5-14 membered heteroaryl)-C ] - 6 alkyl-, and (4-14 membered heterocycioalkyl)-Ci-g alkyl-;

each R j5 and R te is independently selected from OH, Ci-galkoxy, and C -ghaloalkoxy ; or, any R j6 and R k5 attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1 , 2, 3, or 4 substituents independently selected from Cb-g aikyd and Ci-g haloalkyl;

each R 3 is independently selected from D, halo, oxo, C _g alkyl, C _g haloalkyl, Cb-g alkenyl, C ? _-g alkynyl, Cg-u aryd, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w ary l-Ci-6 alkyl-, Cj-i+ cycloalkyl-Cj-e alkyl-, (5-14 membered heteroaryl)-C ] ^ alkyl-, and (4-14 membered heterocycloa3kyl)-Ci-6 alkyl-, CN, NO2, OR a? , SR a7 , NHOR a7 , C(0)R b7 , C(0)NR c7 R d7 , C(0)NR c7 (0R a7 ), C(0)0R a7 , 0C(0)R b7 ,

0C(0)NR c7 R d7 , NR c7 R d7 , NR c7 NR c7 R d7 , NR e7 C(0)R b7 , NR c7 C(0)GR a7 , NR c7 C(G)NR c7 R d7 , C(=NR e7 )R b7 , C(=NR e7 )NR c7 R d7 , NR c7 C(=NR e7 VNR c7 R d7 , NR c7 C(=NR e7 )R b7 , NR c7 S(0)R b7 , NR c 7 S(0)NR c? R d? , NR c7 S(0) 2 R b7 , NR c7 S(0)(=NR e7 )R b7 , NR c7 S(0) 2 NR c7 R d7 , S(0)R b7 , S(0)NR c7 R d7 , SsOi -R 1' . S(0) 2 NR c7 R d7 , 0S(0)(=NR e7 )R b7 , 0S(0) 2 R b7 , SF 5 , P(0)R f ¾ g7 , 0P(0)(0R h7 )(0R i7 ), P(0)(0R h7 )(0R l7 ), and BR i7 R k7 , wherein the Ci -6 alkyl C2-6 alkenyl C 2-6 alkynyl C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl 4-14 membered

heterocycloalkyl, Ce-i4 aryl-Cj-6 alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocy cloalkyi)-Ci-6 alkyl- of R J are each optionally substituted with 1 , 2, 3, or 4 independently selected R substituents;

each R a/ , R c7 , and R d7 is independently selected from H, Ci- 6 alkyl Ci- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&-1 aryl, C3..14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryd-C i-e alkyl-, C3-i cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky 1)-C 1.6 alkyl- wherein the Ci-e alkyl, C2-6 alkenyl, C2-6 alkynyl Ce-w aryl, C3-14 cycloalky 1, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-u aryl-Ci-e alkyl-, C3-14 cycloalky l-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky 1)-C 1.6 alkyl- of R a/ , R c ', and R d ' are each optionally substituted with 1, 2, 3, or 4 independently selected R K substituents; or any R 0? and R d/ attached to the same N atom, together with the N atom to which they are attached, form a 5- or 6-membered heteroary l or a 4-14 membered heterocycloalkyl group, wherein the 5- or 6-membered heteroaryl or 4-14 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R K substituents;

each R b7 is independently selected from H, Cj- 6 alkyl, Cj- 6 haloalkyl C2-6 alkenyl, C2-6 alkynyl, C&-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl 4-14 membered

heterocycloalkyl, Ce-w ary I-C1-& alkyl-, C3-14 cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, wherein the Cj-e alkyl, C 2-& alkenyl, C 2-& alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C 6 -H aryl-Ci-e alkyl-, CVw cycloalkyl-C i-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-C ½ alkyl- of R b7 are each optionally substituted with 1 , 2, 3, or 4 independently selected R substituents; each R 8/ is independently selected from H, OH, CN, Ci-e alkyl, C2-6 alkenyl, Ci-e alkoxy, Ci-s haloalkyl, Ci-ehaloalkoxy, C2-6 alkynyl, C -n aryl, C3-34 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl;

each R n and R g/ is independently selected from H, Ci-e alkyl, C M alkoxy, C haloalkyl, C -ghaloalkoxy, C2-6 alkenyl, C2-6 alkynyl, Ca-u aryl, C;-w eyeloalkyi, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cg-i 4 aryl-Ci-g alkyl-, C3-14 cycloalkyl- C M alkyl-, (5-14 membered heteroaryl) -C M alkyl-, and (4-14 membered heterocycloalkyI)-C - 6 alkyl-;

each R h? and R" is independently selected from H, C M alkyl, C haloalkyl, C2-6 alkenyl, C 2-6 alkynyl, Cg-k aryl, C-t-u cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cg-w ary 1-C M alkyl-, C -i + cycloalkyl-C -e alkyl-, (5-14 membered heteroaryl)-C ^ alkyl-, and (4-14 membered heterocycloalkyi)-Ci-6 alkyl-;

each R j7 and R k ' is independently selected from OH, C M alkoxy, and Ci-ghaloalkoxy; or, any R j ' and R k/ attached to the same B atom, together with the B atom to which they are attached, form a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C M alkyl and Ci-g haloalkyl;

each R K is independently selected from H, D, OH, halo, oxo, CN, C(0)0H, NH 2 ,

NO2, SFs, C -g alkyl, C alkoxy, Ci-ghaloaikoxy, CM haloalkyl, Ch-g alkenyl, CC-g alkynyl, Cg. 1 and, C3.14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cg-i 4 aryl-Ci- 6 alkyl-, CVw cycloalkyl-Ci-e alkyl-, (5-14 membered heteroard)-Ci-g alkyl-, and (4-14 membered heterocycloalky 1)-C M alkyl-; and

wherein any heteroaryl group of any of the above-recited substituents optionally comprises an N-oxide on any ring-forming nitrogen.

In some embodiments, the compound of Formula (I) is a compound of Formula (II):

or a pharmaceutically acceptable salt thereof. In some embodiments, the compound of Formula (I) is a compound of Formula (III):

or a pharmaceutically acceptable salt thereof.

In some embodiments, Cy 1 is CS-M aryl, wherein the C M 4 aryl is optionally substituted with 1, 2, 3, or 4 independently selected R E substituents.

In some embodiments, Cy 1 is C3-14 cycloalkyl, wherein the C3-14 cycloalkyl is optionally substituted with I, 2, 3, or 4 independently selected R E substituents.

In some embodiments, Cy J is 5-14 membered heteroaryl, wherein the 5-14 membered heteroaryl is optionally substituted with 1 , 2, 3, or 4 independently selected R E substituents.

In some embodiments, C ! is 4-14 membered heterocycloalkyl, wherein the 4-14 membered heterocycloalkyl is optionally substituted with 1, 2, 3, or 4 independently selected R E substituents.

In some embodiments, Cy 1 is C -10 aryl, wherein the Ce-io aryl is optionally substituted with 1, 2, 3, or 4 independently selected R E substituents.

In some embodiments, Cy 1 is C3..7 cycloalkyl, wherein the C3-7 cycloalkyl is optionally substituted with 1, 2, 3, or 4 independently selected R E substituents.

In some embodiments, C ! is 5-10 membered heteroaryl, wherein the 5-10 membered heteroaryl is optionally substituted with 1, 2, 3, or 4 independently selected R : substituents.

In some embodiments, Cy 1 is 4-10 membered heterocycloalkyl, wherein the 4-10 membered heterocycloalkyl is optionally substituted with 1, 2, 3, or 4 independently selected R E substituents.

In some embodiments, Cy 1 is phenyl or 5-10 membered heteroaryl, wherein the phenyl or 5-10 membered heteroaryl is optionally substituted with l, 2, 3, or 4 independently selected R E substituents.

In some embodiments, Cy J is phenyl, optionally substituted with 1, 2, 3, or 4 independently selected R M substituents, or C7-14 aryl or 5-14 membered heteroaryl wherein the Cj-uaryl and 5-14 membered heteroaryl are optionally substituted with I, 2, 3, or 4 independently selected R r substituents, and

wberein each R M is independently selected from D, halo, oxo, C - 6 alkyl, C - 6 haloalkyl, Ci-e alkoxy, C2-6 alkenyl, C2-6 alkynyl, C 4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyi, 2-CN, 3-CN, N0 2 , OR 84 , SR a4 , NHOR a4 ,

NR c4 S(0)R b4 , N R- 'SiOi R b! . and NR c4 S(0) 2 NR c4 R d4 , wherein the Ci alkyl, Ci. 5 alkoxy , C 2.s alkenyl, C 2-6 alkynyl, Ce-uaiyl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyi of R M are each optionally substituted with 1, 2, 3, or 4 independently selected R' 1 substituents.

In some embodiments, Cy 1 is selected from phenyl, pyridinyl, furanyl, benzofuranyl, and pyrazolyl, each of which is optionally substituted with 1, 2, or 3 substituents selected from C - 3 alkyl, halo, CN, and C 1-3 alkoxy.

In some embodiments, the optionally substituted Cy 1 is selected from cyanophenyl, cyanofluorophenyl, 2, 3-dihydro- l f-pyrrolo[2, 3, -6]pyridine, phenyl, methoxyphenyl, fluorophenyl, pyridinyl, methylfuranyi, benzofuranyl, and methyl-l/Z-pyrazolyl.

In some embodiments, the optionally substituted Cy ! is selected from cyanophenyl, 2,3-dihydro-l//-pyrrolo[2,3,-h]pyridine, phenyl, methoxyphenyl, fluorophenyl, pyridinyl, methylfuranyi, benzofuranyl, and methyl- l//-pyrazolyl.

In some embodiments, Cy 1 is selected from 2-cyanophenyl, 3 -cyanophenyl, 3-cyano-

2 -fluorophenyl, 2,3-dihydro-I//-pyrrolo[2,3,-djpyridine, phenyl, 3 -methoxyphenyl, 2- fluorophenyl, pyridine-4-yl, 2-methylfuran-3-yl, benzofuran-2-yl, and 1 -methyl- l//-pyrazol- 4-yl.

In some embodiments, the optionally substituted Cy 1 is selected from 2-cyanophenyl,

3 -cyanophenyl, 2,3-dihydro- l/i-pyrro!o[2, 3, - ?]pyridine, phenyl, 3-methoxyphenyl, 2- fluorophenyl, pyridine-4-yl, 2-methylfuran-3-yl, benzofuran-2-yl, and 1 -meth l- 1/7-pyrazol-

4-yl.

In some embodiments, the optionally substituted Cy ! is selected from 3-cyanophenyl and phenyl.

In some embodiments, Cy 1 is 3-cyanophenyl.

In some embodiments, Cy 2 is Cg-ir aryl, Cs- M cycloalkyi, 5-14 membered heteroaryl or 4-14 membered heterocycloalkyi wherein the CV-r arcl, C 4-14 cycloalkyl, 5-14 membered heteroaryl and 4-14 membered heterocycloalkyi are optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R b substituents.

In some embodiments, Cy 2 is C S-H aryl, wherein the Ce-n aryl is optionally substituted with 1, 2, 3, or 4 independently selected R h substituents. In some embodiments, Cy 2 is C -u cycloalkyl, wherein the C3-14 cycloalkyl is optionally substituted with 1 , 2, 3, or 4 independently selected R " substituents.

In some embodiments, Cy 2 is 5-14 membered heteroaryl, wherein the 5-14 membered heteroaiyl is optionally substituted with 1, 2, 3, or 4 independently selected R r substituents.

In some embodiments, Cy 2 is 4-14 membered heterocycloalkyl, wherein the 4-14 membered heterocycloalkyl is optionally substituted with 1, 2, 3, or 4 independently selected R F substituents.

In some embodiments, Cy 2 is Cg-io aryl, wherein the Ce-io aryl is optionally substituted with I, 2, 3, or 4 independently selected R F substituents.

In some embodiments, Cy 2 is C3-7 cycloaikyi, wherein the C3-7 cycloalkyl is optionally substituted with 1, 2, 3, or 4 independently selected R f substituents.

In some embodiments, Cy 2 is 5-10 membered heteroaryl, wherein the 5-10 membered heteroaryl is optionally substituted with 1, 2, 3, or 4 independently selected R F substituents.

In some embodiments, Cy 2 is 4-10 membered heterocycloalkyl, wherein the 4-10 membered heterocycloalkyl is optionally substituted with 1, 2, 3, or 4 independently selected R r substituents.

In some embodiments, Cy 2 is selected from C cycloalkyl, phenyl, 5-10 membered heteroaryl, and 5-10 membered heterocycloalkyl;

wherein the 5-10 membered heteroaiyl and 5-10 membered heterocycloalkyl each comprise one, two, or three nitrogen atoms as ring-forming heteroatoms, wherein one of the one or two nitrogen atoms is optionally an N-oxide, and wherein a ring-forming carbon atom is optionally substituted by oxo; and

wherein the C3-6 cycloaikyi, phenyl, 5-10 membered heteroaryl, and 5-10 membered heterocycloalkyl are each optionally substituted with I, 2, or 3 substituents selected from C 1..3 alkyl, Ci alkyi-OH, halo, CM, C K; alkoxy, and C(0)NH 2

In some embodiments, Cy 2 is selected from C cycloaikyi, phenyl, 5-10 membered heteroaiyl, and 5-10 membered heterocycloalkyl;

wherein the 5-10 membered heteroaryl and 5-10 membered heterocycloalkyl each comprise one or two nitrogen atoms as ring-forming heteroatoms, where in one of the one or two nitrogen atoms is optionally an N-oxide, and wirerein a ring-forming carbon atom is optionally substituted by oxo; and

-wherein the C cycloaikyi, Ce-aryi, 5-10 membered heteroaiyl, and 5-10 membered heterocycloalkyl are each optionally substituted with 1, 2, or 3 substituents selected from C 1-3 alkyl, halo, CN, C 1-3 alkoxy, and C(0)NH>; . In some embodiments, Cy 2 is selected from pyridinyl, tetrahydropyridinyl, piperidinyl, pvridine-N-oxide, oxo-dihydropyridinyl, phenyl, pyrazolo[l,5-a]pyridin-3-yl, pyrazolo[l,5-b]pyridazinyl, pyrazolyl, pyrimidinyl, quinolinyl, oxazolyl, 2,3-dihydro- [l,4]dioxino[2,3-b]pyridin-8-yl, and triazolyl each of which is optionally substituted with I,

2, or 3 substituents selected from C1-3 alkyl, Ci-3 alkyl-OH, halo, CN, Ci-3 alkoxy, and ( (O)N I S

In some embodiments, Cy 2 is selected from pyridinyl, tetrah dropyridinyl, piperidinyl, pyridine-N-oxide, oxo-dihydropyridinyl, phenyl, pyrazolo[l,5-a]pyridin-3-yl, pyrazolo[l,5-b]pyridazinyl, pyrazolyl, pyrimidinyl, quinolinyl, oxazolyl, and 2,3-dihydro- [l,4]dioxino[2,3-b]pyridin-8-yl, each of which is optionally substituted with 1, 2, or 3 substituents selected from Ci- 3 alkyl, halo, CN, Ci- 3 alkoxy, and C(0)NH 2 .

In some embodiments, Cy 2 is selected from pyridinyl, tetrahydropyridinyl, piperidinyl, pyridine-N-oxide, oxo-dihydropyridinyl, phenyl, pyrazolo| l,5-a]pyridin-3-yl, pyrazolyl, pyrimidinyl, and 2,3-dihydro-[l,4]dioxino[2,3-b]pyridin-8-yl, each of which is optionally substituted with 1 , 2, or 3 substituents selected from Ci-3 alkyl, halo, CN, C1-3 alkoxy, and C(0)NH 2.

In some embodiments, Cy 2 is cyclopropyl optionally substituted with 1, 2, or 3 substituents selected from Cu alkyl, halo, CN, C1-3 alkoxy, and C(0)NH 2 .

In some embodiments, the optionally substituted Cy 2 is selected from 2,6- dimethy!pyridin-4-yl, pyridin-4-yl, 2-methylpyridin-4-yl, 1 -carbamoy 1-1, 2,3,6- tetrahydropyridin-4-yl, 1 -carbamoy lpiperidin-4-yl, 2-methoxypyridin-4-yl, 2-methoxy-6- methylpyridin-4-yl, 2,6-dimethylpyridin-4-yl-l-oxide, l-ethyl-6-oxo- l,6-dihydropyridin-3-yl, 3-methyipyridin-4~yi, 3-fluoropyridin~4-yl, 3-chloropyridin-4-yl, 3-methoxypyridin-4-yl, 3- cyanopyridin-4-yl, 4-carbamoylphenyl, pyrazolo[l,5-a]pyridin-3-yl, pyrazolo[l,5- bJpyridazin-3-yl, 5 -methyl- lH-pyrazol-4-yl, l-etbyl-lH-pyrazol-5-yl, 1 -isopropyl- 1H- pyrazol-5 -y 1, 1 -propyl- 1 H-py razol-5 -y 1, py rirnidin-4-y 1, 2,3 -dihy dro- [1,4] dioxino [2,3 - b]py ridin-8-yl, quinolin-5-yl, 5-fluoropyrimidin-4-yl, oxazol-5-yl, 4-methyloxazol-5-yl, 4- ethyloxazol-5-yl, 4-(liydroxymethyl)-2-methyloxazol-5-yl, 4-(methoxymethyl)~2- methy loxazol-5 -y 1, 4-(hy droxymethy l)-2-methy loxazol-5-y 1, 1 -ethyl- 1 H- 1 ,2,3 -triazol-5 -y 1, and cyclopropyl

In some embodiments, the optionally substituted Cy 2 is selected from 2,6- dimethylpyridin-4-yl, pyridin-4-yl, 2-methylpyridin-4-yl, 1 -carbamoy 1-1 , 2,3,6- tetrahydropyridin-4-yl, 1 -carbamoy lpiperidin-4-yl, 2-methoxypyridin-4-yl, 2-methoxy -6- methylpyridin-4-yl, 2,6-dimethylpyridin-4-yl-l -oxide, l-ethyl-6-oxo-l,6-dihydropyridin-3-yl, 3-methylpyridin-4-yl, 3-f]uoropyridin-4-yl, 3-chloropyridin-4-yl, 3-methoxypyridin-4-yl, 3- cyanopyridin-4-yl, 4-carbamoylphenyl, pyrazolo[ l,5-£i]pyridin-3-yl, pyrazolo[l,5- b]pyridazin-3-yl, 5-methyl-l H-pyrazol-4-yl, l-ethyl-lH-pyrazol-5-yl, 1 -isopropyl -1H- pyrazol-5-yl, 1 -propyl- lH-pyrazol-5 -y 1, p rimidin-4-y 1, 2,3 -dihydro- [ 1 ,4]dioxino [2,3 - bjpyridin-8-yl, quinolm-5-yl, 5-fluoropyrimidin-4-yl, 4-methyloxazoi-5-yl, 4- (hy droxymethy l)-2-methy ioxazoi-5 -y 1, 4-(methoxymethy 3)-2-methy loxazoi-5 -y 1, and cyclopropyl.

In some embodiments, the optionally substituted Cy 2 is selected from 2,6- dimethy lpyridin-4-y 1, p ridin-4-y 1, 2-methylpyridin-4-y 1, 1 -carbamoyl- 1, 2,3,6- tetrahydropyridin-4-yl, l-carbamoylpiperidin-4-yl, 2-methoxypyridin-4-yl, 2,6- dimethy lpyridin-4-y 1- 1 -oxide, 1 -ethy 1-6-oxo- 1 ,6-dihydropyridin-3 -y 1, 3 -methy lpyridin-4-y 1, 3-fluoropyriditi-4-yl, 3-chloropyriditi-4-yl, 3-methoxypyridin-4-yl, 3-cyanopyridin-4-yl, 4- carbamoy lpheny 1, pyrazolo [ 1 ,5 -a jpy ridin-3 -y 1, 5 -methyl- 1 H-pyrazol-4-y 1, 1 -ethy 1- 1 H- pyrazol-5-yl, l-isopropyl-lH-pyrazol-5-yl, l-propyl-lH-pyrazol-5-yl, pyrimidin-4-yl, 2,3- dihydro-[l,4]dioxino[2,3-b]pyridin-8-yl, and cyclopropyl.

In some embodiments, R ! is selected from H, D, Ci-b alkyl, Ci- 6 haloalkyl, C 2.6 alkenyl, C 2-6 alkynyl, C f .- r aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-w aryl-Ci-e alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, (4-14 membered heterocycloalky l)-Ci-6 alkyl-, OR ai , C(0)R b! , C(0)NR cl R dl , C(0)0R aI , C(=NR el )R bl , C(=NR el )NR cl R dl , S(0)R bl , S(0)NR c! R d! , S(0) 2 R b! and S(0) 2 NR cl R dl , wherein the C 2-6 alkenyl,€ 2-5 alkynyl, Ce-ir aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C M 4 ar I-C1- & alkyl-,€ 3-14 cycloalkyl- Ci- 6 alkyl-, (5-14 membered heteroaiydt-Ci-g alkyl-, and (4-14 membered heterocycloalkyl)-C ]. d alkyl- of R 1 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R B substituents.

In some embodiments, R ! is selected from H, D, Ci-b alkyl, Cue haloalkyl, C 2-6 alkenyl, C 2-6 alkynyl, C f .- + aryl, C 3-14 cycloalkyl, 5-8 membered heteroaryl, 4- 14 membered heterocycloalkyl, Ce-w aiyd-Ci-e alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-8 membered heteroaryl)- C -6 alkyl-, (4-14 membered heterocycioalkyl)-Ci-6 lkyl-, OR ai , C(0)R b l , C(0)NR c! R ai , C(0)0R ai , C(=NR el )R bl , C(=NR eI )NR cl R dl , S(0)R bl , S(0)NR ci R di . S(0) 2 R bi and

S(0) 2 NR ci R di , wherein the C2-6 alkenyl, C 2-6 alkynyl, Cs-ir atyl, C 3-14 cycloalkyl, 5-8 membered heteroaryl, 4-14 membered heterocycloalkyl, CM 4 aryl-Ci^ alkyl-, C 3-14 cycloalkyl- Ci- 6 alkyl-, (5-8 membered heteroary'l)-C - 6 alky 3-, and (4-14 membered heterocycloalky l)-Ci- 6 alkyl- of R 1 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R B substituents.

In some embodiments, R 1 is selected from H, Ch-s alkyl, and 5-8 membered heteroaryl, wherein the 5-8 membered heteroaryl is optionally subsituted by 1 or 2 independently selected K B substituents.

In some embodiments, R ! is H, Cj-e alkyl, or a 5-8 membered heteroaryl

In some embodiments, 1 is H or Ci-e alkyl.

In some embodiments, R ! is H or C 1-3 alkyl.

In some embodiments, R ! is H, ethyl, or nicotinonitrile.

In some embodiments, R 1 is H or ethyl.

In some embodiments, R 1 is H.

In some embodiments, R ! is 5-8 membered heteroary l which is optionally subsituted by 1 or 2 independently selected R B substituents.

In some embodiments, R 1 is 5-8 membered heteroaryl.

In some embodiments, R 1 is pyridyl which is optionally substituted by 1 or 2 R B substituents.

In some embodiments, R 1 is pyridyl which is optionally substituted by cyano.

In some embodiments, R 1 is nicotinonitrile.

In some embodiments, R ! is 3-cyanopyridyl.

In some embodiments, R 2 is selected from halo, Cs- 6 alkyl, Cj-5 haloalkyl, C2-0 alkenyl, C2-6 alkynyl, C&-14 aryl, C3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalky 1, CM* aiyl-C w, alkyl-, C3-14 cycloalkyl-Cj-e alkyl-, (5- 14 membered heteroaryl)-Ci-6 alkyl-, (4-14 membered heterocycloalk l)-Ci-6 alkyl-, CN, NO2, OR 32 , SR 82 ,

0P(0)(0R h2 )(0R’ 2 ), P(0)(0R h2 )(0R l2 ), and BR R' '. wherein the C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C M * aryl, Cs-sr cycloalkyi, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-w ary l-Ci-6 alkyl-, C3-14 cycloalkyl-Cw alkyl-, (5-14 membered heteroaryl)-C ] -6 alkyl-, and (4-14 membered heterocycIoalkyl)-C ] -6 alkyl- are each optionally substituted with I, 2, 3, 4, 5, 6, 7, or 8 independently selected R c substituents; and wherein the C -e alkyl is substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R c substituents.

In some embodiments, R 2 is selected from Cs- 6 alkyl, C M 4 aryl, C ? ,-u cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce-i4 ary l-Ci-6 alkyl-, C3..14 cycloalky 1- C i-6 alkyl-, (5-14 membered heteroary l)-Ci-s alkyl-, (4-14 membered heterocycloalkyl)-Ci-6 alkyl-, C(0)R b2 , C(0)NR e2 R d2 , C(0)0R a2 , and NR c2 R d2 , wherein the C M4 aryl, C 3 -i 4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cw4 aryl-Ci- 6 alkyl-, C3-14 cycloalky 1-C alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyi)-Ci- 6 alkyl- are each optionally substituted with 1, 2, 3, 4, or 5 independently selected R c substituents; and

-wherein the C -e alkyl is substituted with 1, 2, 3, 4, or 5 independently selected R L substituents.

In some embodiments, R 2 is selected from C S-M aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C 4 aryl-Ci-6 alkyl-, C3-14 cycloalky 1-Cw alkyl-, (5-14 membered heteroaryl) -Cs- 6 alkyl-, (4-14 membered heterocycloalkyl)-C]- 6 alkyl-, C(0)R b3 , C(0)NR c2 R d2 , C(0)QR a2 , and \ R- R ! . wherein the C 6.i 4 aryl, C3.14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C ary l-Ci-6 alkyl-, C3.14 cycloalkyl- Ci- 6 alkyl-, (5-14 membered heteroary l)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- are each optionally substituted with 1, 2, 3, 4, or 5 independently selected R c substituents.

In some embodiments, R 2 is selected from Ce-u and, C 3-i4 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloaikyl, C 6-M aryl-Ci- 6 alkyl-, C3- W cycloalky 1-C 1-6 alkyl-, (5-14 membered heteroary 1)-C 1-6 alkyl-, and (4-14 membered heterocycloalkyll-Ci-e alkyl-, wherein the Ce-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaiyl, 4-14 membered heterocycloaikyl, Ce-u aryl-C 1-6 alkyl-, C 3 -i 4 cycloalkyl-C - 6 alkyl-, (5-14 membered heteroary l)-Ci- 6 alkyl-, and (4-14 membered heterocycloalky 1)-C 1.6 alkyl- are each optionally substituted with 1, 2, 3, 4, or 5 independently selected substituents.

In some embodiments, R 2 is selected from H, Ci-e alky l, C3-14 cycloalkyl, C 4aryl, 5- 14 membered heteroary!, 4-14 membered heterocycloalky 1, C H aryl-Ci- 6 alkyl-, C3-14 cycloalky 1-C 1-6 alkyl-, (5-14 membered heteroary l)-C]- 6 alkyl-, (4-14 membered

heterocycloalkyl)-Ci- 6 alkyi-, NR c2 R d2 , C(0)R B2 , C(0)NR c2 R d2 , and C(0)0R a2 , wherein the Cj. 6 alkyl, C 3-i 4 cycloalkyl, C6-i4 aryl, 5-14 membered heteroaryl, 4-14 membered

heterocycloaikyl, C 6 -i4 aiyd-Ci- 6 alkyl-, Cs-u cycloalkyl-Ci-e alkyl-, (5-14 membered heteroaryl)-C]-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- are each optionally substituted with 1 , 2, or 3 independently selected R c substituents.

In some embodiments, R 2 is selected from H, Ci-e alkyl, Ce- M aryi, C3-1 4 cycloalkyl, 5- 14 membered heteroaryl, 4-14 membered heterocycloalkyl, C G-M aiyl-Ci-e alkyl-, C S-M cycloalkyl-Ci-6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, (4-14 membered

heterocycloalkyi)-C i- 6 alkyl-, OR 32 , NR c2 R d2 , C(0)R b2 , C(0)NR c2 R d2 , and C(0)0R a2 , wherein the C - 6 alkyl, C G-M aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Ce- M ary 1-C I -G alkyl-, C -i+ cycloalkyl-C -e alkyl-, (5-14 membered heteroary l)-Ci-6 alkyl-, and (4-14 membered heterocycloalky l)-Ci-6 alkyl-, are each optionally substituted with 1, 2, or 3 independently selected R c substituents.

In some embodiments, R 2 is selected from H, C -- 6 alky l, Ce- M aryl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C 6-M aryl-Ci- 6 alky!-, (5-14 membered heteroary l)-Ci- 6 alkyl-, (4-14 membered heterocycloalky l)-Ci- 6 alkyl-, NR c2 R d2 , C(0)R b2 , C(0)NR c2 R a2 , and C(G)OR a2 , wherein the Ci-e alkyl, Ce-n aryl, 5-14 membered heieroaryd, 4- 14 membered heterocycloalkyl, C G-M aryl -C I-G alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- are each optionally substituted with 1, 2, or 3 independently selected substituents.

In some embodiments, R 2 is selected from H, C - -6 alky l, Ce- M aryl,€3-54 cycloalkyl, 5- 14 membered heteroaryl, 4-14 membered heterocycloalkyl, aryl-C 1-6 alkyl-, C3.14 cycloalkyl-Ci- G alkyl-, (5-14 membered heteroary l)-C ]-6 alkyl-, (4-14 membered

heterocy cloalky 1)-C 1 -s alley 1-, OR a2 , NR c2 R d2 , C(0)R b2 , C(0)NR c2 R d2 , and C(0)0R a2 , wherein the Ci -6 alkyl, C G-M aryl, C3 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CG- I4 aiyl-Ci-e alkyl-, Cs-u cycloalkyi-Ci-G alkyl-, (5-14 membered heteroatyl)-Ci-6 alkyl-, and (4-14 membered heterocy cloalky 1)-C I .G alkyl-, are each substituted with 1 , 2, or 3 independently selected R L substituents

In some embodiments, R 2 is selected from H, C J .. G alkyl, C G-M aryl, C3-14 cycloalkyl, 5- 14 membered heteroaryl, 4-14 membered heterocycloalkyl, C G-M aryl-C - 6 alkyl-, C3-M cycloalkyl-Ci- 6 alkyl-, (5-14 membered heteroary l)-Ci- 6 alkyl-, (4-14 membered

heterocycloalkyl)-Ci- 6 alkyl-, NR ci R d2 , C(0)R 02 , C(0)NR c2 R d2 , and C(0)0R ai , wherein the Ci- 6 alkyd, Cs-ir aryd, C S-M cycloalkyl, 5-14 membered heteroary !, 4-14 membered

heterocycloalkyl, Ce- ary 1-C I -G alkyl-, C3- cycloalkyl-Cw alkyl-, (5-14 membered heteroary l)-C ]-6 alkyl-, and (4-14 membered heterocycioalkyi)-Cs- 6 alkyl- are each substituted with 1, 2, or 3 independently selected R '- substituents. In some embodiments, R' is selected from H, Ce-uaryl, 5-14 membered heteroaryl, C(0)R b2 , C(0)NR c2 R ® , and C(0)0R a2 , wherein the C o -u aryl and 5-14 membered heteroaryl are each optionally substituted wdth 1, 2, or 3 independently selected R c substituents.

In some embodiments, R ; is selected from H, C.-s alkyl, phenyl, 5-6 membered heteroaryl, 4-10 membered heterocydoalkyi, Ce-io aryl-Ci-s alkyl-, (5-10 membered heteroaryl)-Ci- 6 alkyl-, (4-10 membered heterocycloalk I)-Cw alkyl-, NR c2 R d2 , C(0)R b2 , C(0)NR c2 R a2 , and C(0)OR a2 , wherein the C - 6 alkyl, phenyl, 5-6 membered heteroaryl, 4-10 membered heterocydoalkyi, Ce-io aryl-C -e alkyl-, (5-10 membered heteroaryl)-Ci- 6 alkyl-, and (4-10 membered heterocycloalkyl)-Ci.. 6 alkyl- are each optionally substituted with 1 or 2 independently selected R c substituents. In some embodiments, R 2 is selected from H, phenyl, 5-6 membered heteroaryl, C(0)R b/ , C(0)NR c2 R a2 , and C(Q)OR a2 , wherein the phenyl and 5-6 membered heteroaryl are each optionally substituted with 1 or 2 independently selected R c substituents.

In some embodiments, R ; is selected from H, C(0)OEt, CONH 2 , and C(0)NHEt.

In some embodiments, R 2 selected from phenyl and 5-6 membered heteroaryl, each of which is optionally substituted with C(0)OMe.

In some embodiments, the optionally substituted R is selected from pyridinyhnethyl, hydroxy(phenyl)meth I, hydroxyethylamino(phenyl)ethyi, cyclohexyhnethyl, fluorobenzyl, hydroxy (fluoropheny I j methy 1, (me thy lpy ridiny I j methy L (fluoropy ridiny l)methy 1,

(ti itluoromethylpyridinyl)methyl, ((hydrox } r methyi)pyridinyl)methyi,

(methoxypy ridiny l)me thy 1, (methylpyrazolyl)benzyl, (melhylpyrazolyl)methyl,

benzoisoxazolylmethyl, (methylindazolyl)methyl, (hydro xyazetidinyl)methyl, benzoyl, phenylcyclopropyi, (cyano(phenyl)meihyl)amino, tetxahydrofiuanyl,

pheny l(py ridiny loxy)methy 1, Iluoro ((lluorohy droxypyrrolidiny l)methy l)benzy 1,

((earboxypiperidinyl)methyl)fluorobenzyi, fluoro((N- methylmeihylstdfonamido)methyl)benzyl, ((dioxoimidazolidinyl)methyl)fluorobenzyl, (difluorophenyl)(hydroxy)methyl, (pyridinyl-lH-tetrazolyl)methyL (pyrazolyl- lH- tetrazolyl)methyl, (thiazolyl-lH-tetrazolyl)methyl, (methyltrifluoromethylpyrazolyl)methyl, ((Ll-dioxidoisothiazolidinyl)meihyl)iluorobenzyl, ((methyl-2, 5- dioxoimidazolidinyl)methyl)benzyl, and (cyanophenoxy)methyl.

In some embodiments, the optionally substituted R z is selected from pyridinyhnethyl, hydroxy (pheny l)methyl, hydroxy ethylamino(phenyl)ethyl, cyclohexyhnethyl, fluorobenzyl, hydroxy (fluoropheny l)m ethyl, (methylpyridinyi)methyl, (fluoropyridinyl)methyi,

(methoxypyridinyl)methyl, (methylpyrazolyl)benzyl, benzoisoxazolylmethyl, (methylindazolyl)methyl, (hydroxyazetidinyi)methyl, benzoyl, phenylcyclopropyl,

(cyano(phenyl)methyl)amino, tetrahydrofurasiyl, phenyl(pyridinyloxy)methyl, fluoro ((fluorohydroxypyrrolidinyl)metliyl)benzyl, ((carboxypiperidmyl)methyl)fluorobenzjd, fluoro((N -me thy ime thy lsulfonamido)methy l)benzy 1,

((dioxoimidazolidmyl)methyl)fluorobenzyl, and (difluorophenyl)(hydroxy)methyl.

In some embodiments, R 2 is selected from pyridinyimethyl, hydroxy(phenyi)methyl, hydroxy ethylami:no(phe:nyl)ethyl, eyclohexyimethyl, fluorobenzyl,

hydroxy (fluorophenyl)methyi, (methylpyridinyl)methyi, (fluoropyridinyl)methyl,

(meihoxypyridinyl)methyl, (meth lpyrazolyl)benzyl, benzoisoxazoly ime thyi,

(methyiindazolyi)methyl, (hydroxyazetidinyl)methyl, benzoyl, phenylcyclopropyl,

(cyano(phenyl)methyl)amino, tetrahydrofuranyl, and phenyl(pyridinyloxy)methyl.

In some embodiments,

In some embodiments, R 2 is selected from pyridin-2-ylmethyl,

hydroxy (phenyl)methyl, (2-hydroxyethylammo)(phenyl)methyl, eyclohexyimethyl, 2- fluorobenzy 1, (2-fluorophenyl)(hy droxy)methy 1, (6-methy lpyridin-2-yl)methyl, (3 - fluoropyridin-2-yl)methyl, (3-methoxypyridin-2-yl)methyl, 2-(l -methyl- lH-pyrazol-4- yllbenzyl, benzo[d]isoxazol-3-ylmethyl, (l-methyl-lH-indazol-3-yl)methyi, (3- hydroxyazetidin-l-y!)m ethyl, benzoyl, 1 -phenylcyclopropyl, (cyano(phenyl)methyl)amino, tetrahydrofuran-3-yl, phenyl(pyridm-2-yloxy)methyl, 2-fluoro-6-(((3R,4R)-3-fluoro-4- hydroxy py rrolidin- 1 -yl)me thy l)benzy 1, 2-((4-carboxypiperidin- 1 -y l)methy l)-6-lluorobenzyi, 2-fluoro-6-((N-methylmethylsulfonamido)methyl)benzyl, 2-((2,5-dioxoimidazolidin-l- yI)methyl)-6-fiuorobenzyl, (2,6-difluorophenyl)(hydroxy)methyl, (5-(pyridin-2-yl)-lH- tetrazol- 3 -y l)methy 1, (5 -(1 H-pyrazol- 3 -y l)-l H-tetrazol- 1 -yl)me thyi, (5 -(thiazol-4-y 1)- 1 H- tetrazol-l-yl)methyl, (5-methyl-3-(trifluoromethyl)-lH-pyrazol-l -yl)methyl (3- methy lpy ridin-2-y l)methy 1, 2-(( 1 , 1 -dioxidoiso thiazolidin-2-y i)methy 1) -6-fluorobenzy 1, 2- fluoro-6-((3-methyl-2,5-dioxoimidazolidm-l-yl)methyl)benzyl, (6-(trifluoromethyl)pyridin-2- yltmethyl, (3-(hydroxymethyl)pyridin-2-yl)methyl, (l-methyl-lH-pyrazol-3-yl)methyi, and (2-cyanophenoxy)methyl,(3-methylpyridiii-2-yl)methoxy, (6-methy lpyridin-2-yl)methoxy, and ((3-methyipyridm-2-yi)methyl)ammo.

In some embodiments, R 2 is selected from pyridin-2-ylmethyl,

hydroxy (phenyl)metliyl, (2-hydroxyethylamino)(phenyl)methyl, eyclohexyimethyl, 2- fluorobenzyl, (2-fluoropheny i)(hy droxy)methy 1, (6-methy lpyridin-2-yl)methy 1, (3 - fluoropyridin-2-yl)methyl, (3-methoxypyridin-2-yl)methyl, 2-(l-methyl-lH-pyrazol-4- yl)benzyl, benzo[d]isoxazol-3-ylmethyl, (l-methyl-lH-indazol-3-yl)methyl, (3- hydroxyazetidin-l-yl)methyl, benzoyl, 1-phenylcyclopropyl, (eyano(phenyi)methyl)amino, tetrahydrofuran-3-yl, phenyi(pyridin-2-yloxy)methyl, 2-fluoro-6-(((3R,4R)-3-fluoro-4- hydroxypyrrolidin-l-yl)methyl)benzyl, 2-((4-carboxypiperidin-1 -yl)methyl)-6-fluorobenzyl, 2-fluoro-6-((N-methylmeihylsulfonamido)methyl)beiizyl, 2-((2,5-dioxoimidazolidin-l- yl)methyl)-6-fluorobenzyl, and (2,6-difluorophenyl)(hydroxy)methyl.

In some embodiments, R 2 is selected from pyridin-2-ylmethyl,

hydroxy (phenyl)inethyl, 2-hydroxy ethylamino)(phenyl)methyl, cyclohexylmethyl, 2- fluorobenzyl, 2-fluorophenyl)(hydroxy)methyl, 6-methylpyridin-2-yl)methyl, 3- fluoropyridin-2-yl)methyl, 3-methoxypyridin-2-yl)methyl, 2-(l-methyl-IH-pyrazol-4- ylibenzyl, benzo[d]isoxazol-3-ylmethyl, l-meihyl-lH-mdazol-3-yi)methyl, 3- hydroxyazetidin-l~yi)methyl, benzoyl, 1-phenylcyclopropyl, (cyano(phenyl)methyl)amino, tetrahydrofuran-3-y 1, and phenyl(py ridin-2-y ioxy)methy 1.

In some embodiments, R 32 is selected from H and Ci-s alkyl, wherein the C -5 alkyl is optionally substituted 1, 2, or 3 independently selected R 11 substituents.

In some embodiments, R b2 is selected from H, Ci- 6 alkyl, Ce-w asyl, and 4- 14 membered heterocycloalkyl, wherein the C -e alkyl, Ce-u ary l, and 4-14 membered heterocycloalkyl are each optionally substituted with 1, 2, or 3 independently selected R° substituents.

In some embodiments, R c2 and R d2 are each independently selected from H, Ci-b alkyl, 5-14 membered heteroaryl, and Ce-u ary l-C - 6 alkyl-, wherein the C -e alkyl, 5- 14 membered heteroaryl, and Ce-u ary l-Ci- 6 alkyl- are each optionally substituted with 1, 2, or 3 independently selected R° substituents.

In some embodiments, each R° is indepedently selected from CN, OR a4 , and Ci-s alkyl, wherein the Ci- 6 alkyl is optionally substituted I, 2, or 3 independently selected R fl substituents.

In some embodiments, each R c is independently selected from halo, Ci-b alkyl, Ce-u aryl, 5-14 membered heteroaryd, (4-14 membered keterocycloalkyl)-Ci- 6 alkyl-, OR 34 , C(0)0R a+ , and NR c4 R d4 , wherein the Ci- 6 alkyl, 5-14 membered heteroaryl, and (4-14 membered heterocycloalkyl)-Ci-6 alkyl- are optionally substituted with I, 2, or 3

independently selected R H substituents.

In some embodiments, each R '- is independently selected from halo, Ci-e alkyl, C 6 -i4 aryl, 5-14 membered heteroaryl, (4-14 membered heterocycloalkyl)-Ci- 6 alkyl-, OR 34 , C(0)0R a4 , and NR c4 R d4 , wherein the C M alkyl, 5-14 membered heteroaryl, and (4-14 membered heterocycloalky3)-Ci- 6 alkyl- are substituted with 1, 2, or 3 independently selected R ri substituents.

In some embodiments, R* 4 is selected from H, C M alkyl, Ce-w aryl, and 5-14 membered heteroaryi.

In some embodiments, each R c4 and R d4 are independently selected from H and C M alkyl, wherein the C M , alkyl is optionally substituted by I , 2, or 3 independently selected R' 1 substituents.

In some embodiments, each R' 1 is independently selected from halo, oxo, C M alkyl, Cs-6 haloalkyi, OR 85 , C(0)GR a5 , and NR c5 S(0) 2 R b5 .

In some embodiments, each R a' , and R c5 is selected from H and C M alkyl.

In some embodiments, R to is selected from H and C M alkyl.

In some embodiments, R 3 is selected from H, D, halo, oxo, C M alkyl, C M haloalkyi, C2-6 alkenyl, C2-6 alkynyl, C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, Cs-w ar i-C alkyl-, CVw cycloalkyl-C M alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, (4-14 membered heterocycloalky l)-Ci-6 alkyl-, CN, NO2, GR aJ , SR 83 ,

P(0)(0R B )(0R s3 ), B(OR“) 2 and S(0) 2 NR c3 R d3 , wherein the C M alkyl, C M alkenyl, C 2.6 alkynyl, Ce-n aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, Ce-i4 aryd-C M alkyl-, C3-1 cycloalky 1-C alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalky 1)-C M alkyl- of R 3 are each optionally substituted with 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R !) substituents.

In some embodiments, R is selected from H, halo, C M alkyl, C M haloalkyi, C &-J 4 aryl, 5-14 membered heteroaryi, CN, and GR a;i , wherein the C M alkyl, Ce-uaryl, and 5-14 membered heteroaryi are each optionally substituted with 1, 2, or 3 independently selected substituents.

In some embodiments, R’ is selected from H, C M alkyl, halo, CN, morpholinomethyl, 4-ethoxyphenyi, 2-hydroxyethoxy, and pyridinyl.

In some embodiments, R J is selected from H, methyl, bromo, CN, morpholinomethyl, 4- ethoxyphenyl, 2 -hydroxy ethoxy, and pyridinyl. In some embodiments, X is CR 3 ; and R ! is H or Cj-e alkyl.

In some embodiments, X is CR 3 ; and R ! is H or Ci- 3 alkyl.

In some embodiments,

X is CR 3 ;

R 1 is selected from H and Ci-e alkyl;

R 2 is selected from H, D, Ce-u aiyl, 5-14 membered heteroaryi, C(0)R b2 ,

C(0)NR c2 R d2 , and C(0)QR a2 , wherein the Ce-u ryl and 5-14 membered heteroaryl of R 2 are each optionally substituted with 1, 2, 3, or 4 independently selected R L substituents;

R 3 is selected from H, D, halo, Ci-b alkyl, Ci-b haloalkyl, Ce-u aryl, 5-14 membered heteroaryl, CN, and OR a3 , wherein the Ci- 6 alkyl, Ce-n aryl, and 5-14 membered heteroaryl of R 5 are each optionally substituted with 1, 2, 3, or 4 independently selected R° substituents;

Cy 1 is phenyl optionally substituted with 1 , 2, 3, or 4 independently selected R M substituents, or Cio-i4 aryl or 5-14 membered heteroaryi, wherein the Cio-u aryl and 5-14 membered heteroaryi of Cy 1 is optionally substituted with I, 2, 3, or 4 independently selected R E substituents;

Cy 2 is C&.14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryi or 4-14 membered heterocycloalkyl, wherein the Cg-w aryl, Cso 4 cycloalkyl, 5- 14 membered heteroaryi and 4-14 membered heterocycloalkyl of Cy 2 are each optionally substituted with 1, 2, 3, or 4 independently selected R" substituents;

each R 32 , R c2 , R d2 , and R a3 is independently selected from H, Ci- 6 alkyl, C1 -6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C & .i 4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryi, and 4-14 membered heterocycloalkyl, wherein the Cj- 6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Cg-w aryl, C3-14 cycloalky l, 5-14 membered heteroaryi, and 4-14 membered heterocycloalkyl of R a2 , R c2 , R d2 , and R a3 are each optionally substituted with 1, 2, 3, or 4 independently selected R° substituents;

each R b2 is independently selected from Ci- 6 alkyl, Ci- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ci.-n aryl, C3-14 cycloalkyl, 5-14 membered heteroaryi, and 4-14 membered heterocycloalkyl, wherein the Cj-e alkyl, C2-6 alkenyl, C2-6 alkynyl, Gs-rr aryl, Cs-n cycloaikyd, 5-14 membered heteroaryi, and 4-14 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R° substituents;

each R c , R [) , R E , R " , and R G is independently selected from D, halo, oxo, Ci- 6 alk l, C i-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C3-i 4 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloaikyi, CN, NO2, OR 34 , SR ®4 , NHOR a4 , C(0)R b4 , C(0)NR c4 R d4 , C(0)OR a4 , OC(0)R b4 , 0C(0)NR c4 R d4 , \ R ! R ; ! . NR c4 C(0)R fc4 , NR c4 C(0)0R a4 , NR c+ C(0)NR c4 R d4 , C(=NR e4 )R b4 , C(=NR e4 )NR o4 R d4 5 NR c4 C(=NR e4 )NR c4 R d+ , NR e4 S(0)R M , NR c4 S(0) 2 R b4 , and NR c4 S(0) 2 NR c4 R d4 , wherein the Ci- 6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C H aryl, C3- M cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl of R c , R 4 ', R e , R 4 , and R° are each optionally substituted with 1, 2, 3, or 4 independently selected R ri substituents;

each R M IS independently selected from D, halo, oxo, Ci- 6 alkyl, Cm haloalkyl, C2-6 alkenyl, C 2-6 alkynyl, C f .-j+ aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, 2-CN, 3-CN, NO 2 , OR a4 , SR a4 , NHOR a4 , C(0)R b4 , C(0)NR c4 R d4 , C(0)OR a4 , OC(0)R m , OC(G)NR c4 R d4 , NR c4 R d4 , NR c4 C(0)R b4 , NR c4 C(0)0R a4 , NR c4 C(0)NR c4 R d4 , C(=NR e4 )R M , C(=NR e4 )NR c4 R d4 , NR c4 C(=NR e4 )NR c4 R d4 , NR c4 S(0)R M , NR c4 S(0) 2 R b4 , and NR c4 S(0) 2 NR c4 R d4 , wherein the Cm alkyl, C2-6 alkenyl, C 2-0 alkynyl, Ce- K aryl, C 3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl of R M are each optionally substituted with 1, 2, 3, or 4 independently selected R H substituents;

each R a4 , R c4 , and R d4 is independently selected from H, Ci- 6 alkyl, Ci- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, CVw aryl, C-t-u cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the Cm alkyl, C2-6 alkenyl, C2-6 alkynyl, Cs-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl of R a4 , R c4 , and R d4 are each optionally substituted with 1, 2, 3, or 4 independently selected R H substituents; each R b4 is independently selected from Ci- 6 alkyl, Ci- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C&-14 aryl,€3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the Ci-e alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-ir aryl, Cs-r+ cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R 1 ! substituents;

each R e4 is independently selected from H, OH, CN, C .-s alkyl, C .-s alkoxy, Ci- 6 haloalkyl, and C i-shaloalkoxyy

each R H is independently selected from D, halo, oxo, Ci- 6 alkyl, Ci-b haloalk l, C2-6 alkenyl, C2-6 alkynyl, C &-J 4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CN, N0 2 ,

OC(0)R b5 , 0C(0)NR c5 R d5 ,

C(=NR e5 )R b5 , C(=NR e5 )NR c

NR c5 S(G)2NR c5 R d5 , wherein the Ci-6 alkyl, C2.6 alkenyl, C2.6 alkynyl, Ce-i4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryd, 4-14 membered heterocycloalkyl, of R H are each optionally substituted with 1, 2, 3, or 4 independently selected R 1 substituents; each R 3 ' 5 , R c5 , and R d> is independently selected from H, Cj-b alkyl, Ci-e haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C -u cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the C i-s alkyl, C2-6 alkenyl, C2-6 alkynyl, Cs-w ary!, C 3- w cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl of R a4 , R c4 , and R d4 are each optionally substituted with 1, 2, 3, or 4 independently selected R ! substituents; each R b5 is independently selected from Ci-e alkyl, Ci-e haloalkyl, C2-6 alkenyl, C2-6 alkynyl, Ci.-w aryl, C 3 -i cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, -wherein the C -e alkyl, C 2-6 alkenyl, C2-6 alkynyl, C b-u aryl, C 3- w cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R 1 substituents;

each R 85 is independently selected from H, OH, CN, Ci-e alkyl, Ci-e alkoxy, Ci-e haloalkyl, and Ci-ehaloalkoxy;

each R 1 is independently selected from D, halo, oxo, Ci-e alkyl, Cue haloalkyl, C2-6 alkenyl, C2-6 alkynyl, 0 &-M aryl, C3..14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CN, N0 2 , OR 36 , SR* 6 , NHOR* 6 , C(0)R bf> , C(0)NR c6 R d6 , C(0)0R af> , OC(0)R b6 , 0C(0)NR c6 R d6 , NR c6 R d6 , NR c6 C(0)R b6 , NR c6 C(0)0R a6 , NR c6 C(G)NR c6 R d6 , C(=NR e6 )R b6 , C(=NR e6 )NR c6 R d6 , NR c6 C(=NR e6 )NR c6 R d6 , NR c6 S(0)R b6 , NR c6 S(0) 3 R b6 , and NR c6 S(0) 2 NR c6 R d6 , wherein the Ci-6 alkyl, C2-6 alkenyl,€2-6 alkynyl, C&-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalky 1, of R h are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

each R 36 , R cf> , and R d6 is independently selected from H, Ci- 6 alkyl, Ci- 6 haloalkyl, C2-6 alkenyl,€2-6 alkynyl, Ce-w aryl, C J-M cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the CM alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-w aryl, C 3 -w cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl of R a6 , R CR , and R d6 are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents; each R b6 is independently selected from Ci« alkyl, Ci« haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C &-J 4 aryl, C 3-i cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wdierein the C -e alkyl, C2-6 alkenyl, C2-6 alkynyl, C b-u aryl, C 3- w cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R J substituents;

each R e6 is independently selected from H, OH, CN, C .-s alkyl, C .-s alkoxy, Ci- 6 haloalkyl, and C i-ehaloalkoxy;

each R 3 is independently selected from D, halo, oxo, C -e alkyl, C -e haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C w aryl, C3- cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CN, N0 2 , OR 37 , SR 37 , NHOR a? , C(0)R b7 , C(0)NR c7 R d7 , C(0)OR a7 ,

NR C/ S(0) 2 NR C / R d/ , wherein the Ci-6 alkyl, C2.6 alkenyl, C2.6 alkynyi,€5-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryd, 4-14 membered heterocycloalkyl, of R H are each optionally substituted with 1, 2, 3, or 4 independently selected R K substituents;

each R a/ , R e ', and R d ' is independently selected from H, Ci- 6 alkyl, Ci- 6 haloalkyl, C2-6 alkenyl, C2-6 alkynyi, Ce-i + aiyl, C3-14 cycloalkyl, 5-14 membered heteroaryd, and 4-14 membered heterocycloalkyl, wherein the Ci. & alkyl, C2-6 alkenyl, C2-6 alkynyi, Cs-waryl, C3-14 cycloalkyl, 5-14 membered heteroaiyi, and 4-14 membered heterocycloalkyl of R a/ , R c7 , and R d ' are each optionally substituted with 1, 2, 3, or 4 independently selected R K substituents; each R b ' is independently selected from Ci-e alkyl, Ci-e haloalkyl, C2-6 alkenyl, C2-6 alkynyi, Ce-u aryl, fb-ir cycloalkyl, 5-14 membered heteroaiyi, and 4-14 membered heterocycloalkyl, wherein the Ci-e alkyl, C2-6 alkenyl, C2-6 alkynyi, Gs-14 aryl, C 3-14 cycloalkyl, 5-14 membered heteroary l, and 4-14 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R substituents;

each R e7 is independently selected from H, OH, CN, Ci-e alkyl, Ci-e alkoxy, Ci- & haloalkyl, and Ci-shaloalkoxy;

each R K is independently selected from H, D, OH, halo, oxo, CN, C(0)0H, NH 2 , NO 2 , SF 5 , C I-6 alkyl, Ci-e alkoxy, C -ehaloalkoxy, C *- 6 haloalkyl, tb-s alkenyl, C 2-6 alkynyi, C &. 14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaiyi, 4-14 membered heterocycloalkyl; and wherein any heteroaryl group of any of the above-recited substituents optionally comprises an N-oxide on any ring-forming nitrogen.

In some embodiments,

X is CR 3 ;

R ! is selected from H and Ci- 6 alkyl;

R 2 is selected from H, D, C f, -i4 ryl, 5-14 membered heteroaryl, C(0)R bi ,

C(0)NR c2 R a2 , and C(0)OR a2 , wherein the Ce-uaxyl and 5-14 membered heteroaryd of R 2 are each optionally substituted with 1, 2, 3, or 4 independently selected R c substituents;

R 3 is selected from H, D, halo, C - & alkyl, Ce-u aryl, 5-14 membered heteroaryd, CN, and OR 33 , wherein the Ci-e alkyl, Ce-w ar l, and 5-14 membered heteroaryd of R 3 are each optionally substituted with 1 , 2, 3, or 4 independently selected R D substituents;

Cy 1 is pheny l, optionally substituted with 1, 2, 3, or 4 independently selected R M substituents; or Cy 1 is Cio-u and or 5-14 membered heteroaryd, wherein the C IO-H and and 5- 14 membered heteroaryl of Cy 1 are each optionally substituted with 1, 2, 3, or 4

independently selected R fc substituents;

Cy z is Ce-u aryl, C B-M cycloalkyl, 5-14 membered heteroaryl or 4-14 membered heterocycloalkyl, wherein the Ce-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl and 4-14 membered heterocycloalkyl of Cy 2 are each optionally substituted with 1, 2, 3, or 4 independently selected R' substituents;

each R 32 , R“, R di , and R a3 is independently selected from H, Ci- 6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-n aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the C M alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-war l, C3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl of R 32 , R c2 , R d2 , and R 33 are each optionally substituted with 1, 2, 3, or 4 independently selected R substituents;

each R b2 is independently selected from C alkyl, C2-6 alkenyl, C2-6 alkynyl, CM·» ary l, C3- ! 4 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the Ci-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C&.14 aryd, C3. 14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R° substituents;

each R c , R D , R E , R r , and R° is independently selected from D, halo, oxo, C M alkyl, C2-6 alkenyl C M alkynyl, Ce-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, CN, N0 2 , OR 3 , SR 34 , NHOR 34 , C(0)R b4 , C(Q)NR c4 R d4 ,

NR c4 S(0) 2. R b4 , and NR c4 S(0) 2 NR c4 R d4 , wherein the Cw, alkyl, C2-6 alkenyl, C2-6 alkynyl, C M ary l, C3- ! 4 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl of R c , R 4 ', R e , R 4 , and R° are each optionally substituted with 1, 2, 3, or 4 independently selected R ri substituents;

each R M is independently selected from D, halo, oxo, Ci- 6 alk l, C2.6 alkenyl, C2-6 alkynyl, Cw4ai l, C3- W cycloalkyl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, 2-CN, 3-CN, N0 2 , OR 34 , SR 34 , NHOR 34 , C(0)R b4 , C(0)NR c4 R d4 , C(0)0R 34 ,

NR c4 S(0) 2 NR c4 R d4 , wherein the Ci- 6 alkyl, C2-6 alkenyl, C2-6 alkynyl,€5-14 aryi, C3..14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl of R M are each optionally substituted with 1, 2, 3, or 4 independently selected R H substituents; each R a+ , R c4 , and R d4 is independently selected from H, Ci-e alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-i + aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the Ci-b alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-n aryl, Cs-w cycloalky 1, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl of R a4 , R c4 , and R d4 are each optionally substituted with 1 , 2, 3, or 4 independently selected R H substituents;

each R M is independently selected from C 1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, aryl, C3-! 4 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the C -e alky l, C2-6 alkenyl, C2-6 alky nyl, Ce-u aryl,€3-5 + cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalk l are each optionally substituted with 1, 2, 3, or 4 independently selected R H substituents;

each R s+ is independently selected from H, OH, CN, C-- 6 alky l, C -e alkoxy, C1-6 haloalkyl, and Ci-ehaloalkoxy;

each R H is independently selected from D, halo, oxo, Ci-e alkyl, CN, NO2, OR ®5 , SR 33 ,

each R a5 , R ®3 , and R ds is independently selected from H, and Ci-b alkyl;

each R b3 is independently selected from Ci-e alkyl, C 2 -e alkeny l, C2-6 alkynyl, Ce-n aryl, C3 -14 cycloalkyl, 5-14 membered heteroaryd, and 4-14 membered heterocycloalkyl; and each R e5 is independently selected from H and C - 6 alkyl.

In some embodiments,

X is CR 3 ;

R ! is selected from H and C -e alky l;

R 2 is selected from H, D, Ce-io aryl, 5-10 membered heteroaryl, C(G)R b2 ,

C(0)NR c2 R a2 , and C(0)OR a2 , wherein the Ce-ioaryl and 5-10 membered heteroaryl of R 2 are each optionally substituted with 1, 2, 3, or 4 independently selected R c substituents;

R 3 is selected from H, D, halo, C - 6 alkyl, Cwo aiyl, 5-10 membered heteroaryl, CN, and OR 83 , wherein the Ci-b alkyl, Ce-ic. aryl, and 5-10 membered heteroaryl of R 3 are each optionally substituted with 1 , 2, 3, or 4 independently selected 4 ' substituents;

Cy ! is pheny l, optionally substituted with 1 , 2, 3, or 4 independently selected R M substituents; or Cy 1 is C10 aryl, 4-10 membered heterocycloalkyl, or 5-10 membered heteroaryl, wherein the C10 aryl, 4-10 membered heterocycloalkyl, and 5-10 membered heteroaryl of Cy 3 are each optionally substituted with 1, 2, 3, or 4 independently selected R substituents; Cy 2 is C b -io aiyl, C3-7 cycloalkyl, 5-10 membered heteroaryl or 4-10 membered heterocycloalkyl, wherein the C b -io aryl, C3-7 cycloalkyl, 5-10 membered heteroaryl and 4-10 membered heteroeyeloalkyl of Cy 2 are each optionally substituted with 1, 2, 3, or 4 independently selected R r substituents;

each R 32 , R ci , R d2 , and R 33 is independently selected from H, Ci-s alkyl, C 2 -s alkenyl, C2-6 alkynyl, Ce-io ary l, C3-7 cycloalkyl, 5-10 membered heteroaryi, and 4-10 membered heteroeyeloalkyl, wherein the C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-io aryl, C3-7 cycloalkyl, 5-10 membered heteroaryl, and 4-10 membered heteroeyeloalkyl of R a2 , R c2 , R d2 , and R 3J are each optionally substituted with 1, 2, 3, or 4 independently selected R G substituents;

each R b2 is independently selected from Cw alkyl, C2-6 alkenyl, C2-6 alkynyl, C S-JO aryl,€3-7 cycloalkyl, 5-10 membered heteroaryl, and 4-10 membered heteroeyeloalkyl, wherein the C , alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-io aryl, C3-7 cycloalkyl, 5-10 membered heteroaryi, and 4-10 membered heteroeyeloalkyl are each optionally substituted with 1 , 2, 3, or 4 independently selected R° substituents;

each R c , R D , R E , R" , and R G is independently selected from D, halo, oxo, Cw alkyl, €2-5 alkenyl, C2- S alkynyl, C b -io aryl, C3-7 cycloalkyl, 5-10 membered heteroaryi, 4-10 membered heteroeyeloalkyl, CN, N0 2 , OR !, i . SR 34 , NHOR a4 , C(0)R b4 , C(0)NR c4 R d4 ,

NR C4 S(0) 2 R m , and NR c4 S(0) 2 NR c4 R d4 , wherein the Cj-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Gs-so aryl, C3.7 cycloalkyl, 5-10 membered heteroaryi, and 4-10 membered heteroeyeloalkyl of R ( \ R d , R e , R r , and R G are each optionally substituted with 1, 2, 3, or 4 independently selected R H substituents;

each R M is independently selected from D, halo, oxo, Ci-s alkyl,€2-5 alkenyl, C2- S alkynyl, Ce-io aryl, C3-7 cycloaikyl, 5-10 membered heteroaryi, 4-10 membered

heteroeyeloalkyl, 2-CN, 3-CN. NO2, OR 34 , SR a4 , M i OR' 1 . C(0)R b4 , C(0)NR c4 R d4 , C(G)OR a4 , OC(0)R b4 , OC (0)NR c4 R d4 , NR c4 R d4 , NR c4 C(0)R b4 , NR c4 C(0)0R a4 , NR c4 C(0) R c4 R d4 , C(=NR e4 )R w , C(=NR e4 )NR c4 R d4 , NR c4 C(=NR e4 )NR o4 R d4 , NR c4 S(0)R b4 , NR c4 S(0) 2 R M , and NR e4 S(0) 2 NR c4 R d4 , wherein the Ci-b alkyl, C 2-f , alkenyl, C2-6 alkynyl, C 6-] o ryl, C3-7 cycloalkyl, 5-10 membered heteroaryi, and 4-10 membered heteroeyeloalkyl of R M are each optionally substituted with 1, 2, 3, or 4 independently selected R ri substituents;

each R 34 , R c4 , and R d4 is independently selected from H, C M alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-ioatyi, C 3-7 cycloalkyl, 5-10 membered heteroaiyl, and 4-10 membered heteroeyeloalkyl, wherein the C M alkyl, C 2-6 alkenyl, C 2-6 alkynyl, Ce- aryl, CV C yclQalky!, 5-10 membered heteroaiyl, and 4-10 membered heterocycloalkyl of R a4 , R c4 , and R d+ are each optionally substituted with 1 , 2, 3, or 4 independently selected R M substituents;

each R fc+ is independently selected from Cw alkyl, C 2- e alkenyl, C2-6 alkynyl, C S-JO aryl, C3.7 cycloalkyl, 5-10 membered heteroaryl, and 4-10 membered heterocycloalkyl, wherein the Cj- 6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Cs-io aryl, C3-7 cycloalkyl, 5-10 membered heteroaiyl, and 4-10 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R ri substituents;

each R 84 is independently selected from H, OH, CN, Ci-e alky l, Ci-e alkoxy, Ci-e haloalkyl, and Ci-ehaloalkoxy;

each R H is independently selected from D, halo, oxo, C - 6 alkyl, CN, NO2, OR 35 , SR a' , NHOR 35 , C(0)R b5 , C(0)NR c5 R d5 , C(0)OR a5 , OC(0)R b5 , 0C(0)NR c5 R d5 , NR c5 R d5 ,

NR c5 C(0)R b5 , NR c5 C(0)0R a5 , NR c5 C(0)NR c5 R d5 , C(=NR e5 )R bs , C(=NR e5 )NR c5 R d5 ,

NR c5 C(=NR e5 )NR c5 R d5 , NR c5 S(0)R b5 , NR c5 S(0) 2 R b5 , and NR c5 S(0) 2 NR c5 R d5 ; and

each R a \ R c y and R ds is independently selected from H, and Ci-b alkyl;

each R to is independently selected from Cs- 6 alkyl, C 2-& alkenyl, C2-6 alkynyl, C 10 aryl, C3 -10 cycloalkyl, 5-10 membered heteroaryl, and 4-10 membered heterocycloalkyl; and each R e5 is independently selected from H and C - 6 alkyl.

In some embodiments,

X is N;

R 1 is selected from H, C - 6 alkyl, and a 5-14 membered heteroaryl, wherein the Ci-e alkyl and a 5-14 membered heteroaryl are each optionally substituted with 1, 2, or 3 independently selected R B substituents;

R 2 is selected from H, D, Ci- 6 alkyl, Ce-uaryl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, Cs-ir ary l-Ci-e alkyl-, (5-14 membered heteroaryi)-Ci-6 alkyl-, ( - 14 membered heterocycloalkyl)-C ] < alkyl-, NR^R^.CCOiR 02 , C(0)NR c2 R d2 , and C(0)OR a2 , wherein the Ci-e alkyl, Ce- aryl, 5-14 membered heteroaryl, 4-14 membered

heterocycloalkyl, C M ar I-C1- & alkyl-, (5-14 membered heteroar l) -C -6 alkyl-, (4-14 membered heterocycloalkyi)-Ci- 6 alkyl- of R 2 are each optionally substituted with 1, 2, 3, or 4 independently selected R c substituents;

Cy ! is pheny l, optionally substituted with 1, 2, 3, or 4 independently selected R M substituents, or Cio-u aryl or 5-14 membered heteroaryl, wherein the C IO-M aryl and 5-14 membered heteroaryi of Cy ! is optionally substituted with 1, 2, 3, or 4 independently selected R substituents; Cy 2 is Ce-i+ aiyl, C3-14 cycloalkyl, 5-14 membered heteroaryi or 4-14 membered heterocycloalkyl, wherein the CVi aiyi, C3-14 cycloalkyl, 5-14 membered heteroaryl and 4-14 membered heterocycloalkyl of Cy 2 are each optionally substituted with 1, 2, 3, or 4 independently selected R r substituents;

each R 32 , R ci , and R d2 is independently selected from H, C 1-5 alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-n aryl, Ce-ir aryl-C -.e alkyl-, C S-M cycloalkyl, 5-14 membered heteroaryi, and 4-14 membered heterocy cloalkyl, wherein the Ci- 6 alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-i+aiyl, C M aryl-Ci-6 alkyl-, C3- M cycloalkyl, 5-14 membered heteroaryi, and 4-14 membered

heterocycloalkyl of R 32 , R ci , and R 02 are each optionally substituted with 1, 2, 3, or 4 independently selected R° substituents;

each R b2 is independently selected from C1-6 alkyl, C2-6 alkeny l, C2-6 alkynyl, Ce-n aryl, C3-14 cycloalkyl, 5-14 membered heteroaryi, and 4-14 membered heterocycloalkyl, wherein the Ci-e alkyl, C2-6 alkenyl, C 2-6 alkynyl, C S-M aryl, C3-14 cycloalkyl, 5-14 membered heteroaryi, and 4-14 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R u substituents;

each R b , R c , R , R b , and R G is independently selected from D, halo, oxo, C1.6 alkyl, C2-6 alkenyl, C 2-6 alkynyl, Ce-w aryl, C3-14 cycloalkyl, 5-14 membered heteroaryi, 4-14 membered heterocycloalkyl, CN, N0 2 , OR 34 , SR ®4 , NHOR ®4 , C(0)R M , C(0)NR c4 R d4 ,

NR C+ S(0) 2 R m , and NR o4 S(0) 2 NR c4 R d4 , wherein the C w alley 1, C 2.6 alkenyl, C 2.6 alkynyl, Ce-u aryl, C3-14 cycloalkyl, 5-14 membered heteroaryi, and 4-14 membered heterocycloalkyl of R B , R l , R k , R r , and R° are each optionally substituted with 1, 2, 3, or 4 independently selected R H substituents;

each R M is independently selected from D, halo, oxo, Cs- 6 alkyl, C 2-6 alkenyl, C2-6 alkynyl, Ck-i+ aryl, C3-14 cycloalky 1, 5-14 membered heteroaryi, 4-14 membered

heterocycloalkyl, 2-CN, 3-CN, NO2, OR 34 , SR 34 , NHOR 34 , C(0)R b4 , C(0)NR c4 R d4 , C(0)0R 34 ,

NR c S(0) 2 NR c R d4 , wherein the Cs- 6 alkyl, C2-6 alkenyl, C 2-6 alkynyl, CVw axyl, C3- M cycloalkyl, 5-14 membered heteroaryi, and 4-14 membered heterocycloalky 1 of R M are each optionally substituted with 1 , 2, 3, or 4 independently selected R H substituents;

each R 34 , R c+ , and R d4 is independently selected from H, Ci- 6 alkyl, C 2-6 alkenyl, C2-6 alkynyl, C f, - 4 aiyl, C3-i 4 cycioalkyl, 5-14 membered heteroaryd, and 4-14 membered heterocycloalkyl, wherein the Ci-e alkyl, C2-6 alkenyl, C2-6 alkynyl, Ce-waxyl,€3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl of R 34 , R 64 , and R d4 are each optionally substituted with 1, 2, 3, or 4 independently selected R H substituents;

each R M is independently selected from Ci« alkyl, C 2 « alkenyl, C2-6 alkynyl, Ce-14 a d, Cs- 14 cycloalkyl 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, wherein the C -6 alkyl, C2-6 alkenyl, C 2 -6 alkynyl, CS- M aryl, Cs- cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl are each optionally substituted with 1 , 2, 3, or 4 independently selected R ri substituents;

each R e4 is independently selected from H, OH, CN, Cue alkyl, Ci-e alkoxy , Ci-e haloalkyl, and Ci-ehaloalkoxy;

each R M is independently selected from D, halo, oxo, Cue alkyl, CN, NO2, OR a> , SR 35 , NHOR a5 , C(0)R b5 , C(0)NR c5 R d5 , C(0)OR a5 , OC(0)R b5 , 0C(0)NR c ¾ d5 , NR c5 R d5 ,

NR c5 C(0)R b5 , NR c5 C(0)0R a5 , NR c5 C(0)NR c5 R d5 , C(=NR e5 )R b5 , C(=NR e5 )NR c5 R d5 ,

NR c5 C(=NR e5 )NR c5 R d5 , NR c5 S(0)R bs , NR c5 S(0) 2 R b5 , and NR c5 S(0) 2 NR c5 R d5 ; and

each R 3 , R c5 , and R d5 is independently selected from H, and Cs- 6 alkyl;

each R b5 is independently selected from Ci- 6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C S-M aryl, C3-! 4 cycloalky 1, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl; and each R e5 is independently selected from H and Ci- 6 alkyl.

In some embodiments,

X is N;

R 1 is H or a 5-14 membered heteroaryl optionally substituted with 1, 2, or 3 independently selected R B substituents;

R 2 is selected Ci- 6 alkyl, 4-14 membered heterocycloalkyl, C f r.34 ary I-C1-6 alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, (4-14 membered heterocycloalkyl)-C 1-5 alkyl-, and NR c2 R d2 , wherein the C - 6 alkyl, 4-14 membered heterocycloalkyl, Ce-ir aryd-C i-b alkyl-, (5-14 membered heteroaryl)-Ci-6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci..6 alkyl- of R 2 are each optionally substituted with 1, 2, or 3 independently selected R c substituents;

Cy ! is phenyl optionally substituted with 1, 2, or 3 independently selected R' substituents; and

Cy 2 is 5-14 membered heteroaryl optionally substituted with 1 , 2, or 3 independently selected R r substituents.

in some embodiments,

X is N; R ! IS H or a 5-14 membered heteroaryl optionally substituted with 1, 2, or 3 independently selected R H substituents;

each R B is independently selected from D, halo, oxo, C - 6 alkyl, C - 6 haloalkyi, C2-6 alkenyl, CN, NO2 and OH;

R 2 is selected C i-s alkyl, 4-14 membered heterocycloalkyl, Ce-u ary l-Ci- 6 alkyl-, (5-14 membered heteroaryl)-Ci^ alkyl-, (4-14 membered heterocycloalky 1)-C i-b alkyl-, and NR“R d/· , wherein the Ci-e alkyl, 4-14 membered heterocycloalkyl, Ce-i4 ary 1-Ci-e, alkyl-, (5-14 membered heteroaryl)-Ci- 6 alkyl-, and (4-14 membered heterocycloalkyl)-Ci- 6 alkyl- of R 2 are each optionally substituted with 1, 2, or 3 independently selected R c substituents;

each R c2 and R d2 are independently selected from H, C i-s alkyl, Ce-w aiyl-Ci- 6 alkyl-, wherein the C -e alky l and Ce-u ary I-C1-6 alkyl- of R c2 and R d2 are each optionally substituted with 1, 2, or 3 independently selected R u substituents;

each R c is independently selected from D, halo, oxo, C - 6 alkyl, C 6 -i4 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heteroc cloalk l, OR 34 , C(0)NR c4 R d4 and NR c4 R d4 , wherein the Ci-e alkyl, C 6 -w aryl,€3-14 cycloalkyl, 5-14 membered heteroaryl, and 4-14 membered heterocycloalkyl, of R c is optionally substituted with 1, 2, or 3 independently selected R H substituents;

each R 84 , R c4 , and R d4 is independently selected from H, Ci-b alkyl, Cj- 6 haloalkyi, C2-6 alkenyl, and 5-14 membered heteroaryl, wherein the Ci-b alkyl, C2-6 alkenyl, and 5-14 membered heteroaryl, of R ®4 , R 0 *, and R d are each optionally substituted with 1 , 2, or 3 independently selected R d substituents;

each R G is independently selected from D, halo, oxo, Ci-e alkyl, CN, NO2, and OH;

Cy 1 is phenyl optionally substituted with 1, 2, or 3 independently selected R substituents;

each R E is independently selected from D, halo, oxo, Ci-e alkyl, CN, O2 and OH;

Cy 2 is 5-14 membered heteroaryl optionally substituted with 1, 2, or 3 independently selected R r substituents;

each R* is independently selected from D, halo, oxo, Ci- 6 alkyl, C2-6 alkenyl, CN,

NO2, and OR 34 , wherein the C - 6 alkyl and C2-6 alkenyl of R f are each optionally substituted with 1, 2, or 3 independently selected R ri substituents;

each R 34 is independently selected from H, Ci- 6 alkyl and Ci-b alkoxy; and each R H is independently selected from D, halo, oxo, CVe alkyl, CN, NO and OH.

In some embodiments,

X is N; R ! IS H or a 5-10 membered heteroaryl optionally substituted with 1, 2, or 3 independently selected R H substituents;

each R B is independently selected from D, halo, oxo, C - 6 alkyl, C - 6 haloalkyi, C2-6 alkenyl, CN, NO2 and OH;

R 2 is selected Ci-s alkyl, 4-10 membered heterocycloalkyl, Cs-io ary l-Ci- 6 alkyl-, (5-10 membered heteroaryl)-Ci^ alkyl-, (4-10 membered heterocycloalkyl)-Ci-6 alkyl-, and NR“R d/· , wherein the Ci-e alkyl, 4-10 membered heterocycloalkyl, Ce-io ary 1-Ci-e, alkyl-, (5-10 membered heteroaryl)-Ci- 6 alkyl-, and (4-10 membered heterocycloalkyl)-Ci- 6 alkyl- of R 2 are each optionally substituted with 1, 2, or 3 independently selected R c substituents;

each R c2 and R d2 are independently selected from H, Ci-s alkyl, CV10 asyl-Ci- 6 alkyl-, wherein the C -e alkyl and Ce-io ary l-Ci- 6 alkyl- of R c2 and R d2 are each optionally substituted with 1, 2, or 3 independently selected R u substituents;

each R c is independently selected from D, halo, oxo, C - 6 alkyl, C 6 -io aryl, C 3-7 cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heteroc cloalk l, OR 34 , C(0)NR c4 R d4 and NR c4 R d4 , wherein the Ci-e alkyl, C 6 -io aryl, C3- ? cycloalkyl, 5-10 membered heteroaryl, and 4-10 membered heterocycloalkyl, of R c is optionally substituted with 1, 2, or 3 independently selected R rf substituents;

each R 84 , R c4 , and R d4 is independently selected from H, Cj-b alkyl, Ci-e haloalkyi, C2-6 alkenyl, and 5-10 membered heteroaryl, wherein the Ci-b alkyl, C2-6 alkenyl, and 5-10 membered heteroaryl, of R ®4 , R 0 *, and R d4 are each optionally substituted with 1, 2, or 3 independently selected R d substituents;

each R G is independently selected from D, halo, oxo, Ci-e alkyl, CN, NO2, and OH;

Cy 1 is phenyl optionally substituted with 1, 2, or 3 independently selected R substituents;

each R E is independently selected from D, halo, oxo, Ci-e alkyl, CN, O2 and OH;

Cy 2 is 5-10 membered heteroaryl optionally substituted with 1, 2, or 3 independently selected R r substituents;

each R* is independently selected from D, halo, oxo, Ci- 6 alkyl, C2-6 alkenyl, CN,

NO2, and OR 34 , wherein the C - 6 alkyl and C2-6 alkenyl of R f are each optionally substituted with 1, 2, or 3 independently selected R ri substituents;

each R 34 is independently selected from H, Ci- 6 alkyl and Ci-b alkoxy; and each R H is independently selected from D, halo, oxo, CVe alkyl, CN, NO and OH.

In some embodiments,

X is N; R ! is H or nicotinonitriie;

R 2 is pyridinylmethyl, hydroxy(phenyl)methyl, hydroxyetiiylamino(phenyl)ethyl, cyelohexyimethyi, fluorobenzyl, hydroxy (fluorophenyl)methyl, methylpyridinylmetliyl, fluoropyridinylmethyl, melhoxypyridinylmethyl, methylpyrazolylbenzyl- benzoisoxazolylmethyl, methylindazoly!methyl, hydroxyazetidinylmethyl, benzoyl, phenyicyclopropyl, cyano(phenyl)methylamino, tetrahydrofuranyl, or phenyl(pyridin-2- yloxy)methy5;

Cy ! is cyanophenyl; and

Cy 2 is pyrimidinyl, eth lpyrazolyl propylpyrazol l, quinolinyl, iluoropyrimidinyl, pyridinyl, methylpyridinyl, methoxy-methylpyridinyl, pyrazolopyridazinyl, methyloxazolyl, hydroxymethyl-methyloxazolyl, or methoxymethyl-methyloxazolyl.

In some embodiments,

X is N;

R* is H;

R 2 is selected from pyridin-2-ylmethyl, hydroxy(phenyl)methyl, (2~

hydroxyethylamino)(phenyl)methyl, cyelohex imethyi, 2-fluorobenzyl, (2- fluorophenyl)(hydrox:y)methyl, (6-methylpyridin-2-yl)methyl, (3-fluoropyridin-2-yl)methyl, (3-methoxypyridin-2-yl)methyl, 2-(l-methyl-lH-pyrazol-4-yl)benzjd, benzo[d]isoxazol-3- ylmethyl, (1 -methyl- lH-indazol-3-yl)methyl, (3-hydroxyazetidin-l-yl)methyl, benzoyl, 1- phenylcyclopropyl, (cyano(phenyl)methyl)amino, tetrahydrofuran-3-yl, phenyl(pyridin-2- yloxy)methyl, 2-fluoro-6-(((3R,4R)-3-fluoro-4-hydroxypyrrolidin-l-yl)methy l)benzyl, 2-((4- carboxypiperidin- 1 -y l)methy l)-6-fluorobenzy 1, 2-fluoro-6-((N - meihyimethy3sulfonamido)methyl)benzyl, 2-((2,5-dioxoimidazolidin-l-yl)methyl)-6- fluorobenzyl, (2,6-difluorophenyl)(hydroxy)methyl, (5-(pyridin-2-yl)-lH-tetrazol-l- yl)methy3, (5-(lH-pyrazol-l-yl)-lH-tetrazol-l-yl)methyl, (5-(thiazo3~4-yl)-lH-tefrazol-l- yllmethyl, (5-methyl-3-(trifluoromethyl)-lH-pyrazol-l-yl)methyl, (3-methylpyridin-2- yl)met3iyl, 2-((l,l-dioxidoisothiazolidin-2-yl)methyl)-6-fluorobenzyl, 2-fluoro-6-((3-methyl- 2,5-dioxoimidazolidin~l-yl)methyi)benzy3, (6-(trifluoromethyl)pyridin-2-yl)methyl, (3- (hydroxymethyl)pyridin-2-yl)methyl, (l-metliyl-lH-pyrazol-3-yl)methyl, and (2- cyanophenoxy)methyl,(3-methyipyridin-2-yi)methoxy r , (6-methylpyridin-2-yl)methoxy, and ((3 -methy lpy ridin-2-y Ijmethy l)amino ;

Cy 1 is cyanophenyl; and

Cy 2 is selected from 2,6-dimethylpyridin-4-yl, pyridin-4-yl, 2-methylpyridin-4-yl, 1- carbamoyl- 1 ,2,3,6-tetrahydrop ridin-4-yl, l-carbamoylpiperidin-4-yl, 2-methoxypyridin-4-yl, 2-meihoxy-6~methylpyridin-4-yl, 2,6~dimethyipyridin-4~yT~l-oxide, l-ethyl-6-oxo-l,6- dihydropyridin-3-yl, 3-methylpyridin-4-yl, 3-fluoropyridin-4-yl, 3-chloropyridin-4-yl, 3- methoxypyridin-4-y 1, 3 -cyanopyridin -4-yl, 4-carbamoy lpheny 1 , pyrazolo[ 1,5 -a\ pyridin -3 -yl, pyrazolo [ 1 ,5 -b]pyridazin-3 -y 1, 5-methy 1- lH-pyrazol-4-y 1, 1 -ethyl- 1 H-pyrazol-5-y 1, 1- isopropyl-lH-pyrazol-5-yl, 1 -propyl-lH-pyrazol-5-yl, pyrimidin-4-yl, 2,3-dihydro- [l,4]dioxinof2,3-b]pyridin-8-yl, quinolin-5-yl, 5-fluoropyrimidm-4-yl, oxazol-5-yl, 4- methy loxazol-5 -y 1, 4-ethy loxazo!-5 -yl , 4-(hydroxy methy l)-2-methy loxazol-5 -y 3, 4- (methoxymethyl)-2~methy loxazol-5 -yl, 4~(hydroxymeihyl)-2-meihyloxazol~5-yl, 1-ethyl-lH- l,2,3-triazol-5-yl, and cyclopropyl.

In some embodiments, the compound is the (S) -enantiomer of one of the preceding compounds, or a pharmaceutically acceptable salt thereof. In some embodiments, the compound is the (R) -enantiomer of one of the preceding compounds, or a pharmaceutically acceptable salt thereof.

It is further appreciated that certain features of the invention, which are, for clarity, described in the context of separate embodiments, can also be provided in combination in a single embodiment. Conversely, various features of the invention which are, for brevity, described in the context of a single embodiment, can also be provided separately or in any suitable subcombination.

At various places in the present specification, divalent linking substituents are described. It is specifically intended that each divalent linking substituent include both the forward and backward forms of the linking substituent. For example, -NR(CR’R”) n - includes both -NR(CR’R”) n - and -(CR’R”) n NR-. Where the structure clearly requires a linking group, the Markush variables listed for that group are understood to be linking groups.

The term“n-membered” where n is an integer typically describes the number of ring forming atoms in a moiety where the number of ring-forming atoms is n. For example, piperidinyl is an example of a 6-membered heterocycloalkyl ring, pyrazolyl is an example of a 5-membered heteroaryl ring, pyridyl is an example of a 6-membered heteroaiyl ring, and 1,2,3,4-tetrahydro-naphthalene is an example of a 10-membered cycloalkyl group.

As used herein, the phrase“optionally substituted" means unsubstituted or substituted. The substituents are independently selected, and substitution may be at any chemically accessible position. As used herein, the term“substituted" means that a hydrogen atom is removed and replaced by a substituent. A single divalent substituent, e.g., oxo, can replace two hydrogen atoms. It is to be understood that substitution at a given atom is limited by valency. As used herein, the phrase "each‘variable’ is independently selected from” means substantially the same as wherein“at each occurence‘ variable’ is selected from.”

Throughout the definitions, the term "C n-m ” indicates a range which includes the endpoints, wherein n and m are integers and indicate the number of carbons. Examples include C ; , Ci-4, Ci-s, and the like.

As used herein, the term“C n-m alkyl”, employed alone or in combination with other terms, refers to a saturated hydrocarbon group that may be straight-chain or branched, having n to m carbons. Examples of alkyl moieties include, but are not limited to, chemical groups such as methyl (Me), ethyl (Et), «-propyl (w-Pr), isopropyl (iPr), «-butyl, fe/7-butyl, isobutyl, sec-butyl; higher homologs such as 2-methyl-l-butyl, «-pentyl, 3-pentyl, «-hexyl, 1 ,2,2- trimethylpropyl, and the like. In some embodiments, the alkyl group contains from 1 to 6 carbon atoms, from 1 to 4 carbon atoms, from 1 to 3 carbon atoms, or 1 to 2 carbon atoms.

As used herein, "C n-m alkenyl” refers to an alkyl group having one or more double carbon-carbon bonds and having n to m carbons. Example alkenyl groups include, but are not limited to, ethenyl, «-propeny!, isopropenyt, «-butenyl, sec-butenyl, and the like. In some embodiments, the alkenyl moiety contains 2 to 6, 2 to 4, or 2 to 3 carbon atoms.

As used herein,“C n-m alkyn 1” refers to an alkyl group having one or more triple carbon-carbon bonds and having n to m carbons. Example alkyny 1 groups include, but are not limited to, ethynyl, propyn-l-yl, propyn-2-yl, and the like. In some embodiments, the alkynyi motet} ' contains 2 to 6, 2 to 4, or 2 to 3 carbon atoms.

As used herein, the term“C n-m alkoxy”, employed alone or in combination with other terms, refers to a group of formula-G-alkyl, wherein the alkyl group has n to m carbons. Example alkoxy groups include, but are not limited to, methoxy, ethoxy, propoxy (e.g., «- propoxy and isopropoxy), butoxy (e.g., «-butoxy and tert- butoxy), and the like. In some embodiments, the alkyl group has 1 to 6, 1 to 4, or 1 to 3 carbon atoms.

As used herein, the term“amino” refers to a group of formula -NEE.

As used herein, the term“aryl”, employed alone or in combination with other terms, refers to an aromatic hydrocarbon group, which may be monocyclic or polycyclic (e.g., having 2, 3, or 4 fused rings). The term“Cn-m aryl” refers to an aryl group having from n to m ring carbon atoms. Aryl groups include, e.g., phenyl, naphthyl, anthracenyl, phenanthrenyl, indanyl, indenyl, and the like. In some embodiments, aryl groups have from 5 to 14 carbon atoms. In some embodiments, the aryl group has from 5 to 10 carbon atoms in some embodiments, the aryl group is phenyl or naphthyl. In some embodiments, the aryl group is phenyl. As used herein,“halo " refers to F, Cl, Br, or I. In some embodiments, a halo is F, Cl, or Br In some embodiments, a halo is F or Cl. In some embodiments, a lialo is F In some embodiments, a halo is Cl.

As used herein,“C n-m haIoalkoxy” refers to a group of formula -O-haloalkyl having n to m carbon atoms. Example haloalkoxy groups include OCF 3 and OCF). An example haloalkoxy group is OCHIA. In some embodiments, the haloalkoxy group is fluorinated only. In some embodiments, the alkyl group has 1 to 6, 1 to 4, or l to 3 carbon atoms.

As used herein, the term“C n-n , haloalkyl”, employed alone or in combination with other terms, refers to an alkyl group having from one halogen atom to 2s+l halogen atoms which may be the same or different, where“s” is tire number of carbon atoms in the alkyl group, wherein the alkyl group has n to m carbon atoms. In some embodiments, the haloalkyl group is fluorinated only. In some embodiments, the alkyl group has 1 to 6, 1 to 4, or 1 to 3 carbon atoms. Example haloalkyl groups include CF), C2F5, CHF 2 , CC1 3 , CHCI2, C 2 CI 3 and the like.

As used herein, the term“thio” refers to a group of formuIa-SH.

As used herein, the term“carbamyl” to a group of formula -C(0)NH 2 .

As used herein, the term“carbonyl”, employed alone or in combination with other terms, refers to a -C(0)- group.

As used herein,“cycloalky 1” refers to non-aromatic cyclic hydrocarbons including cyclized alkyl and alkenyl groups. Cycloalkyl groups can include mono- or polycyclic (e.g., having 2, 3, or 4 fused rings) groups, spirocycles, and bridged rings (e.g., a bridged bicycloalkyl group). Ring-forming carbon atoms of a cycloalkyl group can be optionally substituted by oxo or sulfido (e.g., C(O) or C(S)). Also included in the definition of cycloalkyl are moieties that have one or more aromatic rings fused (i.e., having a bond in common with) to the cycloalkyl ring, for example, benzo or thieny l derivatives of cyclopentane, cyclohexane, and the like. A cycloalkyl group containing a fused aromatic ring can be attached through any ring-forming atom including a ring-forming atom of the fused aromatic ring. Cycloalkyl groups can have 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, or 14 ring-forming carbons (i.e., C3- W ). hi some embodiments, the cycloalkyl is a C3- 14 monocyclic or bicyclic cycloalkyl. In some embodiments, the cycloalkyl is a€3-7 monocyclic cycloalkyl. In some embodiments, the cycloalkyl is a C 4..7 monocyclic cycloalkyl. In some embodiments, the cycloalkyl is a Cwo spirocycle or bridged cycloalkyl (e.g., a bridged bicycloalkyl group). Example cycloalkyl groups include cyclopropyl, cyclobutyl, cyclopentyl, cyclohexyl, cyclohepty!, cyc!opentenyl, cyclohexenyl, cyclohexadienyl, cycloheptatrienyl, norbomyl, norpinyl, norcamyl, cubane, adamantane, bicyclojd. l. l]pentyl, bicyclo[2. l . l]hexyl, bicyclo[2.2.1 ]heptanyl, bicyclop l. ljheptanyl, bicyclo[2.2.2]octanyl, spiro[3.3]heptanyl, and the like. In some embodiments, cycloalkyl is cyclopropyl, cyclobutyl, cyclopentyl or cyclohexyl.

As used herein,“heteroaryl” refers to a monocyclic or polycyclic (e.g., having 2, 3, or 4 fused rings) aromatic heterocycle having at least one heteroatom ring member selected from N, O, S, and B. In some embodiments, the heteroaryl ring has 1 , 2, 3, or 4 heteroatom ring members independently selected from N, O, S and B. In some embodiments, any ring- forming N in a heteroaryl moiety can be an N-oxide. In some embodiments, the heteroaryl is a 5-10 membered monocyclic or bicyclic heteroaryl having 1, 2, 3, or 4 heteroatom ring members independently selected from N, O, S, and B. In some embodiments, the heteroaryl is a 5-6 monocyclic heteroaryl having 1, 2, or 3 heteroatom ring members independently selected from N, O, S, and B. In some embodiments, the heteroaryl is a five -membered or six- membereted heteroaryl ring. A five -membered heteroaryl ring is a heteroaryl with a ring having five ring atoms wherein one or more (e.g., I, 2, or 3) ring atoms are independently selected from N, O, S, and B. In some embodiments, the heteroaryl group contains 3 to 14, 4 to 14, 3 to 7, or 5 to 6 ring-forming atoms. In some embodiments, the heteroaryl group has 1 to 4 ring-forming heteroatoms, I to 3 ring-forming heteroatoms, 1 to 2 ring-forming heteroatoms or 1 ring-forming heteroatom. When the heteroaryl group contains more than one heteroatom ring member, the heteroatoms may be the same or different. Example heteroaryl groups include, but are not limited to, pyridine, pyrimidine, pyrazine, pyridazine, pyrrole, pyrazole, azolyl, oxazole, isoxazole, thiazole, isothiazole, imidazole, furan, thiophene, triazole, tetrazole, thiadiazole, quinoline, isoquinoline, indole, henzothiophene, benzofuran, benzisoxazole, imidazojl, 2-b]thiazole, purine, iriazine, thieno[3,2-b]pyridine, imidazo[l,2- ajpyridine, 1 ,5-naphthyridme, lH-pyrazolo[4,3-b]pyridine, and the like.

A five-rnembered heteroaryl is a heteroaryl group having five ring-forming atoms wherein one or more (e.g., 1, 2, or 3) of the ring-forming atoms are independently selected from N, O, B, and S. Exemplary' five-membered ring heteroaryls are thienyl, fuiyl, pyrrolyi, imidazolyl, thiazolyl, oxazolyl, pyrazo!yl, isothiazolyl, isoxazolyl, 1,2,3 -triazolyl, tetrazolyl,

1.2.3-thiadiazolyl, 1,2,3-oxadiazolyl, 1,2,4-triazolyl, 1 ,2,4-thiadiazolyl, 1,2,4-oxadiazolyl,

1.3.4-triazoiyl, 1,3,4-thiadiazolyl, 1,3,4-oxadiazolyl and l,2-dihydro-i,2-azaborine.

A six-membered heteroaryl ring is a heteroaryl with a ring having six ring-forming atoms wherein one or more (e.g., 1, 2, or 3) ring atoms are independently selected from N, O, S, and B. Exemplar}' six-membered ring heteroaiyls are pyridyl, pyrazinyl, pyrimidinyl, triaziny! and pyridazinyl.

As used herein,“heterocycloaikyl” refers to monocyclic or polycyclic heterocycles having at least one non-aromatic ring (saturated or partially saturated ring), wherein one or more of the ring-forming carbon atoms of the heterocycloaikyl is replaced by a heteroatom selected from N, O, S, and B, and wherein the ring-forming carbon atoms and heteroatoms of a heterocycloaikyl group can be optionally substituted by one or more oxo or sulfide (e.g., C(O), S(O), C(S), or S(0) 2 , etc). Heterocycloaikyl groups include monocyclic and polycyclic (e.g., having 2, 3, or 4 fused rings) systems. Included in heterocycloaikyl are monocyclic and polycyclic 3-14-, 4-14-, 3-10-, 4-10-, 5-10-, 4-7-, 5-7-, 5-6-, 5- or 6- membered

heterocycloaikyl groups. Heterocycloaikyl groups can also include spirocycles and bridged rings (e.g., a 5-14 membered bridged biheteroeycioalky! ring having one or more ring- forming carbon atoms replaced by a heteroatom independently selected from N, O, S, and B). The heterocycloaikyl group can be attached through a ring -forming carbon atom or a ring forming heteroatom. In some embodiments, the heterocycloaikyl group contains 0 to 3 double bonds. In some embodiments, the heteroc cloaikyl group contains 0 to 2 double bonds.

Example heterocycloaikyl groups include pyrrolidonyl, pyrrolidin-2-one, 1,3- isoxazo!idin-2-one, pyranyl, tetrahydropyran, oxetanyl, azetidinyl, morpholinyl, thiomorpholino, piperazinyl, tetrakydrofuranyl, tetrahydrothienyl, piperidinyl, pyrrolidinyl, isoxazolidinyl, isothiazolidinyl, pyrazolidinyl, oxazolidinyl, thiazolidinyl, imidazolidinyl, azepanyl, 1 ,2,3,4-tetrahy droisoquinoline, benzazapene, azabicyclo[3.1.Ojhexanyl, diazabicyclop. l.Ojliexanyl, oxabicyclo[2.I . Ijhexanyi, azabicyclo[2.2. l]heptanyl, diazabicyclo[2.2.1]heptanyl, azabicyclo[3.1. l]heptanyl, diazabicyclo[3.1.1]heptanyl, azabicyclo[3.2.1]octanyl, diazabicyclo[3.2.l]octanyl, oxabicyclo[2.2.2]octanyl,

azabicyclo[2.2.2]octanyl, azaadamantanyl, diazaadamantanyl, oxa-adamantanyl, azaspiro[3.3]heptanyl, diazaspiro[3.3]heptanyl, oxa-azaspiro[3.3]heptanyl,

azaspiro[3.4]octanyl, diazaspiro[3 4]octany 1, oxa-azaspiro[3.4]oetanyl, azaspiro[2.5]octanyl, diazaspiro[2.5]octanyl, azaspiro[4.4]nonanyl, diazaspiro[4.4]nonanyl, oxa- azaspiro[4.4]nonanyl, azaspiro[4.5]decanyl, diazaspiro[4.5]decanyl, diazaspiro[4.4]nonanyl, oxa-diazaspiro[4.4]nonanyi and the like. In some embodiments, the heterocycloaikyl group is pyrrolidonyl, pyrrolidin-2-one, l,3-isoxazolidin-2-one, pyranyl, tetrahydropuran, oxetanyl, azetidinyl, morpholinyl, thiomorpholino, piperazinyl, tetrahydrofuranyl, tetrahydrothienyl, piperidinyl, pyrrolidinyl, isoxazolidinyl, isothiazolidinyl, pyrazolidinyl oxazolidinyl, thiazolidinyl, imidazolidinyl, or azepanyl. In some embodiments, the heterocycloalkyl group contains 3 to 14 ring-forming atoms, 4 to 14 ring-forming atoms, 3 to 7 ring-forming atoms, or 5 to 6 ring-forming atoms.

In some embodiments, the heterocycloalkyl group has 1 to 4 heteroatoms, 1 to 3 heteroatoms,

1 to 2 heteroatoms or I heteroatom. In some embodiments, the heterocycloalkyl is a monocyclic 4-6 membered heterocycloalkyl having 1 or 2 heteroatoms independently selected from N, Q, S, and B and having one or more oxidized ring members. In some embodiments, the heterocycloalkyl is a monocyclic or bicyclic 4-10 membered heterocycloalkyl having 1 , 2, 3, or 4 heteroatoms independently selected from N, Q, S, and B and having one or more oxidized ring members.

As used herein, an“alkyl linking group” is a bivalent straight chain or branched alkyl linking group (“alkylene group”). For example,“C 0-P cycioalkyl-C n-m alkyl-”,“C 0-p ar l-C n-m alkyl- ,“phenyl-C n-m alkyl-”,“heteroaryl-Cn-m alkyl-”, and“heterocycloalkyl-Ca-m alkyl-” contain alkyl linking groups. Examples of“alkyl linking groups” or“alkylene groups” include methylene, ethan-l,l-diyl, ethan-l,2-diyl, propan- 1,3 -dilyl, propan- 1,2-diyl, propan- 1,1-diyl and the like.

At certain places, the definitions or embodiments refer to specific rings (e.g., an azetidine ring, a pyridine ring, etc.). Unless otherwise indicated, these rings can be attached to any ring member provided that the valency of the atom is not exceeded. For example, an azetidine ring may be attached at any position of the ring, whereas a pyridin-3-yl ring is attached at the 3 -position.

As used herein, the term“oxo” refers to an oxygen atom (i.e., : : 0) as a divalent substituent, forming a carbonyl group when attached to a carbon (e.g., C=0 or C(0)i, or attached to a nitrogen or sulfur heteroatom forming a nitroso, sulfmyl or sulfonyl group.

As used herein, the term“independently selected from” means that each occurrence of a variable or substituent are independently selected at each occurrence from the applicable list.

The compounds described herein can be asymmetric (e.g., having one or more stereocenters). All stereoisomers, such as enantiomers and diastereomers, are intended unless otherwise indicated. Compounds of the present disclosure that contain asymmetrically substituted carbon atoms can be isolated in optically active or racemic forms. Methods on how to prepare optically active forms from optically inactive starting materials are known in the art, such as by resolution of racemic mixtures or by stereoselective synthesis. Many geometric isomers of olefins, ON double bonds, and the like can also be present in the compounds described herein, and all such stable isomers are contemplated in the present invention. Cis and irons geometric isomers of the compounds of the present disclosure are described and may be isolated as a mixture of isomers or as separated isomeric forms. In some embodiments, the compound has the (Rj-configuration In some embodiments, the compound has the /Si-configuration. The Formulas (e.g., Formula (I), (II), etc.) provided herein include stereoisomers of the compounds.

Resolution of racemic mixtures of compounds can be carried out by any of numerous methods known in the art. An example method includes fractional recrystallizaion using a chiral resolving acid which is an optically active, salt-forming organic acid. Suitable resolving agents for fractional recrystallization methods are, for example, optically active acids, such as the 13 and L forms of tartaric acid, diacetyltartaric acid, dibenzoy Itartaric acid, mandelic acid, malic acid, lactic acid or the various optically active camphorsulfonic acids such as b- camphorsulfonic acid. Other resolving agents suitable for fractional crystallization methods include stereoisomerically pure forms of a-methylbenzylamine {e.g., S and i? forms, or diastereomerically pure forms), 2-phenylglycinol, norephedrine, ephedrine, N- methylephedrine, cyclohexylethylamine, 1,2-diaminocycIohexane, and the like.

Resolution of racemic mixtures can also be carried out by elution on a column packed with an optically active resolving agent (e.g., dinitrobenzoylphenylglycine). Suitable elution solvent composition can be determined by one skilled in the art.

Compounds provided herein also include tautomeric forms. Tautomeric forms result from the swapping of a single bond with an adjacent double bond together with the concomitant migration of a proton. Tautomeric forms include prototropic tautomers which are isomeric protonation states having the same empirical formula and total charge. Example prototropic tautomers include ketone --- enol pairs, amide- imidic acid pairs, lactam - lactim pairs, enamine - inline pairs, and annular forms where a proton can occupy two or more positions of a heterocyclic system, for example, 1H- and 3H-imidazole, 1H-, 2H- and 4H- 1,2,4-triazole, 1H- and 2H- isoindole, 2-h droxypyridine and 2-pyridone, and 1IT- and 2H- pyrazole. Tautomeric forms can be in equilibrium or sterically locked into one form by appropriate substitution.

All compounds, and pharmaceutically acceptable salts thereof, can be found together with other substances such as water and solvents (e.g. hydrates and solvates) or can be isolated.

In some embodiments, preparation of compounds can involve the addition of acids or bases to affect, for example, catalysis of a desired reaction or formation of salt forms such as acid addition salts. In some embodiments, the compounds provided herein, or salts thereof, are substantially isolated. By“substantially isolated” is meant that the compound is at least partially or substantially separated from the environment in which it was formed or detected. Partial separation can include, for example, a composition enriched in the compounds provided herein. Substantial separation can include compositions containing at least about 50%, at least about 60%, at least about 70%, at least about 80%, at least about 90%, at least about 95%, at least about 97%, or at least about 99% by weight of the compounds pro vided herein, or salt thereof. Methods for isolating compounds and their salts are routine in the art.

The term“compound” as used herein is meant to include all stereoisomers, geometric isomers, tautomers, and isotopes of the structures depicted. Compounds herein identified by name or structure as one particular tautomeric form are intended to include other tautomeric forms unless otherwise specified.

The phrase“pharmaceutically acceptable” is emplo ed herein to refer to those compounds, materials, compositions, and/or dosage forms which are, within the scope of sound medical judgment, suitable for use in contact with the tissues of human beings and animals without excessive toxicit , irritation, allergic response, or other problem or complication, commensurate with a reasonable benefit/risk ratio.

The present application also includes pharmaceutically acceptable salts of the compounds described herein. As used herein,“pharmaceutically acceptable salts” refers to derivatives of the disclosed compounds wherein the parent compound is modified by converting an existing acid or base moiety to its salt form. Examples of pharmaceutically acceptable salts include, but are not limited to, mineral or organic acid salts of basic residues such as amines; alkali or organic salts of acidic residues such as carboxylic acids; and the like. The pharmaceutically acceptable salts of the present disclosure include the conventional non toxic salts of the parent compound formed, for example, from non -toxic inorganic or organic acids. The pharmaceutically acceptable salts of the present disclosure can be synthesized from the parent compound which contains a basic or acidic moiety by conventional chemical methods. Generally, such salts can be prepared by reacting the free acid or base forms of these compounds with a stoichiometric amount of the appropriate base or acid in water or in an organic solvent, or in a mixture of the two; generally, non-aqueous media like ether, ethyl acetate, alcohols (e.g., methanol, ethanol, iso-propanol, or butanol) or acetonitrile (ACN) are preferred. Lists of suitable salts are found in Remington's Pharmaceutical Sciences, 17th ed., Mack Publishing Company, Easton, Pa., 1985, p. 1418 and Journal of Pharmaceutical Science, 66, 2 (1977), each of which is incorporated herein by reference in its entirety . Synthesis

As will be appreciated by those skilled in the art, the compounds provided herein, including salts and stereoisomers thereof, can be prepared using known organic synthesis techniques and can be synthesized according to any of numerous possible synthetic routes.

Scheme 1

Compound of formula 10 can be prepared via the synthetic route as outlined in Scheme 1. The commercially available starting material 1 can undergo a halogenation reaction, such as electrophilic aromatic substitution (S E AT), with an appropriate reagent, such as V-bromosuecinimide (NBS), to afford compound 2 (Hal is a halide, such as F, Cl, Br, or I) Condensation of compound 2 with a carbonyl adduct of formula 3 at elevated temperature can generate the bicyclic compound 4. Selective chloride displacement of compound 4 via either nucleophilic substitution, or a coupling reaction, with compound 5 can deliver compound 6. Compound 6 can then be selectively coupled to an adduct of formula 7, in which M is a boronic acid, a boronic ester or an appropriately substituted metal [e.g., M is B(OR)>;, Sn(Alkyl) 3 , Zn-Hal, etc.], under standard Suzuki cross-coupling conditions (e.g., in the presence of a palladium cataly st and a suitable base), or standard Stil!e cross-coupling conditions (e.g., in the presence of a palladium catalyst), or standard Negishi cross-coupling conditions (e.g., in the presence of a palladium catalyst), to give a derivative of formula 8. Introduction of Cy 1 can then be achieved by the coupling of compound 8 with an adduct of formula 9, using similar conditions as described for the preparation of compound 8 from compound 6, to afford compound 10 Scheme 2

Alternatively, compound of formula 10 can be prepared via tire synthetic route as outlined in Scheme 2. The commercially available starting material 11 can undergo a coupling reaction with an adduct of formula 9, in which M is a boronic acid, a boronic ester or an appropriately substituted metal fe.g., M is B(OR)2, Sn(Alkyl) 3 , Zn-Hal, etc.], under standard Suzuki cross-coupling conditions (e.g., in the presence of a palladium catalyst and a suitable base), or standard Stille cross-coupling conditions (e.g., in the presence of a palladium catal st), or standard Negishi cross-coupling conditions (e.g., in the presence of a palladium catalyst), to give a derivative of formula 12. Compound 12 can undergo a halogenation reaction, such as electrophilic aromatic substitution (S E AT), with an appropriate reagent, such as iV-bromosuccinimide (NBS), to afford compound 13 (Hal is a halide, such as F, Cl, Br, or 1). Coupling of compound 13 with an adduct of formula 7, using similar conditions as described for the preparation of compound 12 from compound 11, can afford compound 14. Condensation of compound 14 with a carbonyl adduct of formula 3 at elevated temperature can generate the bicyclic compound 15. Treatment of compound 15 with an appropriate reagent, such as phosphory! chloride (POCl 3 ), at elevated temperature can afford the halide adduc t 16. Displacemen t of the halogen in compound 16 via nucleophilic substitution, or a coupling reaction, with adduct 5 can then afford compound 10.

Scheme 3

Compound 18 can be prepared via the synthetic route ( Route A) as outlined in Scheme 3. Compound 10 can first undergo a halogenation reaction, such as electrophilic aromatic substitution with an appropriate reagent, such as vV-broinosuccinimide (NBS), to afford compound 17 (Hal is a halide, such as F, Cl, Br, or I). R J can then be introduced either via nucleophilic substitution, or a coupling reaction, to afford compound 18 Alternatively, compound 10 can undergo a direct chemical transformation, such as electrophilic substitution, to generate compound 18 {Route B).

Scheme 4

Compound 10c can be prepared via the synthetic route as outlined m Scheme 4 starting from compound 10a, which can be prepared as described in either Scheme 1 or Scheme 2 Ester hydrolysis of compound 10a using an appropriate reagent, such as lithium hydroxide (LiOH), can deliver carboxylic acid 10b, which can then be coupled with amine 19 using an appropriate coupling reagent (such as HATH, BOP, or PyBOP) to afford compound 10c.

Scheme S

Alternatively, compound 10c can be prepared using the synthetic route as outlined in Scheme 5. The commercially available starting material 20 can undergo a coupling reaction with an adduct of formula 9, in which M is a boronic acid, a boronic ester or an appropriately substituted metal [e.g., M is B(OR)2, Sn(Alkyl) 3 , Zn-Ha!, etc.], under standard Suzuki cross coupling conditions (e.g., in the presence of a palladium catalyst and a suitable base), or standard Stille cross-coupling conditions (e.g., in the presence of a palladium catalyst), or standard Negishi cross-coupling conditions (e.g., in the presence of a palladium catalyst), to give a derivative of formula 21. Compound 21 can then be subjected to a halogenation reaction, such as electrophilic aromatic substitution (S E AT), with an appropriate reagent, such as V-bromosuccinimide (NBS), to afford compound 22 (Hal is a halide, such as F, Cl, Br, or I). Condensation of compound 22 with a carbonyl adduct of formula 3a at elevated temperature can generate the bicyclic compound of formula 23 Oxidation of compound 23 with an appropriate oxidant, such as OTCPBA, followed by nucleophilic substitution with a protected amine adduct 24 can deliver compound 25. Ester hydrolysis of compound 25 in the presence of an appropriate reagent, such as lithium hydroxide (LiOH), can generate the corresponding carboxylic acid, which can then be coupled with an amine adduct of formula 19, using an appropriate coupling reagent (such as HATU, BOP, or PyBOP), to afford compound 26. Alternatively, compound 26 can be accessed by reacting compound 25 directly with amine adduct 19 at elevated temperature. Finally, introduction of Cy 2 can be achieved by the coupling of compound 26 with an adduct of formula 7, using similar condi tions as described for the preparation of compound 21 from compound 20. The protecting group (PG) can then be removed under appropriate conditions to afford compound 10c. Alternatively, compound 10c can also be prepared by first removal of the protecting group (PG) in compound 26, followed by the coupling reaction with adduct 7. Scheme 6

Compound 10c can also be prepared using the synthetic route as outlined in Scheme 6. Compound 22 (prepared as described in Scheme 5) can first undergo a coupling reaction with an adduct of formula 7, in which M is a boronic acid, a boronic ester or an appropriately substituted metal [e.g., M is B(OR)2, Sn(Alkyl) 3 , Zn-Hal, etc.], under standard Suzuki cross coupling conditions (e.g., in the presence of a palladium catalyst and a suitable base), or standard Stille cross-coupling conditions (e.g., in the presence of a palladium catalyst), or standard Negishi cross-coupling conditions (e.g., in the presence of a palladium catalyst), to give a derivative of formula 27. Condensation of compound 27 with a carbonyl adduct of formula 3a at elevated temperature can generate the bicyclic compound of formula 28. Compound 28 can then react with amine 19 and amine 5, in either order, to afford Compound 10c.

Scheme 7

10d

Compounds 10d can be prepared using the synthetic route as outlined in Scheme 7. Condensation of commercially available starting material 29 with a carbonyl adduct of formula 3a at elevated temperature can generate the bicyclic compound of formula 30. Compound 30 can then undergo a coupling reaction with an adduct of formula 9, in which M is a boronic acid, a boronic ester or an appropriately substituted metal je.g., M is B(OR) 2 , Sn(Alkyl) 3 , Zn-Hal, etc.], under standard Suzuki cross-coupling conditions (e.g., in the presence of a palladium catalyst and a suitable base), or standard Sidle cross-coupling conditions (e.g., in the presence of a palladium catalyst), or standard Negishi cross-coupling conditions (e.g., in the presence of a palladium catalyst), to give a derivative of formula 31. Compound 31 can then be subjected to a halogenation reaction, such as electrophilic aromatic substitution (SEAT), with an appropriate reagent, such as JV-bromosuccinimide (NBS), to afford compound 32 (Hal is a halide, such as F, Cl, Br, or I). Ester hydrolysis of compound 32 in the presence of an appropriate reagent, such as lithium hydroxide (LiOH), can generate the corresponding carboxylic acid, which can then be coupled with an amine adduct of formula 19, using an appropriate coupling reagent (such as HATU, BOP, or PyBOP), to afford compound 33. Alternatively, compound 33 can be accessed by reacting compound 32 directly with amine adduct 19 at elevated temperature. Introduction of Cy 2 can then be achieved by the coupling of compound 33 with an adduct of formula 7, using similar conditions as described for the preparation of compound 31 from compound 30, to afford compound lOd.

Scheme 8

Compounds of formula 40 can be synthesized via the synthetic route outlined in Scheme 8. Starting material 34 first undergoes a cross-coupling reaction with reagent 9 to generate compound 35, in which M is a boronic acid, boronic ester or an appropriately substituted metal [e.g., M is B(OR)i, Sn(Alkyi) 3 , or Zn-Hal], under standard Suzuki cross coupling conditions (e.g., in the presence of a palladium catalyst and a suitable base), or standard Stille cross-coupling conditions (e.g., in the presence of a palladium catalyst), or standard Negishi cross-coupling conditions (e.g., in the presence of a palladium catalyst). A nucleophilic aromatic substitution (S N AT) reaction of compound 35 with hydrazide 36 then affords compound 37, which undergoes a cyclization reaction at elevated temperature in the presence of a suitable reagent, such as A,0-bis(trimethylsilyl)acetamide, to produce bicycle 38. Halogenation of 38 with an appropriate reagent, such as A-bromosuccinimide (NBS), affords compound 39. The final product 40 can be prepared by a cross-coupling reaction between compound 39 and a derivative of formula 7, using similar procedures as described for the preparation of compound 35 from starting material 34. At various stages during this synthetic sequence, the R 2 group can be further functionalized as seen appropriate.

Scheme 9

Compounds of formula 47 can be synthesized via the synthetic route outlined in Scheme 9. Selective nucleophilic aromatic substitution (S N AT) reaction of starting material 1 with amine 41 (PG represents a suitable protecting group, such as 4-methoxybenzyl) affords compound 42. Compound 42 can then be cyclized to intermediate 43 via appropriate chemical transformations, such as a two-step sequence using O-ethyl carbonisothiocyanatidate and hydroxylamine hydroehoride A cross-coupling reaction between 43 and a reagent of formula 9, in which M is a boronic acid, boronic ester or an appropriately substituted metal [e.g., M is B(OR) 2 , Sn( Alky 1) 3 , or Zn-Hal], under standard Suzuki cross-coupling conditions (e.g., in the presence of a palladium catalyst and a suitable base), or standard Stille cross-coupling conditions (e.g., in the presence of a palladium cataly st), or standard Negishi cross-coupling conditions (e.g., in the presence of a palladium catalyst), will generate intermediate 44.

Halogenation of 44 using a suitable reagent, such as A-bromosuccinimide (NBS), gives compound 45. A cross-coupling reaction between 45 and a derivative of formula 7, using similar procedures as described for the preparation of compound 44 from compound 43, generates intermediate 46. The amino group of 46 can then be functionalized using suitable chemical transformations, such as Buchwald-Hartwig coupling conditions in the presence of a palladium catalyst (e.g., chloro(2-dicyclohexylphosphino-2',4',6'-triisopropyl-l,r- biphenyl)[2-(2'-amino-l,r-biphenyl)]palladium(H)) and a base (e.g., sodium /ert-butoxide). or reductive animation conditions (e.g., in the presence of a suitable hydride soure), or Strecker reaction conditions (e.g., in the presence of a suitable cyanide source), followed by- protecting group removal to afford product 47.

Compounds of formula 10-7 can be synthesized via the synthetic route outlined in Scheme 10. Advanced intermediate 10-1 (which can be prepared using synthetic procedures as outlined in Scheme 8) first undergoes a halogenation reaction (using an suitable reagent, such as thionyl chloride) to generate compound 10-2 (Hal is a halide, such as F, CL Br, or I). Compound 10-2 can then be subjected to a cross-coupling reaction with reagents of formula 10-3, in which M is a boronic acid, boronic ester or an appropriately substituted metal [e.g., M is B(OR)2, Sn(Alkyl);, or Zn-Hal], under standard Suzuki cross-coupling conditions (e.g., in the presence of a palladium catalyst and a suitable base), or standard Stille cross-coupling conditions (e.g., in the presence of a palladium catalyst), or standard Negishi cross-coupling conditions (e.g., in the presence of a palladium catalyst), to afford compound 10-4. The hydroxyl group in 10-4 can then be converted to a halogen to provide compound 10-5 (using similar procedures as described for the conversion of 10-1 to 10-2). Product 10-7 can then be prepared from intermediate 10-5 and reagents of formula 10-6, using an appropriate transformation, such as a nucleophilic substitution (S N 2) reaction.

Scheme 11

Compounds of formula 11-2 can be synthesized via the synthetic route outlined in Scheme 11. Intermediate 10-2 (which can be prepared using synthetic procedures as outlined in Scheme 10, Hal is a halide, such as F, Cl, Br, or 1) can undergo a nucleophic substitution reactioni st) with reagent of formula 11-1, to afford compound 11-2.

Methods of Use

The compounds of the present disclosure can modulate the activity of adenosine receptors, such as subtypes A2A and A2B receptors. Accordingly, the compounds, salts or stereoisomers described herein can be used in methods of inhibiting adenosine receptors (e.g., A2A and/or A2B receptors) by contacting the receptor with any one or more of the compounds, salts, or compositions described herein. In some embodiments, the compounds or salts can be used in methods of inhibiting activity of an adenosine receptor in an

individual/patient in need of the inhibition by administering an effective amount of a compound or salt of described herein. In some embodiments, modulating is inhibiting. In some embodiments, the contacting is in vivo. In some embodiments, the contacting is ex vivo or in vitro.

The compounds or salts described herein can be selective. By“selective,” it is meant that the compound binds to or inhibits an adenosine receptor with greater affinity' or potency, respectively, compared to at least one other receptor, kinase, etc.. The compounds of the present disclosure can also be dual antagonists (i.e., inhibitors) of adenosine receptors, e.g., A2A and A2B adenosine receptors.

Another aspect of the present disclosure pertains to methods of treating an adenosine receptor associated disease or disorder in an individual (e.g., patient) by administering to the individual in need of such treatment a therapeutically effective amount or dose of one or more compounds of the present disclosure or a pharmaceutical composition thereof. .An adenosine receptor associated disease or disorder can include any disease, disorder or condition that is directly or indirectly linked to expression or activity of the adenosine receptor, including overexpression and/or abnormal activity levels. The compounds of the present disclosure are useful in the treatment of diseases related to the acti vity of adenosine receptors including, for example, cancer, inflammatory diseases, cardiovascular diseases, neurodegeneraiive diseases, immunomodulatory disorders, central nerve system diseases, and diabetes.

Based on the compelling roles of adenosine, e.g., A2A, A2B, receptors in multiple immunosuppressive mechanisms, developing inhibitors can boost the immune system to suppress tumor progression. Adenosine receptor inhibitors can be used to treat, alone or in combination with other therapies, bladder cancer, lung cancer (e.g., non-small cell lung cancer (NSCLC), lung metastasis), melanoma (e.g., metastatic melanoma), breast cancer, cervical cancer, ovarian cancer, colorectal cancer, pancreatic cancer, esophageal cancer, prostate cancer, kidney cancer, skin cancer, thyroid cancer, liver cancer, uterine cancer, head and neck cancer, and renal cell carcinoma (Antonioli, L. et al„ Nature Reviews Cancer , 2013, 13, 842-857). See also, https://globenewswire.com/news- release/2017/04/04/954192/0/eii''Cor\ais-Pharmaceuticals-Ann ounces-Interim-Results-from- Ongoing-Phase-1 -lb-Study-Demonstrating-Safety-and-Clinical-Activity -of-Lead- Checkpoini-Inhibitor-CPI-444-in-Patients-wdth-Adva.html; Cekic C. et al., J Immunol, 2012, 188: 198-205; lannone, R. et al., Am. J. Cancer Res. 2014, 4: 172-181 (study shows that both A2A and CD 73 blockade enhance the antitumor activity of anti-CTLA-4 mAh therapy in a B16F10 murine melanoma model); lannone, R. et al., Neoplasia, 2013, 15: 1400-1410 and Beavis PA., et al., Proc Natl Acad Sci. USA, 2013, 1 10: 14711-14716 (study sho 's that A2A and CD73 blockade decreased metastasis in 4T1 breast tumor model with has high CD73 expression). In some embodiments, the prostate cancer is metastatic castrate-resistant prostate carcinoma (mCRPC). In some embodiments, the colorectal cancer is colorectal carcinoma (CRC).

In some embodiments, the disease or disorder is lung cancer (e.g., non-small cell lung cancer), melanoma, pancreatic cancer, breast cancer, head and neck squamous cell carcinoma, prostate cancer, liver cancer, color cancer, endometrial cancer, bladder cancer, skin cancer, cancer of the uterus, renal cancer, gastric cancer, or sarcoma. In some embodiments, the sarcoma is Askin’s tumor, sarcoma botryoides, chondrosarcoma, Ewing's sarcoma, malignant hemangioendothelioma, malignant schwannoma, osteosarcoma, alveolar soft part sarcoma, angiosarcoma, cystosarcoma phyllodes, dermatofibrosarcoma protuberans, desmoid tumor, desmoplastic small round cell tumor, epithelioid sarcoma, extraskeletal chondrosarcoma, extraskeietal osteosarcoma, fibrosarcoma, gastrointestinal stromal tumor (GIST), hemangiopericytoma, hemangiosarcoma, Kaposi’s sarcoma, leiomyosarcoma, liposarcoma, lymphangiosarcoma, lymphosarcoma, malignant peripheral nerve sheath tumor (MPNST), neurofibrosarcoma, rhabdom osarcoma, synovial sarcoma, or undifferentiated pleomorphic sarcoma.

In some embodiments, the disease or disorder is mesothelioma or adrenocarcinoma. in some embodiments, the disease or disorder is mesothelioma in some embodiments, the disease or disorder is adrenocarcinoma.

MDSC (myeloid-derived suppressor cells) are a heterogenous group of immune cells from the myeloid lineage (a family of cells that originate from hone marrow stem cells). MDSCs strongly expand in pathological situations such as chronic infections and cancer, as a result of an altered haematopoiesis. MDSCs are discriminated from other myeloid cell types in which they possess strong immunosuppressive activities rather than immunostimulatory properties. Similar to other myeloid cells, MDSCs interact with other immune cell types including T cells, dendritic ceils, macrophages and natural killer cells to regulate their functions. In some embodiments, the compounds, etc. described herein can be used in methods related to cancer tissue (e.g., tumors) with high infiltration of MDSCs, including solid tumors with high basal level of macrophage and/or MDSC infiltration.

In some embodiments, the compounds of the disclosure can be used in treating pulmonary inflammation, including bleomycin-induced pulmonary fibrosis and injury related to adenosine deaminase deficiency (Baraldi, et a , Chem. Rev., 2008, 108, 238-263).

In some embodiments, the compounds of the disclosure can be used as a treatment for inflammatory disease such as allergic reactions (e.g., A2B adenosine receptor dependent allergic reactions) and other adenosine receptor dependent immune reactions. Further inflammatory diseases that can he treated by compounds of the disclosure include respiratory disorders, sepsis, reperfusion injury, and thrombosis.

In some embodiments, the compounds of the disclosure can be used as a treatment for cardiovascular disease such as coronary artery disease (myocardial infarction, angina pectoris, heart failure), cerebrovascular disease (stroke, transient ischemic attack), peripheral artery disease, and aortic atherosclerosis and aneurysm. Atherosclerosis is an underlying etiologic factor in many types of cardiovascular disease. Atherosclerosis begins in adolescence with fatty streaks, which progress to plaques in adulthood and finally results in thrombotic events that cause occlusion of vessels leading to clinically significant morbidity and mortalit . Antagonists to the A2B adenosine receptor and A2A adenosine receptor may be beneficial in preventing atherosclerotic plaque formation (Eisenstein, A. et al., J. Cell Physiol, 2015, 230(12), 2891-2897). In some embodiments, the compounds of the disclosure can be used as a treatment for disorders in motor activity; deficiency caused by degeneration of the striatonigral dopamine system; and Parkinson’s disease; some of the motivational symptoms of depression (Collins, L. E. et al. Pharmacol. Biochem. Behav., 2012, 100, 498-505.).

In some embodiments, the compounds of the disclosure can be used as a treatment for diabetes and related disorders, such as insulin resistance. Diabetes affects the production of adenosine and the expression of A2B adenosine receptors (A2BRs) that stimulate IL-6 and CRP production, insulin resistance, and the association between A 2B R gene single-nucleotide polymorphisms (ADGRA2B SNPs) and inflammatory markers. The increased A2BR signaling in diabetes may increase insulin resistance in part by elevating pro-inflammatory mediators. Selective A2BR blockers may he useful to treat insulin resistance (Figier, R. A. et al. Diabetes , 2011, 60 (2), 669-679).

It is believed that compounds provided herein, e.g., compounds of Formula (I), or any of the embodiments thereof, may possess satisfactory pharmacological profile and promising biopharmaeeuticai properties, such as toxicological profile, metabolism and pharmacokinetic properties, solubility, and permeability. It will be understood that determination of appropriate biopharmaeeuticai properties is within the knowledge of a person skilled in the art, e.g., determination of cytotoxicity' in cells or inhibition of certain targets or channels to determine potential toxicity.

The terms “individual” or“patient”, used interchangeably, refer to any animal, including mammals, preferably mice, rats, other rodents, rabbits, dogs, cats, swine, cattle, sheep, horses, or primates, and most preferably humans.

The phrase“therapeutically effective amount” refers to the amount of active compound or pharmaceutical agent that elicits the biological or medicinal response in a tissue, system, animal, individual or human that is being sought by a researcher, veterinarian, medical doctor or other clinician.

As used herein, the term“treating” or“treatment” refers to one or more of (1) inhibiting the disease; e.g., inhibiting a disease, condition or disorder in an individual who is experiencing or displaying the pathology or sy mptomatology of the disease, condition or disorder (i.e., arresting further development of the pathology and/or symptomatology'); and (2) ameliorating the disease; e.g., ameliorating a disease, condition or disorder in an individual who is experiencing or displaying the pathology' or symptomatology of the disease, condition or disorder (i.e., reversing the pathology and/or symptomatology) such as decreasing the se verity of disease. In some embodiments, the compounds of the invention are useful in preventing or reducing the risk of developing any of the diseases referred to herein; e.g. , preventing or reducing the risk of developing a disease, condition or disorder in an individual who may be predisposed to the disease, condition or disorder but does not yet experience or display the pathology or symptomatology' of the disease.

Combination Therapies

L Immune -checkpoint therapies

In some embodiments, A2A and A2B dual inhibitors provided herein can be used in combination with one or more immune checkpoint inhibitors for the treatment of cancer as described herein. In one embodiment, the combination with one or more immune checkpoint inhibitors as described herein can be used for the treatment of melanoma. Compounds of the present disclosure can be used in combination with one or more immune checkpoint inhibitors. Exemplary immune checkpoint inhibitors include inhibitors against immune checkpoint molecules such as CD20, CD28, CD40, CD122, CD96, CD73, CD47, GITR, CSF1R, IAK, PI3K delta, PI3K gamma, TAM, arginase, HPK1, CD137 (also known as 4- 1BB), ICOS, B7-H3, B7-H4, BTLA, CTLA-4, LAG3, TIM3, VISTA, TIGIT, PD-1, PD-L1 and PD-L2. In some embodiments, the immune checkpoint molecule is a stimulatory' checkpoint molecule selected from CD27, CD28, CD40, ICOS, 0X40, GITR and CD 137. In some embodiments, the immune checkpoint molecule is an inhibitory checkpoint molecule selected from A2AR, B7-H3, B7-H4, BTLA, CTLA-4, IDO, KIR, LAG3, PD-1, TIM3,

TIGIT and VISTA. In some embodiments, the compounds of the disclosure provided herein can be used in combination with one or more agents selected from KIR inhibitors, TIGIT inhibitors, LAIR1 inhibitors, CD 160 inhibitors, 2B4 inhibitors and TGFR beta inhibitors.

In some embodiments, the A2A and A2B dual inhibitors provided herein can be used in combination with one or more agonists of immune checkpoint molecules, e.g., 0X40, CD27, 0X40, GITR, and CD137 (also known as 4-1BB)

In some embodiments, the inhibitor of an immune checkpoint molecule is anti-PDl antibody, anti-PD-Ll antibody, or anti-CTLA-4 antibody .

In some embodiments, the inhibitor of an immune checkpoint molecule is an inhibitor of PD-1, e.g., an anti-PD-1 monoclonal antibody. In some embodiments, the anti-PD-1 monoclonal antibody is nivolumab, pembrolizumab (also known as MK-3475), durvalumab (Imfinzi®), pidilizumab, SHR-1210, PDR001 , MGA012, PDR001, AB122 or AMP-224. In some embodiments, the anti-PD-1 monoclonal antibody is nivolumab or pembrolizumab. In some embodiments, the anti -PD 1 antibody is pembrolizumab. In some embodiments, the anti- PD-I monoclonal antibody is MGA012. In some embodiments, the anti-PDl antibody is SHR-1210. Other anti-cancer agent(s) include antibody therapeutics such as 4-1BB (e.g. urelumab, utomilumab.

In some embodiments, the inhibitor of an immune checkpoint molecule is an inhibitor of PD-L1, e.g , an anti-PD-Ll monoclonal antibody. In some embodiments, the anti-PD-Ll monoclonal antibody is BMS-935559, MEDI4736, MPDL3280A (also known as RG7446), or MSB00I 0718C. In some embodiments, the anti-PD-Ll monoclonal antibody is MPDL3280A or MED 14736.

in some embodiments, the inhibitor of an immune checkpoint molecule is an inhibitor of PD-1 and PD-L1, e.g., an anti-PD-l/PD-Ll monoclonal antibody. In some embodiments, the anti-PD-l/PD-Ll is MCLA-136.

In some embodiments, the inhibitor is MCLA-145.

In some embodiments, the inhibitor of an immune checkpoint molecule is an inhibitor of CTLA-4, e.g., an anti-CTLA-4 antibody. In some embodiments, the anti-CTLA-4 antibody is ipilimumab, tremelimumab, AGEN1884, or CP-675,206.

In some embodiments, the inhibitor of an immune checkpoint molecule is an inhibitor of LAG3, e.g., an anti-LAG3 antibody. In some embodiments, the anti~LAG3 antibody is BMS-9860I6, LAG525, or INCAGN2385.

In some embodiments, the inhibitor of an immune checkpoint molecule is an inhibitor of TIM3, e.g., an anti-TIM3 antibody. In some embodiments, the anti-TIM3 antibody is INCAGN2390, MBG453, or TSR-022.

In some embodiments, the inhibitor of an immune checkpoint molecule is an inhibitor of GITR, e.g., an anti-GITR antibody. In some embodiments, the anti-GITR antibody is TRX518, MK-4166, INCAGN1876, MK-1248, AMG228, BMS-986156, GWN323, or MEDI1873.

In some embodiments, the inhibitor of an immune checkpoint molecule is an agonist of 0X40, e.g., 0X40 agonist antibody or OX40L fusion protein. In some embodiments, the and -OX-10 antibody is MEDI0562, MOXR-0916, PF-04518600, GSK3174998, or BMS- 986178. In some embodiments, the OX40L fusion protein is MEDI6383.

In some embodiments, the inhibitor of an immune checkpoint molecule is an inhibitor of CD20, e.g., an anti-CD20 antibody. In some embodiments, the anti-CD20 antibody is obinutuzumab or rituximab. The compounds of the present disclosure can be used in combination with bispecific antibodies. In some embodiments, one of the domains of the bispecific antibody targets PD-1, PD-L1, CTLA-4, GITR, 0X40, TIM3, LAG.3, CD137, 1COS, CD3, tumor specific antigens (e.g., CD70), or TGFp receptor.

In some embodiments, the compounds of the disclosure can be used in combination with one or more metabolic enzyme inhibitors. In some embodiments, the metabolic enzyme inhibitor is an inhibitor of IDO 1, TDO, or arginase. Examples of IDO 1 inhibitors include epacadostat, NLG919, BMS-986205, PF-06840003, IOM2983, RG-70099 and LY338196.

As provided throughout, the additional compounds, inhibitors, agents, etc. can be combined with the present compound in a single or continuous dosage form, or they can be administered simultaneously or sequentially as separate dosage forms.

II. Cancer therapies

Cancer cell growth and survival can be impacted by multiple signaling pathways. Thus, it is useful to combine different enzyme/protein/receptor inhibitors, exhibiting different preferences in the targets which they modulate the activities of, to treat such conditions. Targeting more than one signaling pathway (or more than one biological molecule involved in a given signaling pathway) may reduce the likelihood of drug-resistance arising in a cell population, and/or reduce the toxicity of treatment.

The compounds of the present disclosure can be used in combination with one or more other enzyme/protein/receptor inhibitors or one or more therapies for the treatment of diseases, such as cancer. Examples of diseases and indications treatable with combination therapies include those as described herein.

The compoimds of the present disclosure can be used in combination with one or more additional pharmaceutical agents such as, for example, chemotherapeutic s, immune- oncology agents, metabolic enzy me inhibitors, chemokine receptor inhibitors, and phosphatase inhibitors, as well as targeted therapies such as Bcr-Abl, Flt-3, EGFR, HER2, JAK, c-MET, VEGFR, PDGFR, c-Kit, IGF-1R, RAF and FAK kinase inhibitors. The one or more additional pharmaceutical agents can be administered to a patient simultaneously or sequentially.

For example, the compounds as disclosed herein can be combined with one or more inhibitors of the following kinases for the treatment of cancer and other diseases or disorders described herein: Aktl , Akt2, Akt3, TGF-pR, PKA, PKG, PKC, CaM-kinase, phosphorylase kinase, MEKK, ERK, MAPK, mTOR, EGFR, HER2, HER3, HER4, INS-R, IGF-1R, IR-R, PDGFotR, PDGF[3R, CSFIR, KIT, FLK-II, KDR/FLK-1, FLK-4, flt-1 , FGFR1, FGFR2, FGFR3, FGFR4, c-Met, Ron, Sea, TRKA, TRKB, TRKC, FLT3, VEGFR/Flt2, Flt4, EphAl, EphA2, EphA3, EphB2, EphB4, Tie2, Src, Fyn, Lck, Fgr, Btk, Fak, SYK, FRK, IAK, ABL, ALK and B-Raf. Non-limiting examples of inhibitors that can be combined with the compounds of the present disclosure for treatment of cancer and other diseases and disorders described herein include an FGFR inhibitor (FGFR1, FGFR2, FGFR3 or FGFR4, e.g., INCB54828, INCB62079 and INCB63904), a IAK inhibitor (JAK1 and/or JAK2, e.g., ruxolitinib, baricitinib or INCB39110), an IDO inhibitor (e.g., epacadostat, NLG919, or BMS-986205), an ESDI inhibitor (e.g., INCB59872 and INCB60003), a TDO inhibitor, a PI3K-delta inhibitor (e.g., INCB50797 and 1NCB50465), a Pim inhibitor, a CSF1R inhibitor, a TAM receptor tyrosine kinases (Tyro-3, Axl, and Mer), a histone deacetyiase inhibitor (HD AC) such as an HDAC8 inhibitor, an angiogenesis inhibitor, an interleukin receptor inhibitor, bromo and extra terminal family members inhibitors (for example, bromodomain inhibitors or BET inhibitors such as INCB54329 and INCB57643) and an adenosine receptor antagonist or combinations thereof.

Example antibodies for use in combination therapy include but are not limited to Trastuzumab (e.g. anti-HER2), Ranibizumab (e.g. anti-VEGF-A), Bevacizumab (trade name Avastin, e.g. anti-VEGF, Panitumumab (e.g. anti-EGFR), Cetuximab (e.g. anti-EGFR), Rituxan (anti-CD20) and antibodies directed to c-MET.

One or more of the following agents may be used in combination with the compounds of the present disclosure and are presented as a non-limiting list: a cy tostatic agent, cisplatin, doxorubicin, taxotere, taxol, etoposide, irinotecan, camptostar, topotecan, paclitaxel, docetaxel, epotlii!ones, tamoxifen, 5-fluorouracil, methoxtrexate, temozolomide, cyclophosphamide, SCH 66336, R115777, L 778, 123, BMS 214662, IRESSA™ (gelitinib), TARCEVA™ (erlotinib), antibodies to EGFR, GLEEVEC™, intron, ara-C, adiiarnycin, cytoxan, gemcitabine, uracil mustard, chlonnethine, ifosfamide, meiphalan, chlorambucil, pipobroman, triethylenemelamine, triethylenethiophosphoramine, busulfan, carmustine, lomustine, streptozocin, dacarbazine, floxuridine, cytarabine, 6-mercaptopurine, 6- thioguanine, fludarahine phosphate, oxaliplatin, leucovirin, ELOXATIN™,™ (oxaliplatin), pentostatine, vinblastine, vincristine, vindesine, bleomycin, dactinomycin, daunorubicin, doxorubicin, epirubicin, idarubicin, mithramycin, deoxycoformycin, mitomycin-C, L- asparaginase, teniposide 17 .alpha-. -ethinylestradiol, diethylstilbestrol, testosterone, prednisone, fluoxymesterone, Prednisone, Fluoxymesterone, Dromostanolone propionate, testoiactone, megestroiacetate, methylprednisolone, methy {testosterone, prednisolone, triamcinolone, chlorotrianisene, hydroxyprogesterone, aminoglutethimide, estramustine, medroxyprogesteroneacetate, leuprolide, fliutamide, toremifene, goserelin, carboplatin, hydroxyurea, amsacrine, procarbazine, mitotane, mitoxantrone, levamisole, navelbene, anastrazoie, letrazole, capecitabine, reloxafme, droloxafme, hexamethylmelamine, avastin, HERCEPTIN™ (trastuzumab), BEXXAR™ (tositumomab), VELCADE™, (bortezomib),

ZE VALIN™ (ibritumomab tiuxetan), TRISENOX™ (arsenic trioxide), XELODA™

(capecitabine), vinorelbine, porfimer, ERBITUX™ (cetuximab), thiotepa, altretamine, tnelphalan, trastuzumab, lerozole, fulvestrant, exemestane, ifosfomide, rituximab, C225

(cetuximab), Campath (alemtuzumab), clofarabine, cladribine, aphidicolon, rituxan, simitinib, dasatinib, tezacitabine, Smll, fludarabine, pentostatin, triapine, didox, trimidox, amidox, 3- AP, and MDL-101,731.

The compounds of the present disclosure can further be used in combination with other methods of treating cancers, for example by chemotherapy, irradiation therapy, tumortargeted therapy, adjuvant therapy, immunotherapy or surgery'. Examples of

immunotherapy include cytokine treatment (e.g., interferons, GM-CSF, G-CSF, IL-2), CRS- 207 immunotherapy, cancer vaccine, monoclonal antibody, adoptive T cell transfer. Toll receptor agonists, STING agonists, oncolytic virotherapy and immunomodulating small molecules, including thalidomide or JAK.1/2 inhibitor and the like. The compounds can be administered in combination with one or more anti-cancer drugs, such as a

chemotherapeutics. Example chemotherapeutics include any of: abarelix, aldesleukin, alemtuzumab, alitretinoin, allopurinol, altretamine, anastrozole, arsenic trioxide,

asparaginase, azacitidine, bevacizumab, bexarotene, baricitinib, bleomycin, bortezombi, bortezomib, busulfan intravenous, busulfan oral, ealusterone, capecitabine, carboplatin, carmustine, cetuximab, chlorambucil, cisplatin, cladribine, clofarabine, cyclophosphamide, cytarabine, dacarbazine, dactinomycin, dalteparin sodium, daunorubicin, decitabine, denileukin, denileukin diftitox, dexrazoxane, docetaxel, doxorubicin, dromostanolone propionate, eculizumab, epirubicin, erlotinib, estramustine, etoposide phosphate, etoposide, exemestane, fentanyl citrate, filgrastim, floxuridine, fludarabine, fluorouracil, fulvestrant, gefitinib, gemcitabine, gemtuzumab ozogamicin, goserelin acetate, histrelin acetate, ibritumomab tiuxetan, idarubicin, ifosfamide, imatinib mesy late, interferon alfa 2a, irinotecan, lapatinib ditosylate, lenalidomide, letrozole, leucovorin, leuprolide acetate, levamisole, lomustine, meclorethamine, megestrol acetate, melphalan, mercaptopurine, methotrexate, methoxsalen, mitomycin C, mitotane, mitoxantrone, nandrolone phenpropionate, nelarabine, nofetiunomab, olaparib, oxaliplatin, paciitaxel, pamidronate, panitumumab, pegaspargase, pegfilgrastim, pemetrexed disodium, pentostatin, pipobroman, plieamycin, procarbazine, quinacrine, rasburicase, rituximab, ruxohtmib, rucaparib, streptozocin, tamoxifen, temozolomide, teniposide, testolactone, thalidomide, thioguanine, thiotepa, topotecan, toremifene, tositumomab, trastuzumab, tretinoin, uracil mustard, valrubicin, vinblastine, vincristine, vinorelbine, vorinostat, niraparib, veliparib, talazoparib, and zoledronate.

Additional examples of chemotherapeutics include proteosome inhibitors (e.g , bortezomib), thalidomide, revlimid, and DNA-damaging agents such as melphalan, doxorubicin, cyclophosphamide, vincristine, etoposide, carmustine, and the like.

Example Bcr-Abl inhibitors include imatinib mesylate (GLEEVAC™), nilotinib, dasatinib, bosutinib, and ponaiinib, and pharmaceutically acceptable salts. Other example suitable Bcr-Abl inhibitors include the compounds, and pharmaceutically acceptable salts thereof, of the genera and species disclosed in U.S. Pat. No. 5,521,184, WO 04/005281, and U.S. Ser. No. 60/578,491.

Example suitable Flt-3 inhibitors include midostaurin, lestaurtinib, linifanib, sunitinib, sunitinib, maleate, sorafenib, quizartinib, crenolanib, pacritinib, tandutinib, PLX3397 and ASP2215, and their pharmaceutically acceptable salts. Other example suitable Flt-3 inhibitors include compounds, and their pharmaceutically acceptable salts, as disclosed in WO 03/037347, WO 03/099771 , and WO 04/046120.

Example suitable RAF inhibitors include dabrafenib, sorafenib, and vemurafenib, and their pharmaceutically acceptable salts. Other example suitable RAF inhibitors include compounds, and their pharmaceutically acceptable salts, as disclosed in WO 00/09495 and WO 05/028444.

Example suitable FAK inhibitors include VS-4718, VS-5095, VS-6062, VS-6063, BI853520, and GSK2256098,and their pharmaceutically acceptable salts. Other example suitable FAK inhibitors include compounds, and their pharmaceutically acceptable salts, as disclosed in WO 04/080980, WO 04/056786, WO 03/024967, WO 01/064655, WO

00/053595, and WO 01/014402.

In some embodiments, the compounds of the disclosure can be used in combination with one or more other kinase inhibitors including imatinib, particularly for treating patients resistant to imatinib or other kinase inhibitors.

in some embodiments, the compounds of the disclosure can be used in combination with a chemotherapeutic in the treatment of cancer, and may improve the treatment response as compared to the response to the chemotherapeutic agent alone, without exacerbation of its toxic effects. In some embodiments, the compounds of the disclosure can be used in combination with a chemotherapeutic pro vided herein. For example, additional pharmaceutical agents used in the treatment of multiple myeloma, can include, without limitation, melphalan, meiphalan plus prednisone [MP], doxorubicin, dexamethasone, and Velcade (bortezomib). Further additional agents used in the treatment of multiple myeloma include Bcr-Abl, Flt-3, RAF and FAK kinase inhibitors. In some embodiments, the agent is an alkydating agent, a proteasome inhibitor, a corticosteroid, or an immunomodulatory agent. Examples of an alkylating agent include cyclophosphamide (CY), melphalan (MEL), and bendamustine. In some embodiments, the proteasome inhibitor is carfllzomib. In some embodiments, the corticosteroid is dexamethasone (DEX). In some embodiments, the immunomodulatory' agent is lenalidomide (LEN) or pomalidomide (POM). Additive or synergistic effects are desirable outcomes of combining a PT3K inhibitor of the present disclosure with an additional agent.

In some embodiments, the compounds of the disclosure can be used in combination with an inhibitor of JAK or RI3Kd.

The agents can be combined with the present compound in a single or continuous dosage form, or the agents can be administered simultaneously or sequentially as separate dosage forms.

The compounds of the present disclosure can be used in combination with one or more other inhibitors or one or more therapies for the treatment of infections. Examples of infections include viral infections, bacterial infections, fungus infections or parasite infections.

In some embodiments, a corticosteroid such as dexamethasone is administered to a patient in combination with the compounds of the disclosure where the dexamethasone is administered intermittently as opposed to continuously.

The compounds of Formula (I) or any of the formulas as described herein, a compound as recited in any of the claims and described herein, or salts thereof can be combined with another immunogenic agent, such as cancerous cells, purified tumor antigens (including recombinant proteins, peptides, and carbohydrate molecules), cells, and cells transfected with genes encoding immune stimulating cytokines. Non-limiting examples of tumor vaccines that can be used include peptides of melanoma antigens, such as peptides of gplOO, MAGE antigens, Trp-2, MARTI and/or tyrosinase, or tumor cells transfected to express the cytokine GM-CSF.

The compounds of Formula (I) or any of the formulas as described herein, a compound as recited in any of the claims and described herein, or salts thereof can be used in combination with a vaccination protocol for the treatment of cancer. In some embodiments, the tumor ceils are transduced to express GM-CSF. In some embodiments, tumor vaccines include the proteins from viruses implicated in human cancers such as Human Papilloma Viruses (HPV), Hepatitis Viruses (HBV and HCV) and Kaposi's Herpes Sarcoma Virus (KHSV).

In some embodiments, the compounds of Formula (I) or any of the formulas as described herein, a compound as recited in any of the claims and described herein, or salts thereof can be combined with dendritic cells immunization to activate potent anti-tumor responses.

The compounds of the present disclosure can be used in combination with bispecific maeroeyelic peptides that target Fe alpha or Fe gamma receptor-expressing effectors cells to tumor cells. The compounds of the present disclosure can also be combined with macrocyclic peptides that activate host immune responsiveness.

In some further embodiments, combinations of the compounds of the disclosure with other therapeutic agents can be administered to a patient prior to, during, and/or after a bone marrow transplant or stem cell transplant. The compounds of the present disclosure can be used in combination with bone marrow' transplant for the treatment of a variety of tumors of hematopoietic origin.

The compounds of Formula (1) or any of the formulas as described herein, a compound as recited in any of the claims and described herein, or salts thereof can be used in combination with vaccines, to stimulate the immune response to pathogens, toxins, and self antigens. Examples of pathogens for which this therapeutic approach may be particularly useful, include pathogens for which there is currently no effective vaccine, or pathogens for which conventional vaccines are less than completely effective. These include, but are not limited to, ITIV, Hepatitis (A, B, & C), Influenza, Herpes, Giardia, Malaria, Leishmania, Staphylococcus aureus. Pseudomonas Aeruginosa.

Viruses causing infections treatable by methods of the present disclosure include, but are not limit to human papillomavirus, influenza, hepatitis A, B, C or D viruses, adenovirus, poxvirus, herpes simplex viruses, human cytomegalovirus, severe acute respiratory' syndrome vims, ebola virus, measles virus, herpes virus (e.g., VZV, HSV-1, HAV-6, HSV-II, and CMV, Epstein Barr virus), flaviviruses, echovirus, rhinovirus, coxsackie vims, comovirus, respiratory syncytial virus, mumpsvirus, rotavirus, measles virus, rubella virus, parvovirus, vaccinia virus, HTLV virus, dengue virus, papillomavirus, molluseum virus, poliovirus, rabies virus, JC virus and arboviral encephalitis virus. Pathogenic bacteria causing infections treatable by methods of the disclosure include, but are not limited to, chlamydia, rickettsial bacteria, mycobacteria, staphylococci, streptococci, pneumonoeoeci, meningococci and conococci, klebsiella, proteus, sesratia, pseudomonas, legionella, diphtheria, salmonella, bacilli, cholera, tetanus, botulism, anthrax, plague, leptospirosis, and Lyme’s disease bacteria.

Pathogenic fungi causing infections treatable by methods of the disclosure include, but are not limited to, Candida (albicans, krusei, glabrata, tropicalis, etc.), Cryptococcus neoformans, Aspergillus (fumigatus, niger, etc.), Genus Mucorales (mucor, absidia, rhizophus), Sporothrix schenkii, Blastomyces dermatitidis, Paracoccidioides brasiliensis, Coccidioides hmnitis and Histoplasma capsulatum. Pathogenic parasites causing infections treatable by methods of the disclosure include, but are not limited to, Entamoeba histolytica, Balantidium cols, Naegleriafowleri, Aeanthamoeba sp., Giardia lambia, Cryptosporidium sp , Pneumocystis carinii, Plasmodium vivax, Babesia microti, Trypanosoma brucei,

Trypanosoma cruzi, Leishmania donovani, Toxoplasma gondi, and Nippostrongylus brasiliensis.

Methods for the safe and effective administration of most of these chemotherapeutic agents are known to those skilled in the art. In addition, their administration is described in the standard literature. For example, the administration of many of the chemotherapeutic agents is described in the "Physicians' Desk Reference" (PDR, e.g., 1996 edition, Medical Economics Company, Montvale, Nj), the disclosure of which is incorporated herein by reference as if set forth in its entirety.

Pharmaceutical Formulations and Dosage Forms

When employed as pharmaceuticals, the compounds of the disclosure can be administered in the form of pharmaceutical compositions. These compositions can be prepared in a manner well known in the pharmaceutical art, and can be administered by a variety of routes, depending upon whether local or systemic treatment is desired and upon the area to be treated. Administration may be topical (including transdermal, epidermal, ophthalmic and to mucous membranes including intranasal, vaginal and rectal delivery), pulmonary (e.g., by inhalation or insufflation of powders or aerosols, including by nebulizer; intratracheal or intranasal), oral, or parenteral. Parenteral administration includes intravenous, intraarterial, subcutaneous, intraperitoneal intramuscular or injection or infusion; or intracranial, e.g , intrathecal or intraventricular, administration. Parenteral administration can be in the form of a single bolus dose, or may be, for example, by a continuous perfusion pump. Pharmaceutical compositions and formulations for topical administration may include transdennal patches, ointments, lotions, creams, gels, drops, suppositories, sprays, liquids and powders. Conventional pharmaceutical carriers, aqueous, powder or oily bases, thickeners and the like may be necessary or desirable.

This disclosure also includes pharmaceutical compositions which contain, as the active ingredient, the compound of the disclosure or a pharmaceutically acceptable salt thereof, in combination with one or more pharmaceutically acceptable carriers (excipients). In some embodiments, the composition is suitable for topical administration. In making the compositions of the disclosure, the active ingredient is typically mixed with an excipient, diluted by an excipient or enclosed within such a carrier in the form of, for example, a capsule, sachet, paper, or other container. When the excipient serves as a diluent, it can be a solid, semi-solid, or liquid material, which acts as a vehicle, carrier or medium for the active ingredient. Thus, the compositions can be in the form of tablets, pills, powders, lozenges, sachets, cachets, elixirs, suspensions, emulsions, solutions, syrups, aerosols (as a solid or in a liquid medium), ointments containing, for example, up to 10% by weight of the active compound, soft and hard gelatin capsules, suppositories, sterile injectable solutions, and sterile packaged powders.

In preparing a formulation, the active compound can be milled to provide the appropriate particle size prior to combining with the other ingredients. If the active compound is substantially insoluble, it can be milled to a particle size of less than 200 mesh. If the active compound is substantially w'ater soluble, the particle size can be adjusted by milling to provide a substantially uniform distribution in the formulation, e.g. about 40 mesh.

The compounds of the disclosure may be milled using known milling procedures such as wet milling to obtain a particle size appropriate for tablet formation and for other formulation types. Finely divided (nanoparticulate) preparations of the compounds of the disclosure can be prepared by processes known in the art, e.g., see International App. No. WO 2002/000196.

Some examples of suitable excipients include lactose, dextrose, sucrose, sorbitol, mannitol, starches, gum acacia, calcium phosphate, alginates, tragacanth, gelatin, calcium silicate, microerystalline cellulose, polyvinylpyrrolidone, cellulose, water, syrup, and methyl cellulose. The formulations can additionally include: lubricating agents such as talc, magnesium stearate, and mineral oil; wetting agents; emulsifying and suspending agents; preserving agents such as methyl- and propylhydroxy -benzoates; sweetening agents; and flavoring agents. The compositions of the disclosure can be formulated so as to provide quick. sustained or delayed release of the active ingredient after administration to the patient by employing procedures known in the art.

The compositions can be formulated in a unit dosage form, each dosage containing from about 5 to about 1000 mg (1 g), more usually about 100 to about 500 mg, of the active ingredient. The term“unit dosage forms” refers to physically discrete units suitable as unitary- dosages for human subjects and other mammals, each unit containing a predetermined quantity of active material calculated to produce the desired therapeutic effect, in association with a suitable pharmaceutical excipient.

In some embodiments, the compositions of the disclosure contain from about 5 to about 50 mg of the active ingredient. One having ordinary skill in the art will appreciate that this embodies compositions containing about 5 to about 10, about 10 to about 15, about 15 to about 20, about 20 to about 25, about 25 to about 30, about 30 to about 35, about 35 to about 40, about 40 to about 45, or about 45 to about 50 mg of the active ingredient.

In some embodiments, the compositions of the disclosure contain from about 50 to about 500 mg of the active ingredient. One having ordinary skill in the art will appreciate that this embodies compositions containing about 50 to about 100, about 100 to about 150, about 150 to about 200, about 200 to about 250, about 250 to about 300, about 350 to about 400, or about 450 to about 500 mg of the active ingredient.

In some embodiments, the compositions of the disclosure contain from about 500 to about 1000 mg of the active ingredient. One having ordinary skill in the art will appreciate that this embodies compositions containing about 500 to about 550, about 550 to about 600, about 600 to about 650, about 650 to about 700, about 700 to about 750, about 750 to about 800, about 800 to about 850, about 850 to about 900, about 900 to about 950, or about 950 to about 1000 mg of the active ingredient.

Similar dosages may be used of the compounds described herein in the methods and uses of the disclosure.

The active compound can be effective o ver a wide dosage range and is generally administered in a pharmaceutically effective amount. It wall be understood, however, that the amount of the compound actually administered will usually be determined by a physician, according to the relevant circumstances, including the condition to be treated, the chosen route of administration, the actual compound administered, the age, weight, and response of the individual patient, the severity- of the patient's symptoms, and the like.

For preparin solid compositions such as tablets, the principal active ingredient is mixed with a pharmaceutical excipient to form a solid preformulation composition containing a homogeneous mixture of a compound of the present disclosure. When referring to these preformulation compositions as homogeneous, the active ingredient is typically dispersed evenly throughout the composition so that the composition can he readily subdivided into equally effective unit dosage forms such as tablets, pills and capsules. This solid

preformulation is then subdivided into unit dosage forms of the type described above containing from, for example, about 0.1 to about 1000 m of the active ingredient of the present disclosure.

The tablets or pills of the present disclosure can be coated or otherwise compounded to provide a dosage form affording the advantage of prolonged action. For example, the tablet or pill can comprise an inner dosage and an outer dosage component, the latter being in the form of an envelope over the former. The two components can be separated by an enteric layer which senes to resist disintegration in the stomach and permit the inner component to pass intact into the duodenum or to be delayed in release. A variety of materials can be used for such enteric layers or coatings, such materials including a number of polymeric acids and mixtures of poly meric acids with such materials as shellac, cetyl alcohol, and cellulose acetate.

The liquid forms in which the compounds and compositions of the present disclosure can be incorporated for administration orally or by injection include aqueous solutions, suitably flavored syrups, aqueous or oil suspensions, and flavored emulsions with edible oils such as cottonseed oil, sesame oil, coconut oil, or peanut oil, as well as elixirs and similar pharmaceutical vehicles.

Compositions for inhalation or insufflation include solutions and suspensions in pharmaceutically acceptable, aqueous or organic solvents, or mixtures thereof, and powders. The liquid or solid compositions may contain suitable pharmaceutically acceptable excipients as described supra. In some embodiments, the compositions are administered by the oral or nasal respiratory' route for local or systemic effect. Compositions can be nebulized by use of inert gases. Nebulized solutions may be breathed directly from the nebulizing device or the nebulizing device can be attached to a face mask, tent, or intermittent positive pressure breathing machine. Solution, suspension, or powder compositions can be administered orally or nasally from devices which deliver the formulation in an appropriate manner.

Topical formulations can contain one or more conventional carriers. In some embodiments, ointments can contain water and one or more hydrophobic carriers selected from, for example, liquid paraffin, polyoxyethylene alkyl ether, propylene glycol, white Vaseline, and the like. Carrier compositions of creams can be based on water in combination with glycerol and one or more other components, e.g. glycerinemonostearate, PEG- glycerinemonostearate and cetylstearyl alcohol. Gels can be formulated using isopropyl alcohol and water, suitably in combination with other components such as, for example, glycerol, hydroxyethyl cellulose, and the like. In some embodiments, topical formulations contain at least about 0.1, at least about 0.25, at least about 0.5, at least about 1, at least about 2, or at least about 5 wt % of the compound of the disclosure. The topical formulations can be suitably packaged in tubes of, for example, 100 g which are optionally associated with instructions for the treatment of the select indication, e.g., psoriasis or other skin condition.

The amount of compound or composition administered to a patient will vary depending upon what is being administered, the purpose of the administration, such as prophylaxis or therapy, the state of the patient, the manner of administration, and the like. In therapeutic applications, compositions can be administered to a patient already suffering from a disease in an amount sufficient to cure or at leas t partially arrest the symptoms of the disease and its complications. Effective doses will depend on the disease condition being treated as well as by the judgment of the attending clinician depending upon factors such as the severity of the disease, the age, weight and general condition of the patient, and the like.

The compositions adm inistered to a patient can be in the form of pharmaceutical compositions described above. These compositions can be sterilized by conventional sterilization techniques, or may be sterile filtered. Aqueous solutions can be packaged for use as is, or lyophilized, the lyophilized preparation being combined with a sterile aqueous carrier prior to administration. The pH of the compound preparations typically will be between 3 and 11 , more preferably from 5 to 9 and most preferably from 7 to 8. It will be understood that use of certain of the foregoing excipients, carriers, or stabilizers will result in the formation of pharmaceutical salts.

The therapeutic dosage of a compound of the present disclosure can vary according to, for example, the particular use for which the treatment is made, the manner of administration of the compound, the health and condition of the patient, and the judgment of the prescribing physician. The proportion or concentration of a compound of the disclosure in a pharmaceutical composition can vary depending upon a number of fac tors including dosage, chemical characteristics (e.g., hydrophobicity), and the route of administration. For example, the compounds of the disclosure can be provided in an aqueous physiological buffer solution containing about 0 1 to about 10% w/v of the compound for parenteral administration. Some typical dose ranges are from about 1 pg/kg to about I g/kg of body weight per day. In some embodiments, the dose range is from about 0.01 mg/kg to about 100 mg/kg of body weight per day. The dosage is likely to depend on such variables as the type and extent of progression of the disease or disorder, the overall health status of the particular patient, the relative biological efficacy of the compound selected, formulation of the excipient, and its route of administration. Effective doses can be extrapolated from dose-response curves derived from in vitro or animal model test systems.

The compositions of the disclosure can further include one or more additional pharmaceutical agents such as a chemotherapeutic, steroid, anti-inflammatory compound, or immunosuppressant, examples of which are listed herein. Labeled Compounds and Assay Methods

Another aspect of the present disclosure relates to labeled compounds of the disclosure (radio-labeled, fluorescent-labeled, etc.) that would be useful not only in imaging techniques but also in assays, both in vitro and in vivo, for localizing and quantitating A2A and/or A2B receptors in tissue samples, including human, and for identifying A2A and/or A2B antagonists by inhibition binding of a labeled compound. Substitution of one or more of the atoms of the compounds of the present disclosure can also be useful in generating differentiated ADMF. (Adsorption, Distribution, Metabolism and Excretion.) Accordingly, the present disclosure includes adenosine receptor (e.g., A2A and/or A2B) assays that contain such labeled or substituted compounds.

The present disclosure further includes isotopically -labeled compounds of the disclosure. An“isotopically " or“radio-labeled” compound is a compound of the disclosure where one or more atoms are replaced or substituted by an atom having an atomic mass or mass number different from the atomic mass or mass number typically found in nature (i.e., naturally occurring). Suitable radionuclides that may be incorporated in compounds of the present disclosure include but are not limited to 2 H (also written as D for deuterium), ¾ (also written as T lor tritium), n C, 13 C, ]4 C, i3 N, i5 N, i5 G, i7 G, i8 G, i8 F, 35 S, 36 C1, 83 Br, 7 ¾r, 75 Br, 7 / Br, 12J I, n % 5 I and 13 fl. For example, one or more hydrogen atoms in a compound of the present disclosure can be replaced by deuterium atoms (e.g., one or more hydrogen atoms of a C - 6 alkyl group of Formula (I) can be optionally substituted with deuterium atoms, such as - CD 3 being substituted for -CH B ). in some embodiments, alkyl groups in any of the disclosed Formulas, e.g.. Formula (I), can be perdeuterated.

One or more constituent atoms of the compounds presented herein can be replaced or substituted with isotopes of the atoms in natural or non -natural abundance. In some embodiments, the compound includes at least one deuterium atom. For example, one or more hydrogen atoms in a compound presented herein can be replaced or substituted by deuterium (e g , one or more hydrogen atoms of a Ci-e alkyl group can be replaced by deuterium atoms, such as -CD;; being substituted for -CHs). In some embodiments, the compound includes two or more deuterium atoms. In some embodiments, the compound includes 1-2, 1-3, 1-4, 1-5, or 1-6 deuterium atoms. In some embodiments, ail of the hydrogen atoms in a compound can be replaced or substituted by deuterium atoms.

In some embodiments, 1, 2, 3, 4, 5, 6, 7, or 8 hydrogen atoms, attached to carbon atoms of any“alkyl”,“alkenyl”,“alkynyl”,“aryl”,“phe nyl”,“cycloaikyi”,

“heterocycioalkyl”, or“heteroaiyl” substituents or“-Ci« alkyl-”,“alkylene”,“alkenylene” and“alkynylene” linking groups, as described herein, are each optionally replaced by a deuterium atom.

Sy nthetic methods for including isotopes into organic compounds are known in the art (Deuterium Labeling in Organic Chemistry by Alan F. Thomas (New York, N.Y., Appleton-Centuiy -Crofts, 1971; The Renaissance of H/D Exchange by Jens Atzrodt, Volker Derdau, Thorsten Fey and Jochen Zimmermann, Angew. Chem. int. Ed. 2007, 7744-7765; The Organic Chemistry of Isotopic Labelling by James R. Hanson, Royal Society of Chemistry, 2011). Isotopically labeled compounds can be used in various studies such as NMR spectroscopy, metabolism experiments, and/or assays.

Substitution with heavier isotopes, such as deuterium, may afford certain therapeutic advantages resulting from greater metabolic stability, for example, increased in vivo half-life or reduced dosage requirements, and hence may be preferred in some circumstances (see e.g., A. Kerekes et. al. J. Med. Chem. 2011 , 54, 201-210; R. Xu et. a!. J. Label Conrpd.

Radiopharm. 2015, 58, 308-312). In particular, substitution at one or more metabolism sites may afford one or more of the therapeutic advantages.

The radionuclide that is incorporated in the instant radio-labeled compounds will depend on the specific application of that radio-labeled compound. For example, for in vitro adenosine receptor labeling and competition assays, compounds that incorporate ¾, i4 C, x2 Br, ! 25 j, [ i j or 35 g can kg use f u] p or radio-imaging applications !| C, l8 F, i2? 'I, i2 T, ]24 I, l3! l, /5 Br, ,R Br or ' 'Br can be useful.

It is understood that a“radio-labeled” or“labeled compound” is a compound that has incorporated at least one radionuclide. In some embodiments, the radionuclide is selected from the group consisting of 3 H, 14 C, i23 l, 35 S and 82 Br

The present disclosure can further include synthetic methods for incorporating radioisotopes into compounds of the disclosure. Synthetic methods for incorporating radio-isotopes into organic compounds are well known in the art, and an ordinary skill in the art will readily recognize the methods applicable for the compounds of disclosure.

A labeled compound of the disclosure can be used in a screening assay to identify /evaluate compounds. For example, a newly synthesized or identified compound test compound) which is labeled can be evaluated for its ability' to bind an adenosine receptor by monitoring its concentration variation when contacting with the adenosine receptor, through tracking of the labeling. For example, a test compound (labeled) can be evaluated for its ability to reduce binding of another compound which is known to bind to an adenosine receptor (i.e., standard compound). Accordingly, the ability of a test compound to compete with the standard compound for binding to the adenosine receptor directly correlates to its binding affinity'. Conversely, in some other screening assays, the standard compound is labeled and test compounds are unlabeled. Accordingly, the concentration of the labeled standard compound is monitored in order to evaluate the competition between the standard compound and the test compound, and the relative binding affinity of the test compound is thus ascertained.

Kits

The present disclosure also includes pharmaceutical kits useful, for example, in the treatment or prevention of adenosine receptor-associated diseases or disorders (such as, e.g., cancer, an inflammatory' disease, a cardiovascular disease, or a neurodegenerative disease) which include one or more containers containing a pharmaceutical composition comprising a therapeutically effective amount of a compound of the disclosure. Such kits can further include, if desired, one or more of various conventional pharmaceutical kit components, such as, for example, containers with one or more pharmaceutically acceptable carriers, additional containers, etc , as will be readily apparent to those skilled in the art. Instructions, either as inserts or as labels, indicating quantities of the components to be administered, guidelines for administration, and/or guidelines for mixing the components, can also be included in the kit.

The invention will be described in greater detail by way of specific examples. The following examples are offered for illustrative purposes, and are not intended to limit the invention in any manner. Those of skill in the art will readily recognize a variety of non- eritical parameters which can be changed or modified to yield essentially the same results. The compounds of the Examples have been found to inhibit the activity' of an adenosine receptor (e.g., A2A and/or A2B) according to at least one assay described herein. EXAMPLES

Preparatory LC-MS purifications of some of the compounds prepared were performed on Waters mass directed fractionation systems. The basic equipment setup, protocols, and control software for the operation of these systems have been described in detail in the literature (see e.g.“Two-Pump At Column Dilution Configuration for Preparative LC-MS”, K Blom, ,/. Combi. Chem., 4, 295 (2002);“Optimizing Preparative LC-MS Configurations and Methods for Parallel Synthesis Purification”, K. Blom, R Sparks, J. Doughty, G. Everlof, T. Haque, A. Combs, ./ Combi. Chem., 5, 670 (2003); and "Preparative LC-MS Purification: Improved Compound Specific Method Optimization", K Blom, B.

Glass, R. Sparks, A. Combs, ./ Combi. Chem., 6, 874-883 (2004)). The compounds separated were typically subjected to analytical liquid chromatography mass spectrometry (LCMS) for purity analysis under the following conditions: Instrument; Agilent 1100 series, LC/MSD, Column: Waters Sunfire™ C-g 5 pm, 2.1 x 50 mm, Buffers: mobile phase A: 0.025% TEA in writer and mobile phase B: acetonitrile; gradient 2% to 80% of B in 3 minutes with flew rate 2.0 mL/minute.

Some of the compounds prepared were also separated on a preparative scale by reverse-phase high performance liquid chromatography (RP-HPLC) with MS detector or flash chromatography (silica gel) as indicated in the Examples. Typical preparative reverse-phase high performance liquid chromatography (RP-HPLC) column conditions are as follow's: pH = 2 purifications: Waters Sunfire™ Csg 5 pm 30 x 100 mm or Waters XBridge™ Ci 8 5 pm, 30 x 100 mm column, eluting with mobile phase A: 0.1% TEA (trifluoroacetic acid) in water and mobile phase B: acetonitrile; the flow rate was 60 mL/minute, the separating gradient w'as optimized for each compound using the Compound Specific Method Optimization protocol as described in the literature (see e.g. "Preparative LCMS Purification: Improved Compound Specific Method Optimization", K. Blom, B. Glass, R. Sparks, A. Combs, ,/. Comb. Chem., 6, 874-883 (2004)).

pH = 10 purifications: Waters XBridge™ Cig 5 pm, 30 x 100 mm column, eluting with mobile phase A: 0.1% NELOH in water and mobile phase B: acetonitrile; the flow rate was 60 mL/minute, the separating gradient was optimized for each compound using the Compound Specific Method Optimization protocol as described in the literature (see e.g. "Preparative LCMS Purification: Improved Compound Specific Method Optimization", K. Blom, B Glass, R. Sparks, A Combs, J. Comb. Chem., 6, 874-883 (2004)).

Separation of some of the racemic compounds into enantiopure samples were prepared on preparative scale by chiral-phase high performance liquid chromatography under the following conditions: Instrument: Agilent 1100 Prep HPLC; Column: Phenomenex Lux Cellulose-4, 21.2 x 250mm, 5mih; eluting with isoeratic mobile phase 45% EtOH in hexanes with a flow rate of 20 mL/minute

Example 1. 3-(5-Amino-8-(2,6-dimethylpyridin-4-yl)iimdazo[l,2-c]pyriimd in-7- yl)benzonitrile

Step 1 : 5-Bromo-2, 6-dichloropyrimidin-4-amine

To a solution of 2,6-dichloropyrimidin-4-amine (Combi-Blocks, cat# OR-0412) (10 g, 61 mmol) in DMF (50 mL) at 0 °C was added /V-bromosuceinimide (11 g, 61 mmol). The reaction mixture was stirred for 16 h at room temperature before water (100 mL) was added. The resulting precipitate was collected by filtration, and then dried to give the desired product (13.1 g, 88 %), which was used in the next step without further purification. LC-MS calculated for C d bBr l -V s M I i i : m/z = 241.9; found 241.8.

2-Bromo- 1,1 -diethoxy ethane (11 mL, 70 mmol) was added to a mixture of 5-bromo- 2,6-dichloropyrimidin-4-amine (2.0 g, 8.2 mmol) in MeCN (25 mL). The resulting mixture was stirred at 120 °C for I h then cooled to room temperature and concentrated under reduced pressure. The residue was triturated with EtOAc to give the desired product as the HBr salt (2.4 g, 84%), which was used in the next step without further purification. LC-MS calculated for CrTLBrCLNs (M+H) : m/z = 265.9; found 265.8. Step 3: 8-Bromo- 7-chloroimidazo[l,2-c]pyrimidin-5-amine

To a solution of 8-bromo-5,7-dichloroimidazo[l ,2-c]pyrimidine hydrobromide (2.2 g, 6.3 mmol) in THF (30 mL) was added concentrated ammonium hydroxide (57 mL, 14 M). The reaction mixture was stirred at room temperature for 16 h before the volatiles were removed under reduced pressure. The resulting solid was collected by filtration, washed with water (100 ml.) and then dried to give the desired product (0.75 g, 48 %), which was used in the next step without further purification. LC-MS calculated for CeHsBrCIN* (M+H) + : m/z = 246.9; found 247.0.

[l,r-Bis(diphenylphosphino)ferrocene]dichloropalladium(II) (7.3 mg, 10 mol%) was added to a mixture of 8-bromo-7-chloroimidazo[l ,2-c]pyrimidin-5-amine (25 mg, 0.10 mmol), 2,6-dimethyl-4-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yi) pyridine (35 mg, 0.15 mmol), and sodium carbonate (32 mg, 0.30 mmol) in THF (0.36 mL) and water (0.07 mL). The mixture was purged with nitrogen, and then stirred at 70 °C for 16 h. The reaction mixture was cooled to room temperature and concentrated under reduced pressure. The crude product wms purified by flash chromatography on a silica gel column eluting with 0 to 15% MeOH/DCM to give the desired product, which was used in the next step without further purification. LC-MS calculated for C13H13CIN5 (M+H) : m/z = 274.1 ; found 274.1.

Step 5: 3-(5-Amino-8-(2,6-dimethylpyridin-4-yl)imidazo[l,2-c]pyrimid in-7-yl)bemonilrile To a microwave vial was added 7-chloro-8-(2,6-dimethylpyridin-4-yl)imidazo[l,2- cjpyrimidin-5-amine (40 mg, 0.15 mmol), (3-cyanophenyl)boronic acid (64 mg, 0.44 mmol), tripotassium phosphate (120 mg, 0.59 mmol), DMF (2.4 mL), w'ater (0.60 mL) and [I,G- bis(diphenylphosphino)ferrocene]dichloropalladium(lT) (11 mg, 10 mol%). The reaction solution was purged with nitrogen, and then the microwave vial was sealed and heated in a microwave reactor at 120 °C for 20 min. The reaction mixture was cooled to room temperature, filtered through a Celite plug with 50% EtOAc/DCM, and then concentrated under reduced pressure. The crude product 'as purified by prep-LCMS (pH = 2, MeCN/water with TEA) to give the desired product as the TEA salt. LC-MS calculated for C20H17 6 (M+H) + : m/z = 341.2; found 341.1.

Example 2. 7-(2^-Dihydro-l/ -pyrrolo[2,3-A]pyridin-5-yl)-8-(2,6-dimethylpyridin-4- yI)imidazo[l,2-c]pyrimidin-5-ainine

This compound was prepared using similar procedures as described for Example 1 , with (2,3-dihydro- l//-pyrrolo[2,3-/?]pyridin-5-yl)boronic acid replacing (3- cyanophenyljboronic acid in Step 3 The product was purified by prep-LCMS (pH = 10, MeCN/water with NH 4 OH) to give the desired product as die free base. LC-MS calculated for C 20 H 20 N 7 i \i I I } : m/z = 358.2; found 358 2.

Example 3. 8-(2,6-Dimethylpyridin-4-yl)-3-(morpholinomethyl)-7-phenylim idazo[l,2- c\ pyrimidin-5-amine

To a mixture of 8~(2,6-dimethylpyridin-4-yi)-7-phenylimidazoj4 ,2-c]pyrimidin-5- amine (prepared using similar procedures as described in Example 1, with phenylboronic acid replacing (3-cyanophenyl)boronic acid in Step 5) (25 mg, 0 08 mmol) and morpholine (9.5 pL, 0.16 mmol) was added (diacetoxyiodo) benzene (51 mg, 0.16 mmol). The reaction mixture was stirred at 50 °C for 2 h, and the product was purified by prep-LCMS (pH = 2, MeCN/water with TEA) to give the desired product as tire TEA salt. LC-MS calculated for C24H27N6O (M+I-I) 1 : m/z = 415.2; found 415.2.

Example 4. 7-(3-Methoxyphenyl)-8-(pyridin-4-yl)imidazo[l,2-c]pyrimidin- 5-amine

[l, -bis(dicyclohexylphosphino)ferrocene]dichloropalladium(II) (6.1 mg, 10 mol%) was added to a mixture of 8-bromo-7-chloroimidazo[l ,2-c]pyrimidin-5-amiiie (prepared in Example 1, Step 3) (20 mg, 0.08 mmol), pyridin-4-ylboronic acid (12 mg, 0.10 mmol), and cesium carbonate (79 mg, 0.24 mmol) in fer/-butanol (0.45 mL) and water (0.09 ml,). The solution was purged with nitrogen, stirred at 75 °C for 2 h, and cooled to room temperature. Cesium carbonate (53 mg, 0.24 mmol), [1,1’- bis(dicyclohexylphosphmo)ferrocene]dichloropalladium(Il) (3.1 mg, 5 mol%), and (3- methoxypheny!)boronic acid (18 mg, 0.12 mmol) were then added. The reaction mixture was stirred at 105 °C for 4 h, and cooled to room temperature. The mixture was filtered through a Celite plug with 50% EtOAc/DCM and concentrated under reduced pressure. The product was purified by prep-LCMS (pH = 2, MeCN/water with TEA) to give the desired product as the TEA salt. LC-MS calculated for CigHleNsO (M+H) + : m/'z = 318.1; found 318.2.

Example 5. 7,8-Di(pyridin-4-yl)imidazo[l^-c]pyrimidin-5-amine

This compound was prepared using similar procedures as described for Example 4, with p ridin-4-ylboronic acid replacing (3-methoxyphenyl)boronic acid. The product wus purified by prep-LCMS (pH = 2, MeCN/water with TFA) to give the desired product as the TEA salt. LC-MS calculated for C i6 Hi3N 6 (M+H) + : m/z = 289.1; found 289.1.

Example 6. 7-(2-Methylfuran-3-yi)-8-(pyridin-4-yl)imidazo[l,2-c]pyrimid m-5-aimne

This compound was prepared using similar procedures as described for Example 4, with 4,4,5,5-tetramethyl-2-(2-methylfuran-3-yl)-l,3,2-dioxaborola ne replacing (3- m ethoxy phenyl)horonic acid in addition, the reaction mixture wus stirred at 105 °C for 20 h. The product was purified by prep-LCMS (pH = 2, MeCN/water with TFA) to give the desired product as the TFA salt. LC-MS calculated for CieH sO (M+H) + : m/z = 292.1; found 292.1. Example 7. 7-(2-Fluorophenyl)-8-(pyridin-4-yl)imidazo[l^-clpyrimidiii-5 -amine

This compound was prepared using similar procedures as described for Example 4, with (2-fluorophenyl)boronic acid replacing (3-methoxyphenyl)boronic acid. The product was purified by prep-LCMS (pH = 2, MeCN/water with TFA) to give the desired product as the TEA salt. LC-MS calculated for C ]7 H I3 FN S (M+H) + : m/z = 306.1; found 306.1.

Example 8. 7-(Benzofuran-2-yl)-8-(pyridin-4-yl)imidazo[l ,2-c]pyrimidin-5-amine

This compound was prepared using similar procedures as described for Example 4, with benzofuran-2-ylboronic acid replacing (3-methoxyphenyl)boronic acid. The product was purified by prep-LCMS (pH = 2, MeCN/water with TFA) to give the desired product as the TFA salt. LC-MS calculated for C U H H N S O (M+H) + : m/z = 328.1; found 328.1.

Example 9. 7-(l-Methyl-l/f-pyrazoI-4-yI)-8-(2-metfaylpyridin-4-yl)iimda zo[i > 2- c] pyrimidin-5-amine

[l, -bis(dicyclohexylphosphino)ferrocene]dichloropalladium(II) (110 mg, 10 mol%) was added to a mixture of 8-bromo-7-chloroimidazo[l,2-c]pyrimidin-5-amine (prepared in Example 1, Step 3) (370 mg, 1.5 mmol), 2-methyl-4-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan- 2-yI)pyridine (490 mg, 2.2 mmol), and cesium carbonate (1.5 g, 4.5 mmol) in fcrt-butanoi (8.3 mL) and water (1.7 mL). The solution was purged with nitrogen, and then stirred at 75 °C for 5 h. The reaction mixture was cooled to room temperature and filtered through a Celite plug with EtOAc. The filtrate was concentrated under reduced pressure. The crude product was purified by flash chromatography on a silica gel column eluting with 0-10%

MeOH/DCM to give the desired product, which was used in the next step without further purification. LC-MS calculated for C12H1 1CIN5 (M+H)’: m/z = 260.1 ; found 260.0.

Step 2: 7~0-Methyl-lH-pyrazol-4-yl)-8-(2~niethyipyridin- 4-yi)imidazo[l,2-c]pyrimidin-5·- amine

To a microwave vial was added 7-chloro-8-(2-methylpyridin-4-yl)imidazo[l,2- cjpyrimidin-S-amine (43 mg, 0.17 mmol), l -methyl-4-(4,4,5,5-tetramethyl-l,3,2- dioxaborolan-2~yl)-l/7~pyrazo!e (100 mg, 0.50 mmol), tripotassium phosphate (140 mg, 0.66 mmol), DMF (1.3 ml), water (0.33 mL) and [1,1’- bis(diphenylphosphino)ferrocene]dichloropalladium(II) (12 mg, 10 mol%). The reaction solution was purged with nitrogen, and then the microwave vial was sealed and heated in a microwave reactor at 120 °C for 20 min. The reaction mixture was cooled to room temperature and fdtered through a Celite plug with 50% EtOAc/DCM, then concentrated under reduced pressure. The product was purified by prep-LCMS (pH = 10, MeCN/water with NH 4 OH) to give the desired product as the free base. LC-MS calculated for CisHieN ? (M+H) : rn/z = 306.1; found 306.1.

Example 10, 8-(2-Methylpyridin-4-yl)-2,7-diphenyiimidazo[l,2-c]pyrimidin -5-aininc

Step 1 : 2-Methoxy-6-phenylpyrimidin-4-amine

Bis(di-/er/-butyl(4-dimethylaminophenyl)phosphine)dicblor opalladium(ll) (0.89 g, 5 mol%) was added to a mixture of 6-chioro-2-methoxypyrimidin-4-amine (Ark Pharm, Inc, cat# AK-25131) (4.0 g, 25 mmol), phenylboronic acid (4.6 g, 38 mmol) and cesium carbonate (16 g, 50 mmol) in toluene (130 mL) and water (13 mL). The solution was purged with nitrogen, and then stirred at 115 °C for 16 h. The reaction mixture was cooled to room temperature, filtered through a Celite plug with DCM and concentrated under reduced pressure. Water (100 mL) w¾s added to the residue and the resulting solid was collected by filtration, and then dried to give the desired product (5.0 g, 99 %), which was used in the next step without further purification. LC-MS calculated for C 1 H 12 N 3 O (M+H) + : m/z = 202.1 ; found 202.0.

Step 2: 5-Bromo-2-methoxy-6-phenylpyrimidin-4-amine

To a solution of 2-methoxy-6-phenylpyrimidin-4-amine (5.1 g, 25 mmol) in DMSO (51 mL), MeCN (27 mL) and water (1.7 mL) at 0 °C was added iY-bromosuccininiide (4.5 g,

25 mmol). The reaction mixture was stirred for 2 h at room temperature before water (100 mL) -was added. The resulting precipitate was collected by filtration then dried to give the desired product (5.2 g, 73 %), which was used in the next step without further purification. LC-MS calculated for CnHnBrN 3 0 { M i l s m/z - 280.0; found 280.0.

[l,l’-bis(dicyclohexylpliosphino)ferrocene]dichloropalladi um(II) (0.41 g, 10 mol%) was added to a mixture of 5-bromo-2-methoxy-6-phenylpyrimidin-4-amine (1.5 g, 5.4 mmol), 2-methyl-4-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)pyri dine (1.8 g, 8.0 mmol), and cesium carbonate (3.5 g, 11 mmol) in te/7-butanol (20 mL) and water (3.9 mL). The solution was purged with nitrogen, and then stirred at 120 °C for 1.5 h. The reaction mixture was cooled to room temperature, filtered through a Celite plug with DCM and concentrated under reduced pressure. Water (100 mL) was added to the residue and the resulting solid was collected by filtration then dried to give the desired product (1.02 g, 65 %), which was used in the next step without further purification. LC-MS calculated for C H H IT N+O (M+H) + : m/z = 293.1; found 293.1. Step 4: 8-(2-Methylpyridin-4-yl)-2 , 7~dipheny!imidazo[l,2-cjpyrimidin-5(6H)-one

To 2-methoxy-5-(2-methylpyridin-4-yl)-6-phenylpyrimidin-4-amine (100 mg, 0 34 mmol) in acetic acid (1.4 mL) was added 2-bromo-l -phenylethan-l-one (170 mg, 0.86 mmol). The reaction mixture was stirred at 120 °C for 20 h. After cooling to room temperature the volatiles were removed under reduced pressure. The resulting solid was washed with Et 2 0, collected by filtration and then dried to give the crude product, which was used in the next step without further purification. LC-MS calculated for C 24 H S9 N 4 O (M+H) 7 m/z = 379.2; found 379.1.

To a stirred solution of 8-(2-methylpyridin-4-yl)-2,7-diphenylimidazo[l,2- c]pyrimidi:n-5(6i7)-one acetate (150 mg, 0.34 mmol) and POCI 3 (0.25 mL, 2.6 mmol) in toluene (1.3 mL) at 0 °C was added dropwise AyV-diisopropylethyiamme (0.26 mL, 1.5 mmol). The resulting solution was slowly heated to 120 °C over 1 h, and then stirred at 120 °C for 16 h. After cooling to room temperature the volatiles were removed under reduced pressure. The resulting residue was diluted with 1 N HC1 (2.0 mL) and water (20 mL), and extracted with DCM (5 x 20 mL). The organic layers were combined, dried over Na^SCL, filtered and concentrated under reduced pressure. The resulting crude product mixture was used in the next step without further purification. LC-MS calculated for C 24 H 18 CIN 4 (M+H) + : m/z = 397.1 ; found 397.1.

Step 6: 8-(2-Methylpyridin-4-yl)-2, 7-diphenylimidazo[J2-c]pyrimidin-5-amine

This compound was prepared using a similar procedure as described for Example 1 , Step 3, with 5-chloro-8-(2-methylpyridin-4-yl)-2,7-diphenylimidazo[i,2-c] pyrimidine replacing 8-bromo-5,7-dichloroimidazo[l,2-c]pyrimidine hydrobromide. The product was purified by prep-LCMS (pH = 2, MeCN/water with TEA) to give the desired product as the TFA salt. LC-MS calculated for C 24 H 20 N;, (M+H) + : m/z = 378.2; found 378.1. Example 11. Ethyl 5-amino-8-(2-methylpyridin-4-yl)-7-phenylimidazo|l,2-c]pyrii mdine- 2-carboxyIate

This compound was prepared using similar procedures as described for Example 10, with ethyl 3-bromo-2-oxopropanoate replacing 2-bromo-l-phenylethan-l-one in Step 4. The product was purified by prep-LCMS (pH = 10, MeCN/water with H + OH) to give the desired product as the free base. LC-MS calculated for C21H20N5O2 (M+H) + : m/z = 374.2; found 374.0.

Example 12. Methyl 5-(5-amino-7-phenyl-8-(pyridin-4-yl)imidazo[l,2-c]pyrimidin- 2- yl)isoxazole-3-carboxylate

Step 1 : Ethyl 5-(5-oxo- 7-phenyl-8-(pyridin-4-yl)-5, 6-dihydroimidazof 1 2-c]pyrimidin-2- yl)isoxazole-3-carboxylate

To a mixture of 2-methoxy-6-phenyl-5-(pyridin-4-yl)pyrimidin-4-amine (prepared using similar procedures as described in Example 10, Step 1 -3, with pyridin-4-ylboronic ac id replacing 2-methyl-4-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)pyri dine in Step 3) (50 mg, 0.18 mmol) in 2-propanol (0.54 rnL) was added ethyl 5-(2-bromoacetyl)isoxazole-3- carboxylate (Combi-Blocks, cat#SS-6738) (71 mg, 0.27 mmol). The reaction mixture was stirred at 110 °C for 4 h. After cooling to room temperature the volatiles were removed under reduced pressure. The resulting solid was washed with EtOAc, collected by filtration, and then dried to give the crude product as the HBr salt, which was used in the next step without further purification. LC-MS calculated for C23H18N5O4 (M+H) T : m/z = 428.1; found 428.0. Step 2: Ethyl 5-(5-chloro- 7-pheny!-8-(pyridin-4-yl)imidazo[J2-cjpyrimidin-2-y!)isoxazo le-3- carboxylate

To a stirred solution of ethyl 5-(5-oxo-7-phenyl-8-(pyridm-4-yl)-5,6- dihydroimidazo[l,2-c]pyrimidin-2-yl)isoxazole-3-carboxylate hydrobromide (72 mg, 0.14 mmol) in MeCN (0.53 mL) was added POCT (0.54 mL, 5.8 mmol). The resulting solution was stirred at 120 °C for 16 h. After cooling to room temperature the volatiles were removed under reduced pressure. To the residue was slowly added ice water (20 mL) and the slurry was stirred for 20 min. The resulting solid was collected by filtration then dried to give the crude product, which was used in the next step without further purification. LC-MS calculated for C 23 H 17 CIN 5 O 3 (M+H) + : m/z - 446.1; found 446.0.

Step3: Methyl 5-(5-amino-7-phenyl-8-(pyridin-4-yl)imidazo[l,2-cJpyrimidin- 2-yl)isoxazole-3- carboxylate

To a solution of ethyl 5-(5-chloro-7-phenyl-8-(pyridin-4-yl)imidazo[1 ,2-c]pyrimidm- 2-yl)isoxazole-3-carboxylate (70 mg, 0.16 mmol) in THF (0.70 mL) and MeOH (0.10 mL) was added concentrated ammonium hydroxide (1.4 mL, 14 M). The reaction mixture was stirred at room temperature for 16 h before the volatiles were removed under reduced pressure. The product was purified by prep-LCMS (pH = 2, MeCN/water with TFA) to give the desired product as the TFA salt. LC-MS calculated for C22H17N6O3 (M+H) + : m/z = 413.1 ; found 413.1.

Example 13. 3-(4-Ethoxyphenyi)-8-(2-methylpyridin-4-yl)-7-phenyIimidazo[ l ,2- c\ py rimidin-5-amine

To a mixture of 2-methoxy-5-(2-methylpyridin-4-yl)-6-pheny lpyrimidin-4-amine (from Example 10, Step 3) (400 mg, 1.4 mmol) in 2-propanol (4.2 ml.) was added 2- chloroacetaldehyde (2.0 mL, 7 M in water). The reaction mixture was stirred at 110 °C for 4 h. After cooling to room temperature the volatiles were removed under reduced pressure. The resulting residue was triturated with EtOAc to give the title compound as the HC1 salt (395 mg, 85%), which was used in the next step without further purification. LC-MS calculated for CsgHisNrO (M+H) + : m/z = 303.1; found 303.1.

This compound was prepared using similar procedures as described for Example 10, Step 5-6, with 8-(2-methylpyridin-4-yl)-7-phenylimidazo[l,2-c]pyrimidin-5(6 f/)-one replacing 8-(2-methylpyridm-4-yl)-2,7-diphenylimidazo[l ,2-c]pyrimidin-5(6/?)-one in Step 5. The product was purified by prep-LCMS (pH = 2, MeCN/water with TEA) to give the desired product as the TFA salt. LC-MS calculated for C gH 6 N 5 (M+H) + : m/z = 302.1 ; found 302.1.

To a mixture of 8-(2-methylpyridin-4-yl)-7-pheny limidazojl ,2-c]pyrimidin-5 -amine 2,2,2-trifh.ioroacetate (31 mg, 0.08 mmol) and sodium bicarbonate (14 mg, 0.17 mmol) in

MeOH (0.31 mL) and water ( 0.31 mL) was added bromine (5.8 mΐ,, 0.11 mmol) dropwise at 0 °C. The reaction mixture was stirred at room temperature for 16 h. The resulting solution was concentrated under reduced pressure to give the crude product, which was used in the next step without further purification. LC-MS calculated for C sHisBrNs (M+H) + : m/z = 380.1; found 380.1.

Step 4: 3-(4-Ethoxyphenyl)-8-(2-methylpyridm-4-yl)-7-phenylimidazo[l ,2-c]pyrimidin-5- amine

To a microwave vial was added 3-Bromo-8-(2-methylpyridin-4-yl)-7- phenylimidazo|T,2-c]pyrimidin-5-amine (3 mg, 0.01 mmol), (4-ethoxyphenyi)boronic acid (4 mg, 0.02 mmol), tripotassium phosphate (7 mg, 0.03 mmol), DMF (2.4 ml,), water (0.60 ml,) and [l,l’-bis(diphenylphosphino)ferrocene]dichloropalladium(II ) (2 mg, 25 mol%). The reaction solution was purged with nitrogen, and then the microwave vial was sealed and heated in a microwave reactor at 120 °C for 20 min. The reaction mixture was cooled to room temperature and filtered through a Celite plug with 50% EtOAc/DCM, then concentrated under reduced pressure. The crude product was purified by prep-LCMS (pH = 2, MeCN/water with TEA) to give the desired product as the TEA salt. LC-MS calculated for C 26 H 24 N 5 O (M+H) + : m/z = 422.2; found 422.2.

Example 14, 5-Amino-8-(2-methylpyridin-4-yl)-7-phenylimidazo[l ,2-c]pyrimidine-2- carboxamide

Step 1 : 5-Amino-8-(2-methylpyridin-4-yl)-7-phenylimidazo[l,2-cjpyrim idine-2-carboxylic acid

To a stirred solution of ethyl 5-amino-8-(2-methylpyridin-4-yl)-7-phenylimidazo[l,2- c]pyrimidine-2-carboxylate (prepared in Example 11) (66 mg, 0.18 mmol) in TTIF (0.90 mL) w¾s added lithium hydroxide monohydrate (15 mg, 0.36 mmol) and water (0.90 mL) The resulting mixture was stirred at 50 °C for 16 h. After cooling to room temperature, 1 N HC1 (0.38 mL) and w ater (0.9 mL) were added to give a precipitate which was removed by filtration. The filtrate was concentrated to give the crude product, wdiich was used in the next step without further purification. LC-MS calculated for C 19 H 16 N 5 O 2 (M+H) + : m/z = 346.1; found 346.1. Step 2: 5-Amino-8-(2-melhylpyridin-4-y!)-7-phenylimidazo[l,2-c]pyrim idim-2-carboxamide To a solution of 5-amino-8-(2-methylpyridin-4-yl)-7-phenylimidazo[l,2- cjpyrimidine-2 -carboxylic acid (48 mg, 0.14 mmol) in DMF (0.87 mL)was added HATU (63 mg, 0.17 mmol) and triethylamine (39 pL, 0.28 mmol). The reaction mixture was stirred at room temperature for 30 min before ammonium chloride (8.0 mg, 0.15 mmol) was added and the solution continued stirring at room temperature for 1.5 h. The mixture was diluted with EtOAc (5.0 mL) and washed with saturated aqueous sodium bicarbonate solution (5.0 mL) and brine (5.0 mL). The organic layer were dried over Na 2 S0 4 , filtered and concentrated under reduced pressure. The product was purified by prep-LCMS (pH = 2, MeCN/water with TFA) to give the desired product as the TFA salt. LC-MS calculated for CwH^NeO (M+H) + : m/z = 345.1 ; found 345.1.

Example 15. 5-Amino-8-(l -carfoamoyl-1 ,2,3,6-tetrahydropyridin-4-yl)-A-ethyl-7- phenylimidazo[l,2-c]pyrimidine-2-carboxamide

Step 1 2-(Methylthio)-6-phenylpyrimidin-4-amine

A mixture of 6-chloro-2-(methylthio)pyrimidin-4-amine (Combi-Blocks Catalog, #ST-1384) (10.0 g, 56.9 mmol), phenylboronic acid (8.33 g, 68 3 mmol), and bis(di-/eri- butyl(4-dimethylaminophenyl)phosphine)dichloropaliadium(II) (l.Olg, 1.42 mmol) in 1,4- dioxane (50 mL) and water (10 mL) was added cesium carbonate (37 1 g, 114.0 mmol). The reaction mixture was purged with nitrogen and then stirred at 100 °C for 12 h. After being cooled to room temperature, the reaction mixture wrss diluted with EtOAc, washed with brine, dried over Na ? _S0 4 , filtered and concentrated under reduced pressure. Light yellow solid precipitated from the solution, which wus filtered and dried to obtain the desired product. LC- MS calculated for C 1 H 12 N 3 S (M+H) + : m/z = 218.1 ; found 218.1. Step 2: 5~Bromo-2~(methylthio)~6-phenylpyrimidin~4-amine

To a stirred solution of 2-(methylthio)-6-phenylpyrimidin-4-amine (2.5 g, 1 1.5 mmol) in DMF (50 niL) was added iV-bromosuccinimide (2.05 g, 11.5 mmol). The resulting mixture was stirred at room temperature for 2 h before water (200 ml.) was added. Light yellow solid precipitated from the solution, which was fdtered and dried to obtain the desired product. LC- MS calculated for CnHnBrN 3 S (M+H) + : m/z = 296 0 ; found 296.0.

To a solution of 5-bromo-2-(methylthio)-6-phenylpyrimidin-4-amine (3.69 g, 12.5 mmol) in 1,2-dimethoxy ethane (40 mL) was added ethyl 3-bromo-2-oxopropanoate (4.69 mL, 37.4 mmol). The mixture was heated to 110 °C for 12 h. After being cooled to room temperature, the reaction mixture wms washed with saturated NaHCCb solution and brine, dried over Na2 . S0 , filtered, and concentrated under reduced pressure to afford light brown solid as the desired product. LC-MS calculated for OeHisBrNaCbS (M+H) : m/z = 392.0; found 392.0.

Step 4: Ethyl 8-bromo-5-(2, 4-dimethoxybenzyIamino)-7-phenyIimidazo[l,2-c]pyrimidine-2- carboxy!ate

In a 500 mL round bottom flask, ethyl 8-bromo-5-(methylthio)-7-phenylimidazo[l,2- c]pyrimidine-2-carbox late (2.1 g, 5.35 mmol) was dissolved in 100 ml. of DCM. To this solution, 3-chloroperbenzoic acid (mCPBA) (2.28 g, 10.2 mmol) in DCM (30 mL) was added dropwise through an addition funnel at 0 °C. After addition, the reaction mixture was allowed to warm to room temperature and stirred for 4 h. The reaction was then quenched by adding saturated NaHCCh solution and the resulting two layers were separated. The organic layer was washed with brine, dried over Na SCL, and filtrated. To this filtrate, (2,4- dimethoxyphenyl)methanamine (1.61 mL, 10.7 mnroi) wes added dropwise at room temperature. The resulting mixture was stirred for 2 h, and concentrated under reduced pressure. The resulting residue wes purified by flash chromatography on a silica gel column eluting with 0 to 100% EtOAc in hexanes to afford the desired product. LC-MS calculated for ( ; , ! ! . : Br\ :O i ( M i l l m/z = 511.1 ; found 511.1.

Step 5: 8-Bromo-5-(2,4-dimethoxybenzylamino)-N-ethyl-7-phenylimidaå o[l,2-c] pyrimidine- 2-carboxamide

Ethyl 8-bromo-5-(2,4-dimethoxybenzylamino)-7-phenylimidazo[l,2-c]p yrimidine-2- earboxyiate (1.80 g, 3 5 mmol) in MeOH (20 mL), THF (20 mL), and water (10 mL) was added LiOH (0.34 g, 14.1 mmol) in one portion. The reaction mixture was stirred at 45 °C for 2 h, cooled to room temperature, and concentrated under reduced pressure. The resulting residue was dissolved in DMF (30 mL), followed by addition of ethan amine (2 M solution in THF, 3.52 mL, 7.04 mmol), iV-ethyl-iV-isopropylpropan-2-amine (1.84 mL, 10.6 mmol), and (benzotriazol-l -yloxy)tripyrrolidinophosphonium hexafluorophosphate (PyBOP) (3.66 g,

7.04 mmol). The reaction mixture was stirred at room temperature overnight before 100 mL of water was added. The resulting solid was collected and dried to afford the desired product as a yellow solid. LC-MS calculated for C B BrN 5 Q 3 (M+H) + : m/z = 510.1 ; found 510.1.

Step 6: lerl-Biityl 4-(5-(2, 4-dimethoxybenzylamino)-2~(ethylcarbamoyl)- 7-pheny!imidazofl,2- c]pyrimidin-8-yl)-5,6-dihydropyridwe-l(2H)-carboxylate

A mixture of 8-bromo-5-(2,4-dimethoxybenzylammo)-(V-eth 1-7-phenylimidazojl ,2- e]pyrimidine-2 -carboxamide (20.0 mg, 0.039 mmol), / -butyl 4-(4,4,5,5-tetramethyl-l,3,2- dioxaborolan-2-yl)-3,6-dihydropyridine-l(2ff)-carbox late (14.5 mg, 0.047 mmol), XPhos Pd G2 (2.0 mg, 2 5 mihoΐ), and CS2CO3 (38.2 mg, 0.12 mmol) in 1 ,4-dioxane (1 mL) and water (0.2 mL) was degassed and stirred at 90 °C for 2 h. The reaction mixture was then cooled to room temperature, and concentrated under reduced pressure. The resulting residue was purified by flash chromatography on a silica gel column eluting with 0 to 100% EtOAc in hexanes to afford the desired product. LC-MS calculated for CsrH +j NsOs (M+H) + : rn/z =

613.3 ; found 613.3.

Step 7: 5-Amino-8-(l-carbamoyl-l,2,3,6-telrah dropyridin-4-yl)-N-elhyl-7- phenylimidazo[l,2-c]pyrimiaine~2-carboxamide

In a 10 mL reaction vial, ler!-butyl 4-(5-(2,4-dimethoxybenzylamino)-2-

(ethylcarbamoyl)-7-plienylimidazo[l,2-c]pyrimidin-8-yi)-5 ,6-dihydropyridine-l(2H)- carboxylate (20.0 mg, 0.033 mmol) was dissolved in 1 mL of TFA. The reaction mixture was stirred at 70 °C for 10 min, cooled to room temperature, concentrated and quenched with saturated NaHCCL solution. The resulting mixture was extracted with 3 : 1 DCM/IPA, and the combined organic layers were washed with brine, dried over aiSO , filtered and concentrated under reduced pressure. The resulting residue was dissolved in DCM (1 mL), and isocyanatotrimethylsilane (7.5 mg, 0.065 mmol) was added. The resulting mixture was stirred for 4 h, concentrated and purified by prep- LC-MS (pH = 2, MeCN/water with TFA) to give the desired product as the TFA salt. LC-MS calculated for C21H2 + N7O2 (M+H) + : m/z = 406.2; found 406.2. Example 16. 5-Amino-8-(l-carbamoylpiperidin-4-yl)-A-ethyI-7-pheiiylimida zo|l,2- c] pyrimidine- 2-carboxamide

In a 10 mL reaction vial, 5-amino-8-(l-carbamoyl-l,2,3,6-tetrahydropyridin-4-yl)-iV- ethyi~7-phenylimidazo[l ,2-c]pyrimidine-2 -carboxamide TFA salt (prepared in Example 15)

(10.0 mg, 0.020 mmol) and palladium hydroxide on carbon (10 wt%, 3.7 mg, 2.3 pmol) were dissolved in 1 mL of MeOH. The reaction mixture was then stirred at 50 °C for 5 h under 1 atm of H 2 . After completion, the reaction mixture was filtered and purified by prep- LC-MS (pH = 2, MeCN/water with TFA) to give the desired product as the TFA salt. LC-MS calculated for C21H26N7O2 (M+H) + : m/z = 408.2; found 408 2.

Example 17, 5-Amino-7-(3-c anophenyI)-iV-ethyI-3-(2-hydroxyethoxy)-8-(2- methoxypyridin-4-yl)imidazo[l,2-c]pyrimidiiie-2-carboxaimde

Bis(di-/er/-butyl(4-dimethylamiiiophenyl)phosphine)dichlorop alladium(II) (1.0 g, 5 mol%) w¾s added to a mixture of 6-chloro-2-(methylthio)pyrimidin-4-amine (Combi-Blocks, cat# ST-1384) (5.0 g, 29 mmol), (3-cyanophenyl)boronic acid (8.4 g, 57 mmol) and cesium carbonate (37 g, 114 mmol) in toluene (100 mL) and water (10 mL) The mixture was purged with nitrogen, and then stirred at 115 °C for 16 h. The reaction mixture was cooled to room temperature, filtered through a Celite plug with DCM and concentrated under reduced pressure. Water (200 mL) was added to the residue and the resulting solid was collected by filtration, and then dried to give the desired product (6.5 g, 94 %), which was used in the next step without further purification. LC-MS calculated for CnHi N + S (M+H) + : m/z = 243.1; found 243.2.

To a solution of 3-(6-amino-2-(methylthio)pyrimidin-4-yl)benzonitrile (6.5 g, 27 mmol) in DMSO (55 ml,), MeCN (30 ml,) and water (1.8 mL) at 0 °C was added N- bromosuccmimide (4.8 g, 27 mmol). The reaction mixture was stirred for 2 h at room temperature before water (200 mL) was added. The resulting precipitate was collected by filtration, and then dried to give the desired product (8.6 g, 99 %), which -was used in the next step without further purification. LC-MS calculated for CnHioBrlSUS (M+H) + : m/z = 321.0; found 321.1.

Step 3: Ethyl 8-bromo- 7 -(3-cyanophenyl)-5-(methylthio)imidazo[L2-cj pyrimidine-2- carboxylaie

To a solution of 3-(6-ammo-5-bromo-2-(meihylthio)pyrimidin-4-yi)benzonitrile (2.0 g, 6.2 mmol) in DME (26 mL) was added ethyl 3-hromo-2~oxopropanoate (2.3 mL, 19 mmol). The reaction mixture was stirred at 110 °C for 3 h before the volatiles were removed under reduced pressure. The resulting solid was collected by filtration, washed with Et>;0 (100 mL), and dried to give the desired product as HBr salt (1.4 g, 54 %). LC-MS calculated for CnHiiBrNiCLS (M+H) + : m/z = 417.0; found 417.0.

Step 4: Ethyl 8-bromo-7~(3-cycmophenyl)-5-(2,4~dimethoxybenzylcmino)imidaz o/l,2- clpyrimidine-2-carboxylate

To a solution of ethyl 8-bromo-7-(3-cyanophenyl)-5-(methylthio)imidazo[l,2- c]pyrimidine-2-carboxy3ate hydrobromide (1.4 g, 3.4 mmol) in DCM (170 ml) at 0 °C was added a solution of JWCPBA (1.6 g, 6.4 mmol, 70%) in DCM (15 mL) dropwise. The solution was stirred at room temperature for 2 h. Following complete consumption of starting material, (2,4-dimethoxyphenyl)methanamine (1.02 ml, 6.8 mmol) in DCM (15 mL) was added and the suspension was stirred for 2 h. The reaction mixture was then washed with saturated NaHCCL solution (100 mL), water (100 mL), and brine (50 mL). The organic layer was dried over MgSCL, filtered and concentrated under reduced pressure. The resulting material was purified by column chromatography eluting with 0-100% EtO Ac/hexanes to give the desired product (1.4 g, 54%). LC-MS calculated for CzslfeBrNsG t (M+H) + : m/z = 536 1; found 536.2

[l,r-bis(dicyclohexylphosphino)ferrocene]dichloropalladium(T I) (230 mg, 10 mol%) was added to a mixture of ethyl 8-bromo-7-(3-cyanophenyl)-5-(2,4- dimethoxybenzyiammo)imidazoil,2-c]pyrimidine-2-carboxyTate (1.7 g, 3.1 mmol), 2- methoxypyridin-4-ylboronic acid (570 mg, 3.7 mmol), and cesium carbonate (1.7 g, 5.2 mmol) in ferf-butanol (13 mL) and water (2.6 mL). The reaction mixture was purged with nitrogen, and stirred at 120 °C for 3 h. The reaction mixture was then cooled to room temperature, filtered through a Celite plug with DCM and concentrated under reduced pressure. The resulting material w¾s purified by column chromatography eluting with 0-100% EtG Ac/hexanes to give the desired product (370 mg). LC-MS calculated for CsTLsNeOs (M-t-H) + : m/z = 565.2; found 565.4. Step 6: 5-Amino- 7-(3-cyanophenyl)-N-ethyl-8-(2-methoxypyridin-4-yl)imidazo[ 1, 2- c]pyrimidine-2-carboxamide

T o ethyl 7-(3 -cy anopheny l)-5 -(2,4-dimethoxy benzy lamino)-8-(2-methoxypyridin-4- yl)imidazo[l,2-c]pyrimidine-2-carboxylate (370 mg, 0.65 mmol) was added ethanamine (3 3 mL, 2 M in MeOH). The solution was stirred at 85 °C in a sealed vial for 16 h, cooled to room temperature and the volatiles were removed under reduced pressure. TFA (2.0 mL) was added to the residue and the mixture was stirred at 100 °C for 10 min in a sealed vial. The reaction mixture was then cooled to room temperature, and the volatiles were removed under reduced pressure. The product was purified by column chromatography eluting with 0-10% MeOH/DCM containing 0.5% triethylamine. LC-MS calculated for C 22 H 20 N 7 O 2 (M+H) : m/z = 414.2; found 414.3.

Step 7: 5-Amino-3-bromo-7-(3-cyanophenyl)-N-ethyl-8-(2-methoxypyridi n-4-yl)imidazo[l ,2- c]pyrimidine-2-carboxamide

To a solution of 5-amino-7-(3-cyanophenyl)-/V~ethyl-8~(2-methoxypyridin-4~ yl)imidazo[L 2 -c]pyrimidine-2 -carboxamide (110 mg, 0.27 mmol) in DMF (0.5 ml.) at 0 °C was added LG-bromosuccinimide (47 mg, 0.27 mmol). The reaction mixture was stirred for 2 h at room temperature before water (1.0 mL) was added. The resulting precipitate was collected by filtration, and dried to give the desired product, which was used in the next step without further purification. LC-MS calculated for ( ,P ,,BGN (). ( \i ! i ) : m/z = 492.1; found 492, 1. Step 8: 5-Amino-7-(3-cyanophenyl)-N-ethyl-3-(2-hydroxyethoxy)-8-(2-m ethoxypyridin-4- yl)imidazofl ,2-cjpyrimidine-2-carboxamide

To a reaction vial was added copper(I) iodide (1.2 mg, 6.1 mhioΐ), 3, 4,7,8- tetramethyl-l,10~phenanthroline (2.9 mg, 0.01 mmol), 5-amino-3-bromo~7-(3-cyanophenyi)~ A'-ethyl-8-(2-methoxypyridin-4-yl)imidazo[L2-c]pyrimidine-2 -carboxamide (30 mg, 0.06 mmol), and cesium carbonate (30 mg, 0.09 mmol). The reaction vial was flushed with nitrogen and fitted with a rubber septum. Toluene (0.2 mL) and ethane-1, 2-diol (0.17 mL, 3.1 mmol) were added and the rubber septum was replaced with a Teflon-lined cap. The reaction mixture rvas stirred at 1 10 °C for 24 h cooled to room temperature, diluted with ethyl acetate (2 mL), and filtered through a plug of silica gel. The filtrate wus concentrated and purified by prep-LCMS (pH = 2, MeCN / ' water with TFA) to give the desired product as the TFA salt LC-MS calculated for C 24 H 24 N 7 O 4 (M+H) + : m/z - 474.2; found 474.2.

Example 18. 5-Amino-7-(3-cyanophenyl)- V-ethyl-8-(2-methoxypyridiii-4-yl)-3- methylimidazo[1 ^2-cJpyrimidine-2-carboxamidc

To a mixture of 5-amino-3-bromo-7-(3-cyanophenyl)-jV-ethyl-8-(2-methoxypyrid m-

4-yl)imidazo[l ,2-c]pyrimidine-2-carboxamide (prepared in Example 17, Step 7) (40 rng, 0.08 mmol) and [l ,r-Bis(diphenylphosphino)ferrocene]dichloropalladium(II), complex with dichiorome thane (3.3 mg, 4.1 pmol) in 1,4-dioxane (0.50 mL) under nitrogen atmosphere was added dime thy lzinc in toluene (0.27 mL, 1.2 M) dropwise. The resulting mixture was stirred at 90 °C overnight, cooled to room temperature, diluted with DCM (5 mL) and filtered through a Celite plug. The filtrate was concentrated under reduced pressure and the crude material was purified by prep-LCMS (pH = 2, MeCN/water with TFA) to give the desired product as the TFA salt. LC-MS calculated for C23H22N7O2 (M+1TF: m/z = 428.2; found 428.2.

Example 19. 5-Amino-7-(3-cyanophenyl)- V-ethyl-8-(2-inethoxypyridiii-4-yl)-3-(pyridin- 2-yl)imidazo[l,2-c]pyrimidine-2-carboxamide

Bis(triphenylphosphine)palladium(lI) chloride (4.3 mg, 6.1 mihoΐ) was added to a m ixture of 5-ammo-3-bromo-7-(3-cyanophenyl)-/V-ethyl-8-(2-methoxypyridi n-4- yl)imidazo[l,2-c]pyrimidine-2 -carboxamide (prepared in Example 17, Step 7) (30 mg, 0.06 mmol) and 2-(tributyTstannyl)pyridine (0.05 mL, 0.12 mmol) in DMF (0.5 mL). The reaction mixture was purged with nitrogen and then stirred at 100 C C for 5 h. After cooling to room temperature, the mixture was diluted with DCM (5 mL) and fdtered through a Celite plug. The filtrate was concentrated under reduced pressure and the crude material was purified by prep-LCMS (pH = 2, MeCN/water with TFA) to give the desired product as the TFA salt. LC-MS calculated for C T ifeNgOz (M+H)C m/z = 491.2; found 491.2.

Example 20. 5-Amino-3-bromo-8-(2,6-dimethylpyridin-4-yl)-iV-ethyI-7- phenyIimidazo[l,2-c]pyrimidine-2-carboxamide

[l, -bis(dicyclohexylphosphino)ferrocene]dichloropalladium(II) (400 mg, 10 moi%) was added to a mixture of ethyl 8-bromo-5-((2,4-dimethoxybenzyl)amino)-7- phenylimidazo[l,2-c]pyrimidine-2-carboxyiate (prepared in Example 15, Step 4) (2.7 g, 5.3 mmol), (2,6-dimetliylpyridin-4-yl)boronic acid (1.2 g, 7.9 mmol), and cesium carbonate (3.4 g, 11 mmol) in /en'-butanol (20 mL) and water (3.8 mL). The mixture was purged with nitrogen, and then stirred at 120 °C for 1.5 h. The reaction mixture was cooled to room temperature, filtered through a Celite plug with DCM and concentrated under reduced pressure. The resulting material was purified by column chromatography eluting with 0-20% MeOH/DCM to give the desired product (2.8 g, 99%). LC-MS calculated for C 3J H 32 N 5 O 4 (M+H) + : m/z = 538.2; found 538.3. Step 2: 5-(2,4-Dimethoxybenzylamino)-8-(2,6-dime(hylpyridin-4-y!)-7- phenylimidazo[},2- clpyrimidine-2-carhoxyiic acid

To a solution of ethyl 5-(2,4-dimethoxybenzylamino)~8-(2,6-diinethylpyridin-4-yl)-7 ~ phenylimidazo[l,2-c]pyrimidine-2-carboxylate (1.0 g, 1.9 mmol) in THF (3.9 mL) was added lithium hydroxide (0.18 g, 7.4 mmol) and water (3.9 mL). The resulting mixture 'as stirred at 50 °C for 16 h. After cooling to room temperature, water (2.0 mL) was added and the pH was adjusted using 1 N HC1 to pH 2. The resulting precipitate was collected by filtration, washed wuth water and dried to afford the crude product, which was used in the next step without further purification. LC-MS calculated for C 29 H 28 N 5 O 4 (M+H) : m/z = 510.2; found 510.2. Step 3: 5 -Amina-8- (2, 6-dimethylpyridm-4-yl)-N-ethyl-7-phenylimidazo[l,2-c] ' pyrimidine-2- carboxamide

To a solution of 5-(2,4-dimethoxybenzylamino)-8-(2,6-dimethylpyridin-4-yl)-7- phenylimidazo[l,2-c]pyrimidine-2-carboxylic acid (0.95 g, 1.9 mmol) in DMF (17 mL) was added triethylamine (0.78 mL, 5.6 mmol). The solution was stirred for 5 min before the addition of BOP (1.2 g, 2,8 mmol) and ethanamine (9.3 mL, 2 M in THF). The reaction mixture was then stirred at room temperature for 30 min, quenched with water (20 mL), and extracted with EtOAc (5 x 30 mL). The combined organic layers were washed with water (50 mL) and brine (30 mL), dried with MgSO + , and concentrated under reduced pressure. To the resulting residue was added TFA (3.0 mL), and the reaction mixture was stirred at 100 °C for 10 mm. After cooling to room temperature, the volatiles were removed under reduced pressure to afford the crude product, which was used in the next step without further purification LC-MS calculated for C 2 H 23 N 6 O (M+H) : m/z = 387.2; found 387.3. Step 4: 5-Amino-3-bromo-8-(2, 6-dime thylpyridin- 4-yi ) -N -ethyl- 7-phenylimidazofl , 2- c]pyrimidine-2-carboxamide

To a solution of 5-amino-8-(2,6-dimethylpyridin-4-yl)-A r -ethyi-7~phenyiimidazo[l,2- c]pyrimidine-2 -carboxamide (700 mg, 1.8 mmol) in DMSG (3.6 mL)/'MeCN (1.9 mL)/waier (0.12 ITIL) at 0 °C was added iV-bromosuccinimide (320 mg, 1.8 mmol). The reaction mixture was stirred for 2 h at room temperature, at which point water (20 mL) was added and the desired product was collected by filtration. The product was purified by prep-LCMS (pH = 2, MeCN/water with TFA) to give the desired product as the TFA salt. LC-MS calculated for C , i l . · ih-M-.O (M+H) + : m/z - 465.1; found 465.1.

Example 21. 5-Amino-3-cyano-8-(2,6-dimethyIpyridin-4-yl)-./V-ethyl-7- phenylimidazo[l,2-c]pyrimidine-2-carboxamide

To a microwave vial was added copper(I) cyanide (8.7 mg, 0.10 mmol) and 5-amino- 3-bromo-8-(2,6-dimethylpyridin-4-yl)-/V-ethyl-7-phenylimidaz o[l,2-c]pyrimidiiie-2- carboxamide (prepared in Example 20) (30 mg, 0.06 mmol) in DMF (0.30 mL). The vial was flushed with nitrogen and sealed before being heated in a microwave reactor at 180 °C for 10 min. After cooling to room temperature, the reaction mixture was diluted with NH + GH (1 mL) and H 2 0 (1 mL), and extracted with EtOAc (3 x 5 mL). The combined organic layers were dried over MgSO + , filtered, and concentrated under reduced pressure. The resulting material was purified by prep-LCMS (pH = 2, MeCN/water with TFA) to give the desired product as the TFA salt. LC-MS calculated for C23H22N7O (M+H) + : m/z = 412.2; found 412.2.

Example 22. 8-(2,6-DimethyIpyridin-4-yl)-A L ethyl-5-(ethylamino)-7-phenylimidazo[l,2- c]pyrimidine-2-carboxamide

[l,l’~bis(dieyelohexylphosphino)ferrocenejdichloropalladiu m(ii) (510 mg, 10 mol%) was added to a mixture of 5-bromo-2-(methylthio)-6-phenylpyrimidin-4-amine (prepared in Example 15, Step 2) (2.0 g, 6.8 mmol), (2,6-dimethylpyridin-4-yl)boronic acid (1.5 g, 10 mmol), and cesium carbonate (4.4 g, 14 mmol) in /erf-butanol (25 mL) and water (5.0 mL). The mixture was purged with nitrogen, and then stirred at 120 °C for 2 h. The reaction mixture was cooled to room temperature and filtered through a Ceiite plug. The filtrate was concentrated under reduced pressure and purified by flash chromatography on a silica gel column eluting with 0-100% EtO Ac/hexanes to give the desired product (440 mg, 20%). LC- MS calculated for C I8 H I9 N 4 S (M+H) + : m/z = 323.1; found 323.1.

Step 2: Ethyl 8-(2,6-dimethylpyridin-4-yl)-5-(methyUhio)-7-phenylitnidazo[ J2-c]pyrimidim- 2-carboxylate

To a solution of 5-(2,6-dimethylpyridin-4-yl)-2-(methylthio)-6-phenylpyrimidi n-4- amine (800 mg, 2.5 mmol) in DME (10 mL) w¾s added ethyl 3-bromo-2-oxopropanoate (0.93 mL, 7.4 mmol). The reaction mixture was stirred at 110 °C for 2 h before the volatiles were removed under reduced pressure. The resulting residue was diluted with DCM (20 mL), washed with saturated NaHCCL solution (20 mL), water (20 mL) and brine (10 mL), dried over MgSCL, filtered, and concentrated under reduced pressure. The resulting material was purified by column chromatography eluting with 0-20% MeOH/DCM to give the desired product (1.0 g, 99%). LC-MS calculated for C23H23N4O2S (M+IT) i : m/z = 419.2; found 419.1. Step 3: 8-(2,6-Dimethylpyridin-4-yl)-N-ethyl-5-(ethylamino)-7-phenyl imidazo[h2- cjpyrimidine-2-carboxamide

Ethyl 8-(2,6-dimethylpyridm-4-yl)-5-(methylthio)-7-phenylimidazo[l ,2- cJpyrimidine-2-carboxylate (100 mg, 0.24 mmol) was suspended in a solution of ethanamine (1.2 mL, 2 M in MeOH) and heated at reflux for 16 h. After cooling to room temperature, the solvent was removed under reduced pressure and the resulting material was purified by prep- LCMS (pH = 2, MeCN/water with TEA) to give the desired product as the TEA salt. LC-MS calculated for C24H27N6G (M+H) + : m/z = 415.2; found 415.1.

Example 23. 4-(5- Amino-2-(ethylcarbamoyl)- 7-phenylimidazo [1 ,2-c] pyrimidin-8-yl)-2,6- dimethylpyridine 1 -oxide

Step 1 : 4-(2-(Ethoxycarbony>l)-5-(methylsulfonyl)- 7-phenylimidazo[L2-c]pyrimidin-8-yl)-2, 6- dimethylpyridine 1 - oxide

To a mixture of ethyl 8-(2,6~dimethyipyridin-4-yl)-5-(methylthio)~7- phenylimidazo[l,2-c]pyrimidine-2-carboxylate (prepared in Example 22, Step 2) (50 mg, 0.12 mmol) in DCM (10 mL) at 0 °C was added HJCPBA (88 mg, 0.36 mmol). The resulting solution was stirred at room temperature for 3 h, and then the volatiles were removed under reduced pressure. The resulting residue was taken up in EtOAc (20 mL), washed with a mixture of saturated Na2S2(¾ solution (10 mL) and saturated NaHCCh solution (10 mL), and then brine (10 mL). The organic layer rvas dried over MgSCfi and concentrated under reduced pressure to afford the crude product, which was used in the next step without further purification. LC-MS calculated for C 23 H 23 N 4 O 5 S (M+H) + : m/z = 467.1; found 467.1.

Step 2: 4-(5-Amino-2-(ethoxycarbonyt)-7-phenylimidazo[l ,2-c]pyrimidin~8-yl)-2,6- dimethylpyridine 1 - oxide

To a solution of 4-(2-(ethoxycarbonyl)-5~(methylsulfonyl)-7-phenylimidazojl,2 ~ c]pyrimidi:o~8-yl)-2,6 dimethylpyridine 1 -oxide (54 mg, 0.12 mmol) in acetonitrile (1.0 mL) was added concentrated ammonium hydroxide (0.09 mL, 14 M). The reaction mixture was stirred at room temperature for 30 min before the volatiles were removed under reduced pressure. The resulting material was purified by prep-LCMS (pH = 10, MeCN/water with NH 4 OH) to give the desired product as the free base. LC-MS calculated for C22H22N5O3 (M+H) + : m/z = 404.2; found 404.2.

Step 3: 4-(5-Ammo-2-(ethylcarbamoyl)-7-phenylimidazo[l,2-c]pyrimidin -8-yi)-2,6- dirnethyipyridine 1 -oxide

4-(5-Amino-2-(ethoxycarbonyl)-7-phenylimidazo[l,2-c]pyrimidi n-8-yl)-2,6- dimethylpyridine 1 -oxide (15 mg, 0.03 mmol) was suspended in a solution of ethanamine (1.0 mL, 2 M in methanol) and heated at reflux for 1 h. After cooling to room temperature, the solvent was removed under reduced pressure and the product was purified by prep-LCMS (pH = 2, MeCN/water with TFA) to give the desired product as the TFA salt. LC-MS calculated for C22H23N6O2 (M+H) : m/z = 403.2; found 403.1.

Example 24. 3-(5-Amino-8-(l-ethyl-6-oxo-l,6-dihydropyridin-3-yl)-2-(3- hydroxyazetidine-l-carbonyl)imidazo[l ,2-c]pyrimidin-7-yI)benzonitrilc

Step 1 : 3-(8-Bromo-5-(2, 4-dimethoxybenzylamino)-2-(3-hydroxyazetidine-l-

Ethy i 8-bromo-7-(3-cy anopheny l)-5-(2,4-dimethoxy benzy lamino)imidazo[l ,2- c]pyrimidine-2-carboxylate (prepared in Example 17, Step 4) (100 mg, 0.186 mmol) in

MeOH (2 niL), THE (2 mL), and water (1 mL) was added LiOH (17.9 mg, 0.75 mmol). The reaction mixture was stirred at 45 °C for 2 h, and the solvent was removed under reduced pressure. The resulting residue was dissolved in DMF (3 mL), followed by the addition of azetidin-3-ol (27.3 mg, 0.37 mmol), iY-ethyl-iY-isopropylpropan-2-amine (98 mE, 0.56 mmol), and HATIJ (142 mg, 0.37 mmol). The reaction mixture was stirred at room temperature overnight before 10 mL of water was added. The precipitated solid was collected and dried to afford the desired product as a yellow solid LC-MS calculated for C 26 H 24 BrN 6 0 4 (M+H) + ; m/z = 563.1 ; found 563.1.

Step 2: 3-(5-Amino-8-(l-ethyl-6-oxo-l,6-dihcydropyridin-3-yl)-2-(3- ydroxycaetidine-l- carbonyl)imidazo[1,2-c]pyrimidin-7-yl)benzonitrile

A mixture of 3-(8-bromo-5-(2,4-dimethoxy benzy lamino)-2-(3-hy droxyazetidine-i- carbQnyi)imidaza[i,2~c]pyrimidm-7-y!)benzanitrile (20 mg, 0.048 mmol), 1 -ethyl-5-(4, 4,5,5- tetrameiliyl-l,3,2-dioxaboro{an-2-yi)pyridin-2(l/7)-one (14.5 mg, 0.058 mmol), XPhos Pd G2 (2.0 mg, 2.5 mihoΐ), and CS2CO3 (47 mg, 0.15 mmol) in 1 ,4-dioxane (1 mL) and water (0.2 mL) was degassed and sealed. The reaction was stirred at 90 °C for 2 h, cooled to room temperature, and concentrated. To the resulting residue, 1 mL of TFA was added, and the resulting mixture was stirred at 70 °C for 30 min. After completion, the reaction mixture was concentrated, diluted with methanol, and purified with prep- LC-MS (pH = 2, MeCN/water with TFA) to give the desired product as a TFA salt. LC-MS calculated for C24H22N7O3 (M+H) + : m/z = 456.2; found 456.2. Example 25. 5-Amino-7-(3-cyanophenyl)-8-(l-ethyl-6-oxo-l,6-dihydropyridi n-3-yl)-A-(l-

(2-hydroxyethyI)-l//-pyrazol-4-yl)imidazo[l,2-e]pyrimidin e-2-carhoxamide

This compound was prepared using similar procedures as described for Example 24 with 2-(4-ammo-l f-pyrazol- l-yl)ethanol (AstaTech Product List #50515) replacing azetidin- 3-ol in Step 1 The product was purified by prep- LC-MS (pH = 2, MeCN/water witli TFA) to give the desired product as a TFA salt. LC-MS calculated for CLsILdShOs (M+H) : m/z = 510.2; found 510.2.

Example 26. 5-Amino-7-(3-cy anophenyl)-iV-ethyI-8-(pyridin-4-yl)imidazo[l ,2- c] pyrimidine- 2-carboxamide

A solution of 6-chloropyrimidine-2, 4-diamine (2 g, 13.8 mmol) and ethyl 3-bromo-2- oxopropanoate (2.6 ml, 20.8 mmol) in DME (50 ml) was stirred at 70 °C overnight. After completion, the reaction was cooled to room temperature and the solid rvas collected by filtration. The crude solid was dissolved in hot methanol (25 mL) and the desired product was recrystallized by slowly cooling the solution to room temperature. The product was filtered, washed with EtQAc, and dried to give the desired product. LC-MS calculated for

C9H10CIN4O2 (M+H : m/z - 241.0; found 241.1.

A mixture of ethyl 5-amino-7-chloroimidazo[l,2-c|pyrimidine-2-carboxylate (0.60 g, 2.49 mmol), (3 -cy anopheny l)boronic acid (0.44 g, 2.99 mmol), XPhos Pd G2 (0.098 g, 0.125 mmol) and sodium carbonate (0.53 g, 4.99 mmol) in 1 ,4-dioxane (50 mL) and water (5.0 mL) was purged with nitrogen and then stirred at 100 °C for 1 h. After being cooled to room temperature, the reaction mixture diluted with EtOAc, washed with brine, dried over Tia SCfi, filtered, and concentrated under reduced pressure. Light yellow solid precipitated from the solution, which was filtered and dried to afford the desired product. LC-MS calculated for C ; -.H ! : X '().·· ( XI I S ) : m/z = 308.1 ; found 308.1.

To a solution of ethyl 5-amino-7-(3-cyanophenyl)imidazo[l,2-c]pyrimidine-2- earboxyiate (2.3 g, 7.48 mmol) in DMF (50 ml) was slowly added a solution of N- bromosucciniiuide (1.33 g, 7.48 mmol) in DMF (5.0 mL) at 0 °C. The reaction mixture was then stirred at room temperature for 2 h before water (TOO mL) was added. The resulting light yellow solid was collected by filtration and dried to obtain the desired product (2.3g, 80%).

LC-MS calculated for Ci & HisBrN^ (M+H) + : rn/z = 386.0 ; found 386.0.

Alternatively, this compound can be prepared using the following procedure: to a solution of ethyl 8-bromo-7-(3 ~cy anopheny l)-5 -(methy lthio)unidazo [ 1 ,2-c jpy rimidine-2- carboxylate (prepared in Example 17, Step 3) (2.40 g, 5.75 mmol) in DCM (100 ml.) was added a solution mCPBA (77%, 1.93 g, 8.63 mmol) in DCM (30 mL) this solution was dried over anhydrous magnesium sulfate through an addition funnel at room temperature for 30 minutes. The reaction mixture was then stirred for 4 h, and quenched by bubbling NH 3 gas via cannula for Hi. The reaction mixture was then concentrated under reduced pressure to give a crude mixture, which was poured into a saturated NaHC<¾ solution (150 mL). The resulting solid was collected by filtration, washed with wuter and hexanes, and dried to afford the desired product as a brown solid (1.9 g, 86%). LC-MS calculated for CisHisBrNsCL (M+H) T : m/z = 386.0; found 386.0. Step 4: 5~Amino-8-bromo-7-(3-cyanophenyi)-N-elhy!imidazo[i,2-cJpyrim idine~2- carboxamide

To a mixture of ethyl 5-amino-8-bromo-7-(3-cyanophenyl)imidazo[l,2-c]pyrimidine- 2-carboxylate (1.00 g, 2.59 mmol) in MeOH (20 mL), THF (20 raL), and water (10 mL) was added LiOH (124 mg, 5.18 mmol). The reaction mixture was stirred at room temperature for 2 h, and the solvent was removed under reduced pressure. Tire resulting residue was dissolved in DMF (30 mL), followed by the addition of ethylamine solution (2.1 mL, 25.9 mmol, 70% in water), triethyl amine (1.08 mL, 7.77 mmol), and BOP (2.29 g, 5.18 mmol). The reaction mixture was stirred at room temperature overnight before 100 mL of water was added. The resulting solid was collected by filtration and dried to afford the desired product as a yellow' solid (0.77g). LC-MS calculated for CieHuBrNeO (M+H) + : m/z = 385.0; found 385.1.

Step 5: 5-Amino-7-(3-cyanophenyl)-N-ethyl-8-(pyridin-4-yl)imidazo[L2 -cj pyrimidine- 2- carboxamide

A mixture of 5-amino-8-bromo~7-(3-cyanopfaeny{)~N-ethyiimidazo[l,2-c]pyri midine~ 2-carboxamide (10.0 mg, 0.026 mmol), pyridin-4-ylboronic acid (4.8 mg, 0.039 mmol),

XPhos Pd G2 (2.0 nrg, 2.51 pmol), and NazCOs (8.3 mg, 0.078 mmol) in 1,4-dioxane (1.5 mL) and rvater (0.15 mL) was degassed and sealed. The reaction mixture w¾s stirred at 110 °C for 1 h, cooled to room temperature, diluted with MeOH, and purified with prep- LC-MS (pH = 2, MeCN/water with TFA) to give the desired product as a TFA salt. LC-MS calculated for C21H18N7O (M+H) + : m/z = 384.2; found 384.2.

Example 27, 5-Amino-7-(3-cyanophenyl)-iV-ethyl-8-(3-methylpyridin-4-yl)i midazo[l ,2- cjpyrimidine- 2-carboxamide

This compound was prepared using similar procedures as described for Example 26 with 3-methylpyridin-4-ylboronic acid replacing pyridin-4-ylboronic acid in Step 5. The product was purified by prep- LC-MS (pH = 2, MeCN/water with TFA) to give the desired product as a TFA salt. LC-MS calculated for C22H20N7O (M+H) + : m/z = 398.2; found 398.2. Example 28. 5-Amino-7-(3-cyanophenyI)-iV-ethyI-8-(3-fluoropyridin-4-yl)i imdazo[l,2- c] pyrimidine- 2-carboxamide

This compound was prepared using similar procedures as described for Example 26 with 3-fluoropyridin-4-ylboronic acid replacing pyridin-4-ylboronic acid in Step 5. The product was purified by prep- LC-MS (pH = 2, MeCN/water with TFA) to give the desired product as a TFA salt. LC-MS calculated for C 21 H 17 FN7O (M+H) + : m/z = 402.1 ; found 402.2

Example 29, 5-Amino-7-(3-cyanophenyl)-iV-ethyI-8-(3-chloropyridin-4-yl)i midazo[l ,2- c] pyrimidine- 2-carboxamide

This compound was prepared using similar procedures as described for Example 26 with 3-chloropyridm-4-ylboronic acid replacing pyridin-4-ylboronic acid in Step 5 The product was purified by prep- LC-MS (pH = 2, MeCN/water with TEA) to give the desired product as a TFA salt. LC-MS calculated for C 21 H 17 CIN 7 O (M+H) + : m/z = 418.1; found 418 2

Example 30. 5-Amino-7-(3-cyanophenyl)-A r -ethyl-8-(3-methoxypyridin-4-yl)imidazo[l,2- c]pyrimidine-2-carboxamide

This compormd was prepared using similar procedures as described for Example 26 with 3-methoxypyridin-4~yiboronie acid replacing pyridin-4-ylboronic acid in Step 5. Tire product was purified by prep- LC-MS (pH = 2, MeCN/water with TFA) to give the desired product as a TFA salt. LC-MS calculated for C 22 H 20 N 7 O 2 (M+H) + : m/z = 414.2; found 414.2 Example 31. 5-Amino-7-(3-cy anophenyI)-iV-ethyI-8-(3-cyanopyridin-4-yl)imidazo[l ,2- c] pyrimidine- 2-carboxamide

This compound was prepared using similar procedures as described for Example 26 with 4-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)nicotinonitri le replacing pyridin-4- ylboronic acid in Step 5. The product was purified by prep- LC-MS (pH = 2, MeCN/water with TFA) to give the desired product as a TFA salt. LC-MS calculated for C22H17N8O (M+H) + : ffl/z = 409.2; found 409.2.

Example 32. 5-Amino-8-(4-carbamoylphenyl)-7-(3-cyanophenyl)-/V-ethyIimid azo[l,2- c]pyrimidine-2-carboxamide

This compound was prepared using similar procedures as described for Example 26 with (4-carbamoylphenyl)boronic acid replacing pyridin-4-ylboronic acid in Step 5. The product was purified by prep- LC-MS (pH = 2, MeCN/water with TFA) to give the desired product as a TFA salt. LC-MS calculated for C23H20N7O2 (M+H) + : m/z = 426.2; found 426.2.

Example 33, 5-Amino-7-(3-cyanophenyl)-iV-ethy!-8-(pyrazolo[l » 5-a]pyridin-3- yl)imidazo[l,2-c]pyrimidine-2-carboxamide

This compound was prepared using similar procedures as described for Example 26 with 3-(4,4,5,5-ietramethyi-l,3,2-dioxaborolan-2-yl)pyrazolo[L5-o ]pyridine replacing pyridin-4-yiboronie acid in Step 5. The product was purified by prep- LC-MS (pH = 2, MeCN/water with TFA) to give the desired product as a TFA salt. LC-MS calculated for ( d ϊ ! ·,\cO { M i l s m/z - 423.2; found 423.2. Example 34. 5-Amino-7-(3-cyanophenyl)-iV-ethyI-8-(5-methyl-l.ff-pyrazol- 4- yl)imidazo[l,2-c]pyrimidine-2-carboxamide

This compound was prepared using similar procedures as described for Example 26 with 5-methyl-4-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-l/ -pyrazole replacing pyridin-4-ylboronic acid in Step 5. The product was purified by prep- LC-MS (pH = 2, MeCN/water with TFA) to give the desired product as a TFA salt. LC-MS calculated for ίM ί ,L ,ϋ (M+H) + : m/z = 387 2; found 387 2

Example 35. 5-Amino-7-(3-cyanophenyl)- /V-ethyl-8-(l -ethyl- liT-pyrazol-5- yl)imidazo[l,2-c]pyrimidine-2-carboxamide

This compound was prepared using similar procedures as described for Example 26 with l-ethyl-5-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)- 1/f-pyrazole replacing pyridin- 4-ylboronic acid in Step 5 The product was purified by prep- LC-MS (pH = 2, MeCN/water with TFA) to give the desired product as a TFA salt. LC-MS calculated for CSfLiNgG (M+H) + : m/z = 401.2; found 401.2.

Example 36. 5-Amino-7-(3-cyanophenyl)-iV-ethyi-8-(l-isopropyl-lfl-pyrazo i-5-

This compound was prepared using similar procedures as described for Example 26 with l-isopropyl-5-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)- l /-pyrazole replacing pyridin-4-ylboronic acid in Step 5. The product was purified by prep- LC-MS (pH = 2, MeCN/water with TFA) to give the desired product as a TFA salt. LC-MS calculated for C H NXA) (M+H) + : m/z = 415 2; found 415 2 Example 37. 5-Amino-7-(3-cyanophenyI)-iV-ethyI-8-(l-piOpyl-l.ff-pyrazol- 5- yl)imidazo[l,2-c]pyrimidine-2-carboxamide

This compound was prepared using similar procedures as described for Example 26 with l-propyl-5-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-l f-pyrazole replacing pyridin- 4- lboronic acid in Step 5. The product was purified by prep- LC-MS (pH = 2, MeCN/ water with TFA) to give the desired product as a TFA salt. LC-MS calculated for C 22 H 23 N 8 O (M+H) + : ffl/z = 415.2; found 415.2.

Example 38. 5-Amino-7-(3-cyanophenyl)-A r -ethyl-8-(pyrimidin-4-yl)imidazo[l,2- c]pyrimidine-2-carboxamide

A mixture of 5-amino-8-bromo-7-(3-cyanophenyl)-/V-elhylimidazo[l,2-c]pyri midine- 2 -carboxamide (prepared in Example 26. Step 4) (50 mg, 0.13 mmol), 4- (tributylstann l)pyrimidine (96 mg, 0.260 mmol), tetrakis(triphenylphospliine)palladium(0) (15.0 mg, 0.013 mmol), copper(I) chloride (15.4 mg, 0.156 mmol) and lithium chloride (6.6 mg, 0.156 mmol) in THE (2 mL) was degassed and sealed. The reaction mixture was stirred at 80 °C for 12 h, cooled to room temperature, and concentrated under reduced pressure. The resulting residue was purified by prep-LC-MS (pH = 2, MeCN /water with TFA) to give the desired product as a TFA salt. LC-MS calculated for C 20 H 17 N 8 O (M+H)' : m/z = 385.2; found 385.2.

Example 39, 5-Amino-7-(3-cyanophenyl)-8-(2,3-dihydro-[l ,4]dioxino[2,3-h]pyridin-8-yl)- (V-ethylimidazo [1 ,2-c] pyrimidine- 2-carboxamide

A mixture of 5-amino-8-bromo-7-(3-cyanophenyl)-A r -ethylimidazofl,2-c]pyrimidine- 2-carboxamide (prepared in Example 26, Step 4) (72 mg, 0 19 mmol), (2,3-dihydro- [l,4]dioxino[2,3-/»]pyridin-8-yl)boronic acid (33 8 mg, 0.19 mmol), cesium carbonate (122 mg, 0.37 mmol) and [l,r-bis(dicyclohexylphosphino)ferrocene]dichloropalladium (II) (14.1 mg, 0 019 mmol) in dioxane (2.0 mL) and water (0.2 mL) was stirred at 120 °C for 1 h under microwave irradiation. The reaction mixture was then cooled to room temperature, and directly purified by prep-LC-MS (pH = 2, MeCN/water with TEA) to give the desired product as a TEA salt. LC-MS calculated for C . - d l -S O. (M+H) + : m/z = 442.2; found 442,3.

Example 40. 5-Amino-7-(3-cyanophen l)-8-cycloprop l-ZV-ethylimidazo fl ,2- cJpyrimidine-2-carboxamidc

A mixture of 5-ammo-8-bromo-7-(3-cyanophenyl)-/V-ethylimidazo[l,2-c]pyrim idine- 2-carboxamide (prepared in Example 26, Step 4) (72 mg, 0.19 mmol), cyclopropylboronic acid (32.1 mg, 0.37 mmol), cesium carbonate (122 mg, 0 37 mmol) and [1,1'- bis(dicyclohexylphosphino)ferrocene]dichloropalladium (II) (14.1 mg, 0.019 mmol) in dioxane (2.0 mL) and water (0.2 mL) was stirred at 80 °C for lh under microwave irradiation. Tire reaction mixture was then cooled to room temperature, and directly purified by prep-LC- MS (pH = 2, MeCN/water with TFA) to give the desired product as a TEA salt LC-MS calculated for CT 9 H i9 N 6 0 (M+H) + : m/z = 347.2; found 347.3.

Example 41. 3-(5-Amino-2-(pyridin-2-ylmethyI)-8-(pyrimidiii-4-yl)-[l,2,4 ]triazolo[l,5- c] py rimidin- 7-yJ)benzonitrile

A mixture of 4,6-dichloropyrimidin-2-amine (2.5 g, 15.2 mmol), (3- cyanopheny!lboronic acid (2.02 g, 13.7 mmol), tetrakis(triphenylphosphme)palladium(0) (1.06 g, 0 92 mmol) and sodium carbonate (3.23 g, 30.5 mmol) in 1,4-dioxane (60 ml.), and water (5 niL) was degassed with nitrogen, then the resulting mixture was heated and stirred at 60 °C for two days. After cooled to room temperature (r.t), the mixture was concentrated, diluted with water, and extracted with DCM (30 mL x 3). The combined organic layers were dried over MgS(¼, filtered, and concentrated. The resulting residue was purified by flash chromatography on a silica gel column eluting with 8% EtOAc in dichloromethane to afford the desired product. LCMS calculated for CnHsCllSU (M+H) + : 231.0. Found: 231.0.

Step 2: 2-(Pyridin-2-yl)acetohydrazide

Hydrazine (4.15 mL, 132 mmol) was added to a ethanol (66 mL) solution of methyl 2-(pyridin-2-yi)acetate (10 g, 66.2 mmol) at r.t. The mixture was heated and stirred at 85 °C for 4 h, and then cooled to r.t. White solid was formed upon standing, which was collected via filtration and used in next step without further purification. LCMS calculated for C T H J O N S O (M+H) + : 152.1. Found: 152.0.

2~(pyridin~2-yl)aeetohydrazide (2.62 g, 17.34 mmol) was added to a ethanol (35 mL) solution of 3-(2-amino-6-chloropyrimidin-4-yl)benzonitrile (4.00 g, 17.34 mmol) at r.t. After being heated and stirred at reflux for 2 h, the reaction mixture was cooled to r.t., and concentrated. The resulting residue was taken into iV,0-bis(trimetJiylsilyl)acetamide (20 mL) and stirred at 120 °C for 7 h. The mixture was then cooled to r.t., poured onto ice, and allowed to stir at r.t. for 1 h. The resulting solid was collected by filtration, and taken into 20 mL of 1 N HC1 solution. The resulting mixture was stirred at r.t. for 1 h, filtered, and the aqueous layer was neutralized by addition of saturated NaHCCb solution. The resulting precipitate was collected by filtration, and dried to obtain the desired product as a brown solid. LCMS calculated for Ci 8 H i4 N 7 (M+HV : 328 1 ; found 328 1 Step 4: 3~(5-Amino~8-bromo-2-(pyridin~2-ylmethyi)-[L 2, 4]triaåolo[l , 5-cJpyrimidin- 7- yl)benzonitrile

To a mixture of 3 -(5-atnino-2-(pyridin-2-y lmethy 1)- [ 3 ,2,4]triazolo [1 ,5 -c]pyrimidin-7- y l)benzonitriie (2 g, 6.11 mmol) in DMF (12 mL) at -30 a C was added NBS (1.09 g, 6.11 mmol) portion-wise. The reaction mixture was allowed to slowly warm to 0 B C, resulting a homogenous solution. After stirring at 0 °C for i h, the reaction mixture was diluted with saturated NaHCCh solution and the resulting solid was collected by filtration. The solid was then purified by flash chromatography on a silica gel column eluting with 0 to 10% MeOH in DCM to afford the desired product. LCMS calculated for CigFLaBrN ? (M+H) : 406.0; found 406.0.

Step 5: 3-(5-Ammo-2-(pyridin-2-ylmethyl)-8-(pyrimidin-4-yl)-[ 1 ,2,4]triazolo[ i ,5- c]pyrimidin-7-yl)benzonitrile

Pd(Ph P) 4 (284 mg, 0.246 mmol) was added to a mixture of 4- (tribuiylstannyi)pyrimidine (1090 mg, 2.95 mmol), 3-(5-amino-8-bromo-2-(pyridin-2- ylinethyl)-[L2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitri3e (1000 mg, 2.46 mmol), and copper(l) chloride (244 mg, 2.46 mmol) in 1 ,4-dioxane (12 mL). The reaction mixture was purged with N 2 and stirred at 80 B C for 7 h. The resulting mixture was cooled to r.t., concentrated, diluted with DCM (50 mL) and washed with saturated NH 4 OH solution. The organic layer was dried over Na 2 S0 4 , concentrated, and purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TFA salt. LCMS calculated for C 22 H 16 N 9 ( M i l s : 406.2; found 406.2. ¾ NMR (500 MHz, DMSO) 5 8.95 (s, IH), 8.83 (d, J = 5.3 FIz, l i l !. 8.59 id../ 5.1 Hz, I l l s. 7.96 (m, M i ). 7.88 (d../ 5.1 FIz, 1H), 7.82 id ./

7 6 Hz, IH), 7.76 (s, 1H), 7.60 - 7.53 (m, 2H), 7 53 - 7.48 (m, IH), 7.48 - 7.42 (m, 1H), 4.49 (s, 2H).

Example 42. 3-(5-Amino-8-(l-ethyl-li7-pyrazol-5-yl)-2-(pyridin-2-yImethy I)- [l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile

A mixture of 3-(5-ammo-8-bromo-2-(pyridin-2-ylmethyl)-[l,2,4]triazolo[l,5 - c]pyrimidin-7-yl)benzonitrile (from Example 41, Step 4) (50 mg, 0.123 mmol), l-ethyl-5- (4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-l//-pyrazole (54.7 mg, 0.246 mmol), chloro(2- dicy clohexy lphosphino-2',4',6'-triisopropy 1- 1 , G-bipheny 1) [2-(2'-amino- 1 , G- biphenyl) Jpalladiumtll) (9.68 mg, 0.012 mmol), and sodium carbonate (13.0 mg, 0.123 mmol) in 1 ,4-dioxane (1119 pL) and water (112 pL) was stirred at 100 °C for 1 fa. The resulting mixture was cooled to r.t, concentrated, and purified by preparative LC-MS (pH 2, acetonitrile/water with TEA) to afford the product as a TEA salt. LCMS calculated for C23H20N9 (M+H) + : 422.2; found 422.2.

Example 43, 3-(5- Amino-8-(l -propyl- l/ -pyrazol-5-yl)-2-(pyridin-2-ylmethyI)- [1 ,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile

This compound w'as prepared using similar procedures as described for Example 42 with l-propyl-5-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-li/ -pyrazole replacing 1-ethyl- 5-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-li/-pyrazole . The final material was purified by preparative LC-MS (pH 2, acetonitrile/water with TEA) to afford the product as a TFA salt. LCMS calculated for C24H22N9 (M+H) : 436.2; found 436.2.

Example 44. 3-(5-Aimno-2-(pyridin-2-yiniethyI)-8-(quinolin-5-yl)-[l,2,4] triazolo[l,5- cJpyrimidin-7-yl)bcnzonitrile

This compormd was prepared using similar procedures as described for Example 42 with 5-(4,4,5,5-tetramethyl-l ,3,2-dioxaborolan-2-yl)quinoline replacing 1 -ethyl-5-(4, 4,5,5- tetrameihyl-l,3,2-dioxaborolan-2-yl)-l/7-pyrazole. The final material was purified by- preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TFA salt. LCMS calculated for C27H19N8 (M+H) + : 455.2; found 455.2. Example 45. 3-(5-Amino-8-(5-fluoiOpyrimidin-4-yl)-2-{hydroxy{phen l)methyl)- [l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile

Step 1: 3~(5-Ammo~8-hromo-2-(hydraxy(phenyl)methyl)~[l,2,4]triazolo[ J5-c]pyrimidin-7- yl)benzonitr,ie

This compound was prepared using similar procedures as described for Example 41, Step 1 to Step 4, with 2 -hydroxy -2-phenylacetohydrazide replacing 2-(pyridin-2- yllacetohydrazide in Step 3. LCMS calculated for C sHuBrNgO (M+H) : 421.0; found 421.0. Step 2: 5-Fluoro-4-(trimethylstannyl)pyrmidine

Pd(Ph 3 P)4 (43.6 mg, 0.038 mmol) and 1,1,1,2,2,2-hexamethyldistannane (124 mg, 0.377 mmol) were successively added to a mixture of 4-chloro-5-fluoropyrimidine (50 g, 0.377 mmol) in 1,4-dioxane (1886 mE) under a nitrogen atmosphere. The reaction mixture was then stirred at reflux overnight, cooled to r.t, and filtered. The filtrate was used in next step without further purification.

Step 3: 3-(5-Amino-8-(5-fluoropyrimidin-4-yl)-2-(hydroxy(phenyl)meth yl)- [ 1, 2, 4!triazolo[i, 5-cJpyrimidin- 7-yl)benzonitrile

This compound was prepared using similar procedures as described for Example 41, Step 5, with 5-fluoro-4-(trimethylstannyl)pyrimidme replacing 4-(tributylstannyl)pyrimidine, and with 3-(5 -amino-8-bromo-2-(hy droxy (pheny l)methy 1)- [ 1 ,2,4]triazolo f 1 ,5 -c]pyrimidin-7- ylibenzonitrile replacing 3-(5-amino-8-bromo-2-(pyridin-2-ylmethyl)-[L2,4]triazolo[l,5 - cJpyrimidin-7-yl)benzonitrile. The final material was purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TEA salt. LCMS calculated for Example 46. 3-(5-Amino-8-(5-fluoiOpyriniidiii-4-yl)-2-(pyridin-2-ylmethy l)- [l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile

This compound was prepared using similar procedures as described for Example 41, with 5-iluoro-4-(trimethylstannyl)pyrimidine (from Example 45, Step 2) replacing 4- (tributylstannyl)pyrimidine. The final material was purified by preparative HPLC (pH 2, acetonitrile/water with TEA) to afford the product as a TEA salt. LCMS calculated for

C A ! id- W. i \1 H i· : 424.1; found 424.2.

[l,2,4]triazolo[l,5-c]pyrimidin-7-yI)benzonitrile

Step 1: 3-(5-Amino-8-bromo-2-(chloro(phenyl)methyl)-[l, 2,4]triazolo[J5-c]p >rimidin- 7 - yl)benzonitrile

Thionyl chloride (87 pL, 1.19 mmol) was added to 3~(5-amino-8~bromo-2

(hydroxy(phenyl)methyl)-[l,2,4]triazolo[l ,5-c]pyrmiidin-7-yl)benzonitrile (from Example 45, Step 1) (10 mg, 0.024 mmol) at r.t. After stirring for 30 min, the reaction mixture was concentrated, and the resulting residue was used in the next step without further purification. LCMS calculated for C TLsBrClNe (M+H) + : 441.0; found 441.0. Step 2: 3-(5-Amino-8-bromo-2-((2-hydroxyethylamino)(phenyl)methyl)-[ l,2,4]triazolo[l,5- c]pyrimidin-7-yl)benzonitrile

2-aminoethan-l-ol (4.35 mg, 0.071 mmol) was added to a DMF (237 pL) solution of 3 -(5 -amino-8-bromo-2-(chloro(phenyl)methyl)- f 1 ,2,4 jtriazoio 1 ,5 -c jpyrimidm-7- ylibenzonitrile (10 mg, 0.024 mmol). The reaction mixture was stirred at r.t. overnight, concentrated, and used in the next step without further purification LCMS calculated for C.· : ! I ,.,BGN <> (M+H) h : 464.1; found 464.2,

Step 3: 3-(5-Amino-2-((2-h droxyethylamino)(phenyl)methyl)-8-(pyridin-4-yl)- / 1,2,4] iriazolofl ,5-c]pyrimidin-7-yl)benzonitrile

A mixture of 3-(5-amino-8-bromo-2-(((2-hydroxyethy l)amino)(phenyl)methyl)- [l ,2,4]triazolo[ l 5-c]pyrimidin-7-yl)benzonitrile (10 mg 0.022 mmol), pyridm-4-ylboronic acid (6.0 mg, 0.043 mmol), chloro(2-dieyelohexylphosphino-2',4',6'-triisopropyl-l,r- biphenyl)[2-(2'-amino-l, r-biphenyl)]palladium(II) (1.70 mg, 2.15 pmol), and sodium carbonate (2.3 mg, 0.022 mmol) in 1,4-dioxane (196 pL) and water (19.6 pL) was heated and stirred at 100 °C for 1 h. The reaction mixture was then cooled to r.t., concentrated, purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TFA salt. LCMS calculated for C . .S L AxO (M+H) 1 : 463.2; found 463.2.

Example 48. 3-(5-Amino-2-(cyclohexylmethyl)-8-(l-ethyl-l//-pyrazol-5-yl) - [l,2,4]triazolo[l,5-c]pyriimdin-7-yl)benzonitrile

Step 1: 3-(5-Amino-8-bromo-2-(cyclohexylmethyl)-[l,2,4]triazolo[l,5- c]pyrimidin-7- yl)benzonitrile

This compound was prepared using similar procedures as described for Example 41, Step 1 to Step 4, with 2-cyclohexylacetohydrazide replacing 2-(pyridin-2-yl)acetohydrazide in Step 3. LCMS calculated for C oH oBr ^ (M+EGG; 41 1.1; found 411.1.

Step 2: 3-(5-Amino-2-(cyclohexylmethyl)-8-(l-ethyl-lH-pyrazo!-5-yl)- [J2,4]triaåolofJ5- 5 cjpyrimidin- 7-yl)benzonitrile

This compound was prepared using similar procedures as described for Example 42, with 3-(5-ammo-8-bromo-2-(cyclohexylmethyl)-[l,2,4]triazolo[l,5-c ]pyrimidm-7- y l)benzonitrile replacing 3 -(5 -amino-8-bromo~2-(pyridin-2-y lmethy 1)-| 1 ,2,4 ] triazolo [1,5- c]pyrimidin-7-yl)benzonitrile. The final material was purified by preparative LC-MS (pH 2, 0 acetonitrile/water with TEA) to afford the product as a TEA salt LCMS calculated for

C24H27N8 (M+lTf : 427.2; found 427.2.

Example 49. 3-(5- Amino-2-(2-fluorobenzyl)-8-(pyrimidin-4-yl)- [1 ,2,4]triazolo[l ,5- c]pyrirnidin-7-yl)bcnzonitrile

5 This compoimd was prepared using similar procedures as described for Example 41, with 2-(2-fluorophenyl)acetohydrazide replacing 2-(pyridm-2-yl)acetohydrazide in Step 3. The final material was purified by preparative LC-MS (pH 2, acetonitrile/water with TEA) to afford the product as a TFA salt. LCMS calculated for C23H16FN8 (M+H) + : 423.2; found

423.2.

0 Example 50. 3-(5-Amino-2-((2-fluorophenyI)(hydroxy)methyl)-8-(pyrimidin- 4-yl)- [1 ,2,4]triazolo[l ,5-cJpyrimidin-7-yl)benzonitrilc

This compound was prepared using similar procedures as described for Example 41, with 2-(2-fluorophenyl)-2-hydroxyacetohydrazide replacing 2-(pyridin-2-yl)acetohydrazide in5 Step 3. The final material was purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TFA salt. LCMS calculated for C23H16FN8O (M+H) + : 439.1; found 439.1. Example 51. 3-(5-Amino-2-((6-methylpyridin-2-yl)methyl)-8-(pyrimidin-4-y l)- [l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile

This compound was prepared using similar procedures as described for Example 41, Step 2, with ethyl 2-(6-methylpyridin-2-yl)acetate replacing methyl 2-(pyridin-2-yl)acetate. LCMS calculated for CgHufAQ (M+HG: 166.1 ; found 166.1.

Step 2: 3-(5-Amino-2-((6-melhylpyridin-2-yi)melhyl)-8-(pyrimidin-4-y l)-{J2,4jtriazolo[l,5- c]pyrimidin-7-yl)benzonitrile

This compound was prepared using similar procedures as described for Example 41, with 2-(6-methylpyridin-2-yl)acetohydrazide replacing 2-(pyridin-2-yl)acetohydrazide in Step 3. The final material was purified by preparati ve LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TFA salt. LCMS calculated for C23H18N9 (M+H) + : 420.2; found 420.2.

Example 52, 3-(5-Amino-8-(l-ethyI-l fl r -pyrazol-5-yl)-2-((3-fluoropyridin-2-yI)methyl)- [l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile

Step 1 : 2-(3-Fluoropyridin~2-yl)aceiohydmzidi

Hunig’s base (169 mΐ , 0.967 mmol) was added to a DMF (2149 pL) solution of 2-(3- fiuoropyridin-2-y{)acetic acid (100 mg, 0.645 mmol), /er/-butyl hydrazinecarboxylate (102 mg, 0.774 mmol), and BOP (428 mg, 0.967 mmol) at r.t. The reaction mixture was stirred at r.t for 2 h, concentrated, and purified by flash chromatography on a silica gel column eluting with 0 to 10% MeOH in DCM. The purified intermediate feri-butyi 2-(2-(3-fluoropyridin-2- yl)acetyl)hydrazinecarboxy!ate was then treated with TFA (0.5 ml,), stirred at r.t. overnight, concentrated, and diluted with ether. The resulting white precipitate was collected by filtration, and used in next step without further purification. LCMS calculated for C 7 H 9 FN 3 O (M+H) + : 170 1 ; found 170.1

Step 2: 3-(5-Amino-8-bromo-2-((3-fluoropyridin-2-yl)methyl)-[l ,2,4Jtriazolo[l,5- c]pyrimidin-7-yl)benzonitrile

This compound was prepared using similar procedures as described for Example 41, Step 1 to Step 4, with 2-(3-fluoropyridin-2-yl)acetohydrazide replacing 2-(pyridin-2- yl)acetohydrazide in Step 3. LCMS calculated for C-gHnBrFN ? (M+H) : 424.0; found 424.0. Step 3: 3~(5-Amino~8-(]~ethyl-lH-pyrazol-5~yl)-2~((3~fluoropyridin-2 ~yl)methyl)~

[1.2.4]triazolo[l,5-c]pyrimidin- 7-yl)benåonitrile

This compound was prepared using similar procedures as described for Example 42 with 3-(5-amino-8-bromo-2-((3-fluoropyridin-2-yl)methyl)-[l,2,4] triazolo[ l,5-c|pyrimidin~7- y llbenzonitrile replacing 3 -(5 -amino-8-bromo-2-(pyridin-2-y Irnethy l)-[ L2,4]triazoio [1,5- c]pyrimidin-7-yl)benzonitrile. The final material was purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TFA salt. LCMS calculated for (Ai ! i-FX·, i \l i l l· : 440.2; found 440.2.

Example S3. 3-(5-Amino-8-(l -ethyl-l//-pyrazoI-5-yl)-2-((3-inethoxypy ridin-2-yI)methyl)-

[1.2.4]triazolo[l ,5-c] pyrimidin-7-yI)benzonit ri!e

This compound was prepared using similar procedures as described for Example 52, with 2-(3-methoxypyridin-2-yl)aeetic acid replacing 2-(3-fluoropyridin-2-yl)acetic acid in Step 1. The final material was purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TFA salt. LCMS calculated for C 24 H 22 N 9 O (M+H) + : 452.2; found 452.2. Example 54. 3-(5-Amino-2-(2-(l-methyl-l//-pyrazol-4-yI)benzyl)-8-(pyrini idin-4-yl)- [l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile

This compound was prepared using similar procedures as described for Example 41, Step 1 to Step 3, with 2-(2-brornophenyl)acetohydrazide replacing 2-(pyridin-2- yl)acetohydrazide in Step 3 LCMS calculated for CwHi + BrN fi (M+H) + : 405.0; found 405.0. Step 2: 3-(5-Amino-2-(2-bromobenzyl)-8-iodo-[i,2,4Jtriazo!o[J5-cJpyr imidin-7- yl)benzomtrile

NIS (153 mg, 0.679 mmol) was added to a DMF (3084 pL) solution of 3-(5-amino-2- (2-bromobenzy l)-[l, 2, 4]iriazolo[l,5-c]pyrimidin-7-yl)benzonitri!e (250 mg, 0.617 mmol) at r.t. After stirring at 50 °C for 1 h, the reaction mixture was cooled to r.t, diluted with water and the resulting precipitate was collected by filtration. The brown solid was dissolved in DCM and purified by flash chromatography on a silica gel column eluting with 0 to 50% EtOAc in DCM to afford the desired product. LCMS calculated for CisHbBrINe (M+H) + : 531.0; found 531.0.

Step 3: 3-(5-Amino-2-(2-bromobenzyl)-8-(pyrimidin-4-yl)-[J2, 4]triazolo[i, 5-c]pyrimidin- 7- yl)benzonitrile

This compound was prepared using similar procedures as described for Example 41, Step 5, with 3-(5-ammo-2-(2-bromobenzyl)-8-iodo-[l,2,4]triazolo[l,5-c]pyr imidin-7- yl)benzonitrile replacing 3-(5-amino-8-bromo-2-(pyridm-2-ylmethyl)-[l,2,4]triazolo[1 ,5- c]pyrimidin-7-yl)benzonitrile. The final material was purified by flash chromatography on a silica gel column eluting with 0 to 15% MeOH in DCM to afford the desired product. LCMS calculated for C,d i ;; .BrN :.; (M+H) + : 483.1; found 483.1.

Step 4: 3-(5-Amino-2-(2-(l-methyl-lH-pyrazol-4-yl)benzyl)-8-(pyrimid in-4-yl)- [ 1, 2, 4!triazolo[i, 5-cJpyrimidin- 7-yl)benzonitrile

A mixture of 3-(5 -amino-2-(2-bromobenzy l)-8-(py rimidin-4-y 1)- [ 1 ,2,4] triazolo [1,5- c]pyrimidin-7-yl)benzonitrile (10 mg, 0 021 mmol), (l -methyl-l/7-pyrazol-4-yl)boronic acid (5.2 mg, 0.041 mmol), PdChtdppfi-CEECL· adduct (1.7 mg, 2.07 pmol), and sodium carbonate (2.2 mg, 0.021 mmol) in 1,4-dioxane (172 pL) and water (35 mΐ) was purged with N 2 and stirred at 90 °C for 1 h. The reaction mixture was cooled to r.t., concentrated, and purified by preparative LC-MS (pTI 2, acetonitrile/water with TFA) to afford the product as a TFA salt. LCMS calculated for C27H21N10 (M+H) + : 485.2; found 485.1.

Example 55. 3-(5-Amino-2-(benzo[rfJisoxazol-3-ylmethyI)-8-(l-ethyl-l//-p yrazol-5-yI)- [l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile

Step 1 : 3-(5-Amino-2~(benzo[d]isoxazol-3-ylmethyl)-8-hromo-[J 2 , 4] triazolo [1 ,5- c]pyrimidin-7-yl)benzonitrile

This compound w r as prepared using similar procedures as described in Example 41, Step 1 to Step 4, with 2-(benzo[d]isoxazol-3-yl)acetohydrazide in place of 2-(pyridin-2- y!)acetohydrazide in Step 3. LCMS calculated for 0 2O H) B BGN 7 0 (M+H) : 446.3. Found: 446.1.

Step 2: 3-(5-Amino-2-(benzo[d]isoxazol-3-ylmethyl)-8-(l-ethyl-lH-pyr azol-5-yl)- 11,2,4] triazolo [1 ,5-c]pyrimidin-7-yl)benzonitrile A vial was charged with 3-(5-amino-2-(benzo[i/|isoxazol-3-yhnethyl)-8-bromo-

[l ,2,4jtriazolo[l ,5-cjpyrimidin-7-yl)benzonitrile (24 mg, 0.054 mmol), (1 -ethyl- LH-pyrazol- 5-yl)boronic acid (17 mg, 0.12 mmol), XPhos Pd G2 (4 3 mg, 0.0054 mmol), K3PO4 (23 mg, 0.11 mmol), dioxane (1 mL) and water (0.2 mL). The reaction mixture was then heated and stirred at 80 °C for 1 h, cooled to r.t, diluted with saturated NH4CI solution (1 mL), and extracted with EtOAc (5 mL). The organic phase was separated, dried over NaiSCL, concentrated, and purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TFA salt. LCMS calculated for C 25 H 20 N 9 O (M+H) 1 : 462.2. Found;

462.2.

Example 56, 3-(5-Amino-8-(l-ethyl-l//-pyrazol-5-yl)-2-((l-methyl-l//-ind azol-3- yl)methyl)-[l,2,4]triazolo[l^-clpyrimidin-7-yl)benzonitrile

Step 1: Ethyl 5~amino-8-hromo-7-(3-cyanophenyl)-[L2,4]tnazoio[l,5-c] pyrimidine-2 - carboxylate

This compound was prepared using the same procedures as described in Example 41, Step 1 to Step 4, with ethyl 2-hydrazinyl-2-oxoacetate in place of 2-(pyridin-2- yl)acetohydrazide in Step 3. LCMS calculated for CisHnBrNeOz (M+H) : 387.2. Found; 387.0.

Step 2: 3-(5-Amino-8-bromo-2-(hydroxymethyl)-[ 1 ,2, 4Jtriaåolo[l ,5-c]pyrimidin-7- yl)benzonitrile

To a solution of ethyl 5-amino-8-bromo-7-(3-cyanophenyl)-[l,2,4]triazolofl,5- c]pyrimidine-2-carboxylate (77 mg, 0.20 mmol) in THF (5 mL) at 0 °C was added LiBlL solution (0.2 mL, 2.0 M in THF) dropwise. The reaction mixture was stirred at r.t. for 10 min, then quenched by adding water (1 mL) and saturated Rochelle salt solution (5 mL). After stirring for another 2 h, the organic layer was separated, and the aqueous layer was extracted with EtOAc (3 x 5 mL). The combined organic layers w ere washed with brine, dried over Na 2 S0 4 , and concentrated to afford the crude product, which was used in next step without further purification.

Step 3: 3-(5-Amino-8-(i-ethyl-lH-pyrazol-5-yl)-2-(hydroxymelhyl)-[Jl ,2,4Jtriazolo[l,5- c]pyrimidin-7-yl)benzonitrile

To the crude 3-(5-amino-8-bromo-2-(hydroxymethyl)-[l,2,4]triazolo[L5- c]pyrimidin-7-yl)benzonitrile from previous step was added (1-ethyl- l//-pyrazol-5-yl)boronic acid (47 mg, 0.34 mmol), XPhos Pd G2 (13 mg, 0.017 mmol), K 3 PO 4 (71 mg, 0.34 mmol), dioxane (3 mL) and water (0.6 mL). The reaction mixture was heated and stirred at 90 °C for 1 h, cooled to r.t, diluted with saturated NH 4 CI solution (3 mL), and extracted with EtOAc (15 mL). The organic phase was separated, dried over Na 2 S04, concentrated, and purified by flash chromatography (0 to 70% EtOAc in diehloromethane) to give the desired product (40 mg, 55%). LCMS calculated for C I8 H I7 N 8 0 (M+H) + : 361.1. Found: 361.1.

Step 4: 3-(5-Amino-2-(chloromethyl)-8-(l-ethyl-lH-pyrazol-5-yl)-[J2, 4]triazolo[J5- c]pyrimidin-7-yl)benzonitrile

3 -(5-Amino-8-( 1 -ethyl- 1 //-pyrazol-5 -yl)-2-(hydroxymethy 1)- [ 1 ,2,4]triazolo [1,5- c]pyrimidin-7-yl)benzonitrile (40 mg, 0.11 mmol) was dissolved in MeCN (2 mL). SOCI2 (0.02 mL, 0.27 mmol) was added to the solution dropwise at r.t. The reaction mixture was stirred at r.t. for 30 min, quenched with saturated NaHCOs solution, and extracted with EtOAc (5 x 5 mL). the combined organic layers were dried over Na2S04, and concentrated to afford the crude product, which was used in the next step without further purification.

Step 5: 3-(5-Amino-8-(i-ethyl-lH-pyrazoi-5-yl)-2-((l-methyl-lH-indaz ol-3-yi)methyl)- [l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile A vial was charged with 3-(5-amino-2-(chioromethyi)-8-(l-eihyl-l/7-pyrazol-5-yl)- [I ,2,4jtriazolo[L5-cjpyrimidin-7-yl)benzonitrile (16 mg, 0.042 mmol), 1 -methyl-3-(4, 4,5,5- tetranreihyl-l ,3,2-dioxaborolan~2-yl)-l//-indazoie (32 mg, 0.12 mmol), XPhos Pd G2 (3.3 mg, 0.0042 mmol), CS 2 CO 3 (41 mg, 0.13 mmol), and dioxane (1 mL). The reaction mixture was heated and stirred at 90 °C for 1 h, cooled to r.t, diluted with saturated NH 4 CI solution, and extracted with EtOAc (5 mL). The organic phase was separated, dried over NagSCfi, concentrated, and purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TFA salt (2 mg, 10%). LCMS calculated for C26H23N10 (M+H) + : 475.2. Found: 475.1.

Example 57, 3-(5-Amino-2-((3-hydroxyazetidin- l-yl)methyl)-8-(pyrimidin-4-yl)- [1 ,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile

Step 1: 3-(5-Amino-2-(hydroxymethyl)-8-(pyrimidin-4-yl)-[J2,4]triazo lo[l,5-c]pyrimidin-7- yl)benåonitrile

This compound was prepared using similar procedures as described for Example 41 Step 5 with 3-(5-ammo-8-bromo-2-(hydroxymethyl)-[l,2,4]triazolo[l,5-c]py rimidin-7- yl)benzomtrile (Example 56, Step 2) replacing 3-(5-amino-8-bromo-2-(pyridin-2-ylmethyl)- [1 ,2,4]triazo3o[l,5-c]pyrimidin-7-y3)benzonitrile. LCMS calculated for CnH^ gO (M+H) : 345.1: found 345.1.

Step 2: (5-Amino- 7-(3-cyanophenyi)-8-(pyrimidin-4-yi)-[l,2, 4 JtriazolofJ, 5-c]pyrimidin-2- yl)methyl methanesulfonate

Methanesnlfonyl chloride (11.3 pL, 0.145 mmol) was added to a mixture of 3 -(5- amino-2-(hydroxymethyl)-8-(pyrimidin-4-yl)-[l,2,4]triazolo[l ,5-c]pyrimidin-7- yl)benzonitrile (50 mg, 0.145 mmol) and pyridine (23.5 pL, 0.290 mmol) in DCM (4.0 ml.) at 0 °C. The reaction mixture was stirred at r.t. for 30 min. quenched with saturated NaHCCf solution, and extracted with EtOAc (3 x 10 ml). The combined organic layers were dried over MgSCL, and concentrated to afford the desired product. LCMS calculated for

CisHisNeO S ( M I i } : 423.1; found 423.1.

A mixture of (5 -amino-7-(3 -cyanopheny l)-8-(py rimidin-4-y 1)- [ l,2,4]triazolo [1,5- c]pyrimidin-2~yl)methyl methanesulfonate (10.0 mg, 0.024 mmol), azetidin-3-ol hydrochloride (3.9 mg, 0.036 mmol), and DIPEA (8.3 mE, 0.047 mmol) in DMF (0.5 mL) w¾s stirred at 90 a C until completion. The reaction mixture was then cooled to r.t., and directly purified by preparative LC-MS (pH 10, acetonitrile/water with NFLOH) to give the desired product. LCMS calculated for C 20 H 18 N 9 O (M+H) + : 400.2; found 400.2.

Example 58. 3-(5-Amino-8-(3-methyIpyridin-4-yl)-2-(pyridin-2-ylmethyl)- [1 ,2,4]triazolo[l ,5-c] pyrimidin-7-yI)benzonit ri!e

This compound was prepared using similar procedures as described in Example 42 using 3-methylpyridin-4-ylboronic acid in place of l-ethyl-5-(4,4,5,5-tetramethyl-l,3,2- dioxaborolan-2-yl)-l /-pyrazole. The final material was purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TEA salt. LCMS calculated for

C 24 H 19 N 8 (M+Hf: 419.2; Found: 419.3. Example 59. 3-(5-Amino-8-(2-methoxy-6-methyIpyridin-4-yI)-2-(pyridin-2-y Imethyl)- [l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile

This compound was prepared using similar procedures as described in Example 42 using 2-methoxy-6-methylpyridin-4-ylboronic acid in place of l-ethyl-5-(4,4,5,5-tetramethyl- l,3,2-dioxaborolan-2-yl)-l//-pyrazole. The final material was purified by preparative LC-MS (pIT 2, acetonitrile/water with TEA) to afford the product as a TEA salt. LCMS calculated for (Ai l Ί \.,ϋ (M+H) + : 449.2; Found: 449.3.

Example 60. 3-(5-Amino-8-(pyrazolo[l,5-A]pyridazin-3-yI)-2-(pyridin-2-yl methyl)- [l,2,4]triazolo[l,5-c]pyrimidin-7-yI)benzonitrile

This compound was prepared using similar procedures as described in Example 42 using 3-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)pyrazolo[l,5- d]pyridazine in place of 1- ethyl-5-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-l/ -pyrazole. The final material was purified by preparative LC-MS (pH 2, acetonitrile/water with TEA) to afford the product as a TEA salt. LCMS calculated for C 24 H 17 N 10 (M+H) + : 445.2; Found: 445.3.

Example 61. 3-(5-Amino-8-(4-methyIoxazol-5-yl)-2-(pyridin-2-ylmethyl)- [1 ,2,4]triazolo[l ,5-c] pyrimidin-7-yi)benzonit ri!e

Step 1 : 4-Methyl-5-(4, 4.5, 5-tetramethyl-l, 3, 2-dioxaborolan~2-yl)oxazole

To a mixture of (l ,5-cyclooctadiene)(methoxy)iridium(i) dimer (20 mg, 0.030 mmol) in pentane (2 mL) under N 2 gas was added 4,4,5,5-tetTamethyi-l,3,2-dioxaboro!ane (0.22 mL, 1.5 mmol) at r.t. After stirring for 15 min, 4,4’-di-tert-hutyl-2,2'~dipyridyl was added and the resulting mixture was stirred for another 15 min before a solution of 3-methyloxazole (83 mg, 1.0 mmol) in Et 2 0 (2 mL) w¾s added. The reaction mixture was then stirred at r.t. for 2 h, and concentrated to afford the crude product, which was used in the next step without further purification. LC-MS calculated for C 10H37BNO3 (M+H) T : m/z = 210.1 ; found 210.1.

Step 2: 3~(5-Ammo~8-(4~methyloxazol~5-yl)~2-(pyridin~2-ylmethyl)~[l, 2,4]triazolo[l,5- c]pyrimidin-7-yl)benzonitrile

This compound was prepared using similar procedures as described in Example 42 using 4-meihyl-5~(4,4,5,5-ieiramethyl-l,3,2-dioxaborolan-2~yT)oxaz oie in place of l-ethyl-5- (4,4,5,5-tetramethyl- l,3,2-dioxaborolan-2-yl)- 1/7-pyrazole. The final material was purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TEA salt. LCMS calculated for C 22 H I7 N 8 Q (M+H) + : 409.1. Found: 409.2.

Example 62, 3-(5-Amino-8-(4-(hydroxymethyl)-2-methyloxazoI-5-yl)-2-(pyri din-2- ylmethyl)-[l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile

To a solution of (2-meihyloxazol-4-yl)methanoi (1.0 g, 8.84 mmol) and imidazole

(0.90 g, 13.3 mmol) in DCM (20 ml) w¾s added TBSC1 (1.5 g, 9.7 mmol). The reaction mixture was stirred at r.t. for 2 h, and concentrated. The resulting residue was then diluted with Et 2 G (20 mL), washed with saturated NH 4 CI solution and brine, dried over MgSCfi, and concentrated to afford the crude product which was used in the next step without further purification. LC-MS calculated for CnH 22 NG 2 Si (M+H) + : m/z = 228.1 ; found 228.1. Step 2: 4-((tert-Bulyldimethylsilyloxy)methyl)-2-me(hyl-5-(4, 4, 5, 5-ieirameihyi-l, 3, 2- dioxaborokm-2-yl)oxazo!e

This compound was prepared using similar procedures as described in Example 61, Step 1, using 4-((fer/-butyidiinethyisilylGxy)methyl)-2~methyloxazole in place of 3- methyloxazole. LCMS calculated for C 37 H 33 BNO 4 SX (M+H) : 354.2, Found: 354.2.

This compoimd was prepared using similar procedures as described of Example 42 using 4-((/er/-butyldimethylsilyloxy)methyl)-2-methyl-5-(4,4,5,5-t etramethyl-l,3,2- dioxaborolan-2-yl)oxazole in place of l-ethyl-5-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2- yl)-l/f-pyrazole. The crude material from this step was used in the next step without further purification. LCMS calculated for C^sHsaNsCbSi (M+H) + : 553.2. Found: 553.2.

Step 4: 3-(5-Ammo-8-(4-(hydroxymethyl)-2-methyloxazol-5-yl)-2-(pyrid in-2-ylmethyl}- [ 1, 2, 4!triazolo[i, 5-cJpyrimidin- 7-yl)benzonitrile

The crude material from previous step was treated with TEA (0.5 mL) and stirred for 0.5 h at 100 a C. The reaction mixture was cooled to r.t., diluted with MeOH, and purified by preparative LC-MS (pH 2, acetonitrile/water with TEA) to afford the product as a TFA salt. LCMS calculated for CAiHisNgCb (M+Hf : 439 2; Found: 439.3.

Example 63, 3~{5-Ammo-8~(4-{methoxymethy!)-2-methyloxazof-5-yi)-2~(pyrid in-2~ yimethyi)- [1 ,2,4] iriazo!ojl ,5-c] pyrimidin- 7-yl)benzonitrile

Step 1: 4-(Methoxymethyl)-2-methyloxazole

To a solution of (2-melhyloxazol-4- i)methanol (113 mg, 1.0 mmol) in THF (10 ml) was added NaH (48 mg, 60 wt%, 1.2 mmol) at 0 °C. After stirring for 0.5 h, iodometbane (170 mg, 1.2 mmol) was added. The reaction mixture was stirred at r.t. for 2 h, diluted with

FT2O (20 i . ! washed with saturated NH 4 CI solution and brine, dried over MgSQ*, and concentrated to give the crude product which was used in the next step without further purification. LC-MS calculated for CcHioNO ? (M+H) : m/z = 128.1; found 128.1.

This compound was prepared using similar procedures as described of Example 61 , Step 1, using 4-(methoxymethyl)-2-methyloxazole in place of 3-methyloxazole. LCMS calculated for CnH BNO,, (M+H) + : 254.2; Found: 254.2.

Step 3: 3-(5-Ammo-8-(4-(melhox melhy!)-2-methyloxazol-5-yl)-2-(pyridin-2-ylmethyl)- [l,2,4]triaåolo[l,5-c]pyrimidin-7-yl)benzonitrile

This compound was prepared using similar procedures as described in Example 42 using 4-(methoxymethyl)-2-methyl-5-(4,4,5,5-tetramethyi-l,3,2-diox aborolan-2-yl)oxazole in place of l-ethyl-5-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-l/7- pyrazole. The final material was purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TFA salt. LCMS calculated for C24H21N8O2 (M+H) + : 453.2. Found: 453.2. Examples 64-65. (>S)-3-(5-amino-2-(hydroxy(phenyl)methyl)-8-(pyrimi(lin-4 -yl)- [l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile (Example 64) & (i?)-3-(5-amino-2- (hydroxy(phenyl)methyl)-8-(pyrimidin-4-yI)-[l,2,4ltriazolo[l ,5-c]pyrimidin-7- yl)benzonitriIe (Example 65)

These compounds were prepared using similar procedures as described for Example 41. with 2-hydroxy-2-phenylacetohydrazide (Alfa Aesar-Ll 1653) replacing 2-(pyridin-2- yl)acetohydrazide in Step 3. The two enantiomers were first separated by chiral HPLC using a Phenomenex Lux Cellulose-4 column (21.2 x 250mm, 5 pm particle size) eluting with an isocratie mobile phase 45% EtOH in hexanes with a flow' rate of 20 mL/minute. The retention times of Peak 1 (Example 64) and Peak 2 (Example 65) were 9.47 min and 14.42 min, respectively. Following their separation, the enantiomers were individually purified by prep- LCMS (pH = 2, MeCN/water with TEA) to give the desired products both as TEA salt. For both products, LC-MS calculated for CAHnNsO (M+H) + : rn/z = 421.2; found 421.3.

Alternatively, Example 64 could be prepared using similar procedures as described for Example 41, with methyl (.S)-(+)-mandelate (Sigma-Aldrich-251542) replacing methyl 2- (pyridin-2-yl)acetate in Step 2. The crude material was purified by prep-LCMS (pH = : 2, MeCN/water with TEA) to give the desired product as a TEA salt. LC-MS calculated for C23H17N5O i \1 l l ) : m/z = 421.2; found 421.3.

Example 65 could be prepared using similar procedures as described for Example 41, with methyl (i?)-(-)-mandelate (Sigma-Aldrich-251550) replacing methyl 2-(pyridin~2- yl)acetate in Step 2. The crude material was purified by prep-LCMS (pH = 2, MeCN/water with TFA) to give the desired product as a TEA salt. LC-MS calculated for CAHy NgQ (M+H) + : m/z = 421.2; found 421.3.

Example 66. 3-(5-Amino-2-benzoyl-8-(pyrimidin-4-yl)-[l,2,4]triazolo[l,5- c]pyrimidin-7- yf)benzonitrik

T o solution of 3 -(5-amino-2-(hydroxy (pheny l)methy l)-8-(pyrimidin-4-yl)- [l ,2,4jtriazolo[l,5-cjpyrimidin-7-yl)benzonitrile (from Example 64) (370 mg, 0 87 mmol) in acetonitrile (7.2 mL) and DMF (1.4 mL) was added tetrakisacetonitrile copper(I) trifilate (65 mg, 0.17 mmol), 4,4'-dimethoxy-2,2'-bipyridine (38 mg, 0.17 mmol), 9- azabicyclo[3.3.1]nonane /V-oxyl (5.8 mg, 0.04 mmol), and 1 -methyl- IH~ imidazole (28 pL, 0.35 mmol). The reaction mixture was stirred for 30 min open to air at r.t, and then volatiles were removed under reduced pressure. The crude material was purified by prep-LCMS (pH = 2, MeCN/water with TEA) to give the desired product as a TEA salt. LC-MS calculated for (MP ,L.,-O (M+H) : m/z = 419.1 ; found 419 3 Example 67. 3-(5-Ammo~8-{l-ethyl~l//-pyrazol-5-yS)~2-(l~phenykydopropyI) ~

[l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile

Step 1: 3-(5-Amino-8-bromo-2-( l-phemlcyclopropyl)-[l ,2,4] triazoiojl ,5-c]pyrimidin-7- yl)benzonitr,le

To a solution of 3-(5-amino-2-(l-phenylcy clopropyl)-[l,2,4]triazolo[l,5-c]pyrimidin- 7-yl)benzonitrile (prepared using similar procedures as described for Example 41, Step 1 to Step 4, with 1-phenylcyclopropane-l-carbohydrazide replacing 2-(pyridin-2- yl)acetohydrazide in Step 3) (380 mg, 1.1 mmol) in DMF (2.1 mL) was slowly added NBS (190 mg, 1.1 mmol) at 0 °C. The reaction mixture was then stirred at r.t. for 30 min before water ( 10 mL) was added. The resulting solid was collected by filtration, and dried to obtain the desired product. LC-MS calculated for C^iHieBrNe (M+Eff; m/z = 431.0; found 431.2. Step 2: 3-(5-Amino-8-(l-ethyl-lH-pyrazol-5-yl)-2-(l-phenylcyclopropy l)-[l,2,4]triazolo[l,5- c]pyrimidin-7-yl)benzonitrile

A mixture of 3-(5-amino-8-bromo-2-(l-phenylcyclopropyl)-[l,2,4]triazolofl ,5- c]pyrimidin-7-yl)benzonitrile (20 mg, 0.046 mmol), l-ethyl-5-(4,4,5,5-tetramethyl-l,3,2- dioxaborolan-2-yl)-l//-pyrazole (10 mg, 0.046 mmol), XPhos Pd G2 (7.0 mg, 9 3 pmol), and Na 2 C0 3 (20 mg, 0.19 mmol) in 1,4-dioxane (0.50 mL) and water (0.05 mL) was flushed with nitrogen and sealed. The reaction mixture was stirred at 110 °C for 1 h, cooled to room temperature, diluted with methanol, and purified with prep-LC-MS (pH = 2, MeCN/water with TFA) to give the desired product as a TFA salt. LC-MS calculated for CTiTfaNg (M+H) + : m/z = 447.2; found 447.3. Example 68. 2-((7-{3-Cyanophenyi)~2-(hydroxy(pfoeny!)meifoyii)~8-{pyrimi dm~4-yT}-

[l,2,4]triazolo[l,5-c]pyrimidin-5-yl)amino)nicotinonitri! e

Step 1: 2-((8-Bromo-7-(3-cyanophenyi)-2-(hydroxy(phenyl)methy!)-[L2, 4]iriazo!o[L5- cJpyrimidin-5-yl)amino)nicotinonitrile

To a solution of 3-(5-amino-8-bromo-2-(hydroxy(phenyl)methyl)-[ T ,2,4]triazolo[l,5- c]pyrimidin-7-yl)benzonitrile (from Example 45. Step 1) (50 mg, 0.12 mmol) in THE (0.60 mL) was slowly added sodium hydride (7.1 mg, 0.18 mmol, 60 wt%) at 0 °C. The reaction mixture was then stirred at r.t. for 30 min before 2-fluoronicotinonitriie (23 mg, 0.19 mmol) was added. The reaction mixture was then stirred at reflux for 2 h, quenched with water (5 mL), and extracted with EtOAc (5 x 5 mL) The combined organic layers were washed with water and brine, dried with MgSCL, and concentrated. The resulting material was purified by column chromatography eluting with 0-20% MeOH/DCM to give the desired product. LC- MS calculated for CAHisBrNgO (M+H) + : m/z == : 523.0; found 523.0.

Step 2: 2-((7-(3-Cyanophenyl)-2-(hydroxy(phetQ>l)methyl)-8-(pyrim idin-4-yl)- [ 1,2,4] triazeio{J,5-c]pyrimidin-5-yi)amino)nicotinoniiri!e

A mixture of 2-((8-bromo-7-(3-cyanophenyl)-2-(hydroxy(pheny l)methyl)- il,2,4jtriazolo[T,5-c]pyrimidin-5-yl)amino)nicotinonitrile (25 mg, 0.05 mmol), 4- (tributylstannyl)pyrimidine (17 pL, 0.05 mmol), tetrakis(triphenylphosphine)palladium(0) (5.6 mg, 4 9 mihoΐ), copper(I) iodide (1.9 mg, 9.8 fund) and cesium fluoride (15 mg, 0.10 mmol) in dioxane (0.50 mL) was heated and stirred at 140 °C for 60 min in a microwave reactor. The reaction mixture was then cooled to r.t., filtered through a Celite plug (washed with DCM), and concentrated. The resulting residue was purified by prep-LC-MS (pH = 2, MeCN/water with TFA) to give the desired product as a TFA salt. LC-MS calculated for C 29 H !9 N S0 O (M+H) + : m/z = 523.2; found 523.2.

Example 69, 3~C5-Ammo-2~((cyano(phenyl!)methylj)amino)~8-{pyrimidm~4-y!) -

[1 ,2,4]triazolo[l ,5-c] pyrimidin-7-yI)benzonit ri!e

Step 1 : 6-Chloro-N 2 ,N 2 -bis(4~methoxybenzyi)pyrimidine-2, 4-diamine

To a solution of 2,6-dichloropyrimidm-4-amine (5.0 g, 31 mmol) in 2-propanol (31 ml.) was added ACV-diisopropylethylamine (6.4 ml, 37 mmol) and bis(4- methoxybenzyl)amine (7.9 g, 31 mmol). The resulting solution was stirred at 100 °C for 16 h, cooled to r.t, diluted with water (100 niL), and extracted with EtOAc (100 mL). The organic layer was washed with water and brine, dried over anhydrous sodium sulfate, and concentrated to yield the crude product, which was used in the next step without further purification. LC-MS calculated for C20H22CIN4O2 (M+H) + : 385.1 ; found 385.1.

O-ethyl carbonisothiocyanatidate (3.1 mL, 26 mmol) was added to a 1,4-dioxane (5.0 mL) solution of 6-chloro-A r2 JV i bis(4-methoxybenzyl)pyrimidine-2, 4-diamine (1.0 g, 2.6 mmol) at r.t. The reaction mixture was then stirred at 90 °C overnight, cooled to r.t., and concentrated. The resulting material was dissolved in methanol (12 mL) and ethanol (12 mL), and L',L'-diisopropylethylamine (0.91 mL, 5.2 mmol) was added, followed by hydroxylamme hydrochoride (0.54 g, 7.8 mmol). The reaction mixture was stirred at 45 °C for 2 h, cooled to r.t, and concentrated. The resulting material was taken into EtOAc, washed with water, dried over anhydrous sodium sulfate, and concentrated. The crude material was then purified by silica gel chromatography eluting with 0% to 50% EtOAc in hexanes to afford the product. LC-MS calculated for C21H22CIN6O2 (M+H) + : 425.1; found 425.2.

Step 3: 3-(2-Amino-5-(bis(4-methoxybenzyl)amino)-[l,2,4Jtriazolo[l,5 -cJpyrimidin-7- yl)benzomtnle

Chloro(2-dicyclohexylphosphino-2',4',6'-tri-i-propyl-l,l'-bi phenyl)(2'-amino-1 ,r- biphenyl-2-yl) palladium(II) (330 mg, 0.42 mmol) was added to a mixture of (3- cyanophenyl)boronic acid (460 mg, 3.2 mmol), T-chloro-ATA^-bisfl-methoxybenzyl)- [1 , 2, 4]triazolo[l 5-c]pyrimidine-2, 5-diamine (890 mg, 2.1 mmol), and sodium carbonate (890 mg, 8.4 mmol) in 1,4-dioxane (8.8 mL) and water (1.8 mL). The mixture was purged with N 2 and stirred at 95 °C overnight. The reaction mixture was then cooled to r.t., concentrated, and purified by silica gel chromatography eluting with 0% to 50% EtOAc in DCM to afford the desired product. LC-MS calculated for C28H26N7O2 (M+H) + : 492.2; found 492.2.

Step 4: 3-(2-Amino-5~(bis(4-methoxybenzyl)amino)~8-bromo-[l,2,4]tria zolop,5-c]pyrimidin~ 7-yl)benzonitrile

To a solution of 3-(2-amino-5-(bis(4-methoxybenzyl)amino)-[l,2,4]triazolo[l,5 - c]pyrimidin-7-yl)benzonitrile (330 mg, 0.66 mmol) in DMF (1.4 mL) was slowly added NBS (120 mg, 0.66 mmol) at 0 °C. The reaction mixture was then stirred at r.t. for 30 min before water (10 mL) was added. The resulting solid was collected by filtration, and dried to obtain the desired product. LC-MS calculated for C ^HisBrN-zOs (M+H) : m/z = 570.1; found 570.2. Step 5: 3-(2-Amino-5-(bis(4-methoxybenzyl)amino)-8-(pyrimidin-4-yl)- IL2,4]triazolo[l,5- c]pyrimidin-7-yl)benzonitrile

A mixture of 3~(2-amino-5~(bis(4-mefhoxybenzyl)amino)-8~bromo~

il,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile (350 mg, 0.61 mmol), 4- (tributylstannyi)pyrimidine (210 pL, 0.67 mmol), ietrakis(triphenylphosphine)pailadium(0) (70 mg, 0.060 mmol), copper(l) iodide (23 mg, 0.12 mmol) and cesium fluoride (180 mg, 1.2 mmol) in dioxane (4.7 mL) was heated and stirred at 140 °C for 30 min in a microwave reactor. The reaction mixture was then cooled to r.t, filtered through a Celite plug (washed with DCM), and concentrated. The resulting material was purified by silica gel column chromatography eluting with 0-20% MeOH/DCM to give the desired product. LC-MS calculated for C 32 H 28 N 9 O 2 (M+H) + : m/z = 570.2; found 570 3.

Step 6: 3-(5-Amino-2-( (cyano(phenyl)methyl)amino)-8-(pyrimidin-4-yl)-[J 2, 4 ]triazolo[l,5- c]pyrimidin-7-yl)benzonitrile

A mixture of 3~(2-amino-5~(bis(4-metfaoxybenzyl)amino)-8~(pyrimidin~4-yi) ~

[l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzoiiitrile (20 mg, 0.04 mmol) and benzaldehyde (7.2 pL, 0.070 mmol) in DCM (0.20 mL) and methanol (0.20 mL) wore heated and stirred at 100 °C for 5 min. The reaction mixture was cooled to r.t. and trimethylsilyl cyanide (19 pL, 0.14 mmol) was added. After stirring at 100 °C for 30 min, the reaction mixture was cooled to r.t., diluted with EtOAc, washed with water and brine, dried over anhydrous sodium sulfate, and concentrated. Trifluoroacetic acid (1.0 mL) was then added to the resulting residue and the mixture was stirred at 100 °C for 30 min, cooled to r.t., and concentrated. The resulting residue was purified by prep-LC-MS (pH = 2, MeCN/water with TFA) to give the desired product as a TFA salt. LC-MS calculated for C 24 H 17 N 10 (M+H)': m/z = 445.2; found 445.2. Example 70, 3-(5-Amino-8-(pyridin-4-yl)-2-(tetrahydrofuran-3-yl)-[l,2,4] triazolo[l,5- c]pyrimidiii-7-yI)benzoniiri!e

Step I: 3-(5-Amino-8-bromo-2-(tetrahydrofuran-3-yl)-[J,2,4Jlriazolo[ J5-c]pyrimidin-7- yl)benzonithie

This compound was prepared using similar procedures as described for Example 41, Step 1 to Step 4, with teirahydrofuran-3-carbohydrazide replacing 2-(pyridin-2~

yllacetohydrazide in Step 3. LCMS calculated for C eHuBrNgO (M+H) : 385.0; found 385.0. Step 2: 3-(5-Amino-8-(pyridin-4~yi)-2~(tetrcihydrofimm-3-yl)~[l,2,4] triazolo[l s 5-c]pyriinidm - 7 -yl) h enzonitrile

A mixture of 3-(5-amino-8-bromo-2-(tetrahydrofuran-3-yl)-[l,2,4]triazolo[ l,5- c]pyrimidm-7-yl)benzonitrile (15 mg, 0 039 mmol), pyridin-4-ylboronic acid (10 mg, 0.078 mmol), chloro(2-dicyclohexylphosphino-2',4',6'-triisopropyl-l , 1’-biphenyl) [2-(2'-amino-l , 1 biphenyl)]pa31adium(II) (3.1 mg, 3.89 pmol), and sodium carbonate (12.4 mg, 0 117 mmol) in 1,4-dioxane (1.0 niL) and water (0.2 mL) was purged with N 2 and stirred at 90 °C overnight. The reaction mixture was then cooled to r.t, concentrated, and purified by prep-LC-MS (pTI = 2, MeCN/water with TEA) to give the desired product as a TEA salt. LC-MS calculated for ( : i i ixN 0 (M+H) : m/z = 384.1; found 384.1.

Example 71. 3-(5-Amino-2-(phenyl(pyridin-2-yloxy)methyl)-8-(pyriimdin-4- yl)- [1 ,2,4]triazolo[l ,5-cJpyrimidin-7-yl)benzonitrilc

Step 1: 3-(5-Amino-8-bmmo-2-(phenyl(pyridin-2-yloxy)methyl)-[l ,2,4]triaåolo[l,5- c]pyrimidin-7-yl)benzonitrile

To a solution of 3 -(5 -ammo-8-bromo-2-(hy droxy (pheny l)methy 1)- [ 1 ,2,4 j triazolo [1,5- c]pyrimidin-7-yl)benzonitrile (from Example 45, Step 1) (110 mg, 0.261 mmol) in DCM (2 mL) was added thionyl chloride (0.057 mL, 0.783 mmol). The reaction solution was stirred at r.t for 1 h, and concentrated. The resulting residue was dissolved in DMF (1 mL), and added potassium carbonate (108 mg, 0.783 mmol) and pyridin-2-ol (49.7 mg, 0.522 mmol). The reaction mixture was then stirred at 90 °C for 2 h, cooled to r.t., quenched with water, and extracted with DCM. The combined organic layers were dried over MgSO + , concentrated, and purified by flash chromatography on a silica gel column eluting with 50% EtOAc in dichloromethane to afford the desired product. LCMS calculated for (ArHr / BrN-O (M+H) + : 498.1. Found: 498.1.

Step 2: 3-(5-Amino-2-(phenyl(pyridm-2-yloxy)methyl)-8-(pyrimidin-4-y l)-[L2,4]triaåoio[l,5- c Jpyrimidin- 7-yl)benzonitrile

To a mixture of 3-(5-amino-8-bromo-2-(phenyl(pyridin-2-yloxy)methyl)- [l,2,4]triazolo[T,5-c]pyrimidin-7-yl)benzonitrile (15 mg, 0.030 mmol), 4- (tribuiylstannyl)pyrimidine (22.2 mg, 0.060 mmol), and lithium chloride (5.1 mg, 0.120 mmol) in 1,4-dioxane (100 pL) was added dichlorobis(triphenylphosphine)-palladium(II) (2.1 mg, 3.01 prnol) and copper(I) chloride (1 1.9 mg, 0.120 mmol). The resulting mixture was purged with N 2 and stirred at 100 °C overnight. The reaction mixture was then cooled to r.t., concentrated, and purified by prep-LC-MS (pH = 2, MeCN/water with TFA) to give the desired product as a TFA salt. LC-MS calculated for C 28 H 20 N 9 O (M+H)' : m/z = 498.2; found 498.1.

Example 72. 3-(5-Ammo~2-(2-fSuoro-6~(((3i?,4i?)~3-f!uoro-4~hydroxypyrre! idin-l~ yJ)methyl)benzyI)-8-(pyrimidin-4-yl)-[l,2,4]triazolo[l,5-c]p yriimdin-7-yi)benzoiiitriIe

2-Hydroxyacetohydrazide (2.34 g, 26.01 mmol) was added to a ethanol (35 mL) solution of 3-(2-amino-6-chloropyrimidin-4-yl)benzonitrile (4.00 g, 17.34 mmol) (Example 41, Step 1) at r.t. After being heated and stirred at reflux for 2 h, the reaction mixture was cooled to r.t., and concentrated. The resulting residue was taken into N.O- bis(triniethylsiiyl)acetamide (20 mL) and stirred at 120 °C for 7 h. The mixture was then cooled to r.t, poured onto ice, and allowed to stir at r.t. for 1 h. The resulting solid was collected by filtration, and taken into 20 mL of 1 N HC1 solution. The resulting mixture was stirred at r.t. for 1 h, filtered, and the aqueous layer was neutralized by addition of saturated NaHCOa solution. The resulting precipitate was collected by filtration, and dried to obtain the desired product as a brown solid. LCMS calculated for CiaHuNgO (M+H) + : 267.1; found 267 1

Step 2: 3-(5-Amino-8-bromo-2-(hydrox me(hyl)-[J2,4jtriazo!o[U-c]pyrimidin-7- yl)benzomtrile

To a mixture of 3-(5-ammo-2-(hydroxymethyl)-[l,2,4]triazolo[l,5-c]pyrimidin- 7- yl)benzonitrile (1.0 g, 3.76 mmol) in DMF (12 mL) at -30 °C was added NBS (0.67 g, 3.76 mmol) portion-wise. The reaction mixture was allowed to slowly warm to 0 C, resulting a homogenous solution. After stirring at 0 °C for 1 h, the reaction mixture was diluted with saturated NaHCCfi solution and the desired product was collected by filtration and dried. LCMS calculated for C ]3 HioBrN 6 0 (M+H) + : 345 0; found 345.0.

Step 3: 3~(5-Amino~2-(hydroxymetkyl)~8-(pyHmidin~4-yl)~[l,2, 4 jtriazolo[l, 5-c jpyrimidin- 7- yl)benzonitr,ie

Tetrakis(triphenylphosphme)palladium(0) (0.067 g, 0.058 mmol) was added to a mixture of 4-(tributylstannyl)pyrimidine (0.321 g, 0.869 mmol), 3-(5-amino-8-bromo-2- (hydroxymethyl)-| l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile (0.20 g, 0.579 mmol), CsF (0.176 g, 1.159 mmol), and copper(I)iodide (0.022 g, 0.116 mmol) in 1,4-dioxane (5.0 mL). The reaction mixture w¾s purged with N 2 and stirred at 80 °C for 7 h. The resulting mixture was cooled to r.t, concentrated and purified by flash column chromatopraphy eluting with 0% to 10% methanol in DCM to afford the product. LC-MS calculated for CnH^NgO (M+H) : 345.1; found 345.1.

Step 4: 3-(5-Amino-2-(chloromethyl)-8-(pyrimidin-4-yl)-[J2,4]triazol o[J5-c]pyrimidin-7- yl)benzonitrile

To a mixture of 3-(5-amino-2-(hydroxymethyl)-8-(pyrimidin-4-yl)- [l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzomtrile (0.1 g, 0.290 mmol) in Acetonitrile (10 ml) was added thionyl chloride (0.212 ml, 2.90 mmol) at r.t. The reaction mixture was stisTed at r.t. for 5 h, concentrated, and purified by flash chromatography eluting with 0% to 5% methanol in DCM to afford the product. LC-MS calculated for GV / HnClNg (M+H) + : 363.1 ; found 363.1.

Step 5: 3-(5-Amino-2-(2-fliioro-6-(ty>droxymeth l)benz l)-8-(pyrimidin-4-yl)-

A mixture of 3 -(5 -amino-2-(chloromethyl)-8-(py rimidin-4-y 1)- [ 1,2,4] triazolo [1,5- c]pyrimidin-7-yl)benzomtrile (0.2 g, 0.55 mmol), (2~fluoro~6-(hydroxymethyl)phenyi)boronic acid (0.141 g, 0.827 mmol), chloro(2-dicyclohexylphosphino-2',4',6'-tri-i-propyl-l,r- biphenyl)(2'-amino-l,r-biphenyl-2-yl) palladium(II) (0.551 mmol) and NaiCCL (0.1 17 g, 1.10 mmol) in Dioxane (30 mL) and water (3.0 mL) was stirred at 110 °C for 2 h. The resulting mixture was cooled to r.t., and diluted with water (20 mL). The resulting solid was collected by filtration, and dried to afford the product. LCMS calculated for CT + HigFNgO (M+H) + : 453 2; found 453.2

To a mixture of 3~(5-Arnino~2-(2-fiuoro-6-(hydroxymethyl)benzyi)-8-(pyrimidi n~4- yl)-[l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile (0.2 g, 0.290 mmol) in acetonitrile (10 ml) was added thionyl chloride (0.212 ml, 2.90 mmol) at r.t. The reaction mixture was stirred at r.t. for 5 h, concentrated, and purified by flash chromatography eluting with 0% to 5% methanol in DCM to afford the product. LC-MS calculated for CT HnClFNg (M+H) + : 471.1; found 471.1.

Step 7: 3-{5-Amim-2-(2-fluoro-6-(((3R,4R)-3-fluoro-4-hydroxypyrrolid in-l- yl)inethyl)henzyl)~8-(pyrimidin-4-yl)~[l,2,4]triazolo[l,5-c] pyrimidm-7-yl)henzonitrile

A mixture of 3-(5-amino-2-(2-(chloromethy l)-6-fluorobenzyl)-8-(pyrimidm-4-yl)- [l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile (10 mg, 0.021 mmol), (3RAR)-4- fluoropyrrolidm-3-ol hydrochloride (4.51 mg, 0.032 mmol) and CS2CO3 (20.7 mg, 0.064 mmol) in DMF (1 mL) was stirred at 100 °C for 10 min. The reaction mixture was then cooled to r.t., diluted with methanol (4 mL), and purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TFA salt. LCMS calculated for C 2.8 H 24 F 2 N 9 O ( M i l ) : 540.2; found 540.2.

Example 73, 1 -(2-((5-Amino-7-(3-cyanophenyl)-8-(pyrimidin-4-yl)-[l ,2,4]triazolo[l ,5- c]pyrimidm-2-yI)methy!)-3-fluorobenzy!)piperidine-4-carfooxy Iic add

Step l : Meihyl l-(2-((5-amino-7-(3-cyanophenyl)-8-(pyrimidin-4-yl)-[l ,2,4]triaåolo[l,5-

This compound was prepared using similar procedures, on the same scale, as described for Example 72, with methyl piperidine-4-carboxylate replacing (3i?,4i?)-4- fluoropyrrolidin-3-ol hydrochloride in Step 7. LCMS calculated for C 31 H 29 FN 9 O 2 (M+H) + : 578.2; found 578.2.

Step 2: 1 ~(2-((5 -Amino- 7 -(3-cyanophenyl)-8-(pyrimidm-4-yl)-[l, 2, 4]triazolo[l ,5-cjpyrmiidin- 2-yl)methyl)-3-fluorobenzyl)piperidine-4-carboxylic acid

The product from the previous step was treated with LiOH (2.5 nig, 0.106 mmol) in water (2.0 ml,), and stirred at r.t for 1.5 h. The mixture was diluted with methanol (5 ml,) and purified by preparative LC-MS (pH 2, acetonitrile/ water with TFA) to afford the product as a TFA salt. LCMS calculated for C 30 H 27 FN 9 Q 2 (M+H) + : 564.2; found 564.2.

Example 74, /V-(2-((5-Amino-7-(3-cyanophenyl)-8-(pyrimidiii-4-yl)-[l ,2,4]triazolo[l,5- c] p rimidin-2-yl)methyl)-3-fluorobenzy l)-iV-methyImethanesulfonamide

This compound was prepared using similar procedures as described for Example 72, with A-methylinethanesulfonamide replacing (3i?,4i?)-4-fluoropyrrolidin-3-ol hydrochloride in Step 7. The product was purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TFA salt. LCMS calculated for C 26 H 23 FN 9 O 2 S (M+H) l : 544.2; found 544.2. Example 75. 3-(5-Aniino-2-(2-((2,5-dioxoimidazoIidin-l-yl)niethyl)-6-flu orobenzyI)-8- (pyrimidin-4-y!)- [1 ,2,4]t riazolo[l ,5-c] pyrimidin-7-yl)benzonitrile

This compound was prepared using similar procedures as described for Example 72, with hydantoin replacing (3i?,4i?)-4-fluoropyrrolidin-3-ol hydrochloride in Step 7. The product was purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TFA salt. LCMS calculated for C27H20FN10O2 (M+H)L 535.2; found 535.2.

Example 76. 3-(5-Amino-2-((2,6-difhiorophenyl)(hydroxy)methyl)-8-(pyrimi diii-4-yl)- [l,2,4]triazolo[l,5-c]pyriimdin-7-yl)benzonitrile (Peak 1)

Concentrated sulfuric acid (1.42 mL, 27 mmol) was added to a methanol (45 mL) solution of 2,6-difluoromandelic acid (5 g, 27 mmol) at 0 °C. The mixture was stirred at r.t. for 4 h before being concentrated. To the resulting slurry was added saturated NaHC(¾ solution (30 mL). The resulting mixture w¾s extracted with DCM (3x20 mL). The combined organic layers were washed with water, dried over Mg 2 SO , filtered, and concentrated to afford the crude product, which was used in the next step without further purification. LC-MS calculated for C11H12F2NO 3 (M+H+MeCN) + : m/z = 244.1 ; found 244.2.

Step 2: 3-(5~Amino-2~((2, 6-difluorophenyl) (hydroxy)methyl)-8-(pyrimidin~4-yl)~

[l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile

This compound was prepared using similar procedures as described for Example 41, with methyl 2-(2,6-difluorophenyl)-2-hydrox acetate replacing methyl 2-(pyridin-2-yl)acetate in Step 2. The two enantiomers were separated by chiral SFC using a Phenomenex Lux Cellulose-1 column (21.2 x 250mm, 5mth particle size) eluting with an isocratic mobile phase 25% MeOH in CO2 with a flow rate of 80 mL/minute. Peak 1 was isolated, and further purified by prep-LCMS (pH = 2, MeCN/water with TFA) to give the desired product as a TFA salt. LC-MS calculated for ( HM'L ϋ (M+Hf: m/z = 457.1; found 457.1. Ή NMR (500 MHz, DMSO) d 894 (d, .7= 1.3 Hz, 1H), 8.81 (d,/- 5.2 Hz, 1H), 7.85 (dd, 7 = 5.3, 1.4

Hz, 111).7.81 (dt, J = 7.4, 1.5 Hz, ill).7.76 (i../ 1.7 Hz, ill).7.55 (dt,./- 7.8, 1.5 Hz, 111),

7.49 (t ,J = 78 Hz, 1H), 7.44 (tt, J= 8.4, 6.4 Hz, 1H), 709 (t ,J= 83 Hz, 2H), 6.27 (s, 1H). Example 77, 3-(5-Amino-2-((2,6-difluorophenyl)(hydroxy)methyl)-8-(pyrimi din-4-yl)- [l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile (Peak 2)

This compound rvas prepared using the same procedures as described for Example 76. The two enantiomers were separated by chiral SFC using a Phenomenex Lux Cellulose-1 column (212 x 250mm, 5 pm particle size) eluting with an isocratic mobile phase 25% MeOH in CO2 with a flow rate of 80 mL/minute. Peak 2 was isolated, and further purified by prep- LCMS (pH = 2, MeCN/water with TFA) to give the desired product as a TFA salt. LC-MS calculated for C df-HWO (M+H) + : m/z = 4571; found 4571 ! H NMR (500 MHz, DMSO) 68.94 (d, J - 1.3 Hz, li!s.8.81 id../ 5.2 Hz, !lli.7.85 (dd, - 5.3, 1.4 Hz, 1H), 7.81 (dt, J

= 74, 1.5 Hz, 1H), 7.76 (t ,J= 1.7 Hz, 1H), 7.55 (dt,./- 78, 1.5 Hz, 1H), 7.49 (t, J- 7.8 Hz, 111).7.44 (tt, ./ 8.4, 6.4 Hz, 1H), 7.09 (t, J= 8.3 Hz, 2H), 6.27 (s, lit).

Example 78.3-(5-Amino-2-((5-(pyridin-2-yl)-lH-tetrazol-l-yl)methyl)- 8-(pyrimidin-4- yi)-[l ,2,4]tr!iizolo[l ,5-c]pyrimidin-7-yl)benzonitrile

A mixture of 3-(5-amino-2-(chloromethyl)-8-(pyrimidin-4-yl)-[l,2,4]triazo lo[l,5- c]pyrimidin-7-yl)benzonitrile (10 mg, 0.028 mmol) (From Example 72, Step 4), 2-fTH- tetrazol-5-yl)pyridine (8.1mg, 0.055 mmol) and CS2CO3 (20.7 mg, 0.064 mmol) in DMF (1 inL) was stirred at 100 °C for 10 min. The reaction mixture was then cooled to r.t, diluted with methanol (4 mL), and purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TFA salt. LCMS calculated for C 23 H 16 N 13 (M+H) + : 474.2; found 474.2. ¾ NMR (500 MHz, DMSO) d 8 99 (d, ./ = 1 4 Hz, 1H), 8.85 (d, J = 5.3 Hz, l l ! i. 8.80 - 8.71 (m, i l l ). 8.71 - 8.39 (b, 2H), 8.18 (d, J = 7.7, 1.1 Hz, 1H), 8.04 (t, J = 7.8, 1.8 Hz, 1H), 7.85 (m, 2H), 7.80 - 7 76 (m, IH), 7.62 - 7.55 (m, 2H), 7 53 (t, ./ = 7.8 Hz, 1H),

6.39 (s, 2H).

Example 79. 3-(2-((5-(lH-Pyrazol-l-yl)-lH-tetrazol-l-yl)methyl)-5-amino- 8-(pyrimidin- 4-yl)-[l,2,4]triazolo[i,5-c]pyrimidin-7-yl)benzonitrile

This compound was prepared using similar procedures as described for Example 78, with 5-(lH-pyrazol-l-yl)-l H-tetrazole replacing 2-(l H-tetrazol-5-yl)pyridme. The product was purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TFA salt LCMS calculated for CLI H ISNK (M+H) + : 463.2; found 463.2.

Example 80. 3-(5-Amino-8-(pyrimidin-4-yl)-2-((5-(thiazol-4-yl)-lH-tetraz ol-l-yI)methyl)- [1 ,2,4]triazolG[l,5-c]pyrimidtn-7-y!)benzonitrik

This compound was prepared using similar procedures as described for Example 78, with 4-(lH-tetrazol-5-yl)thiazole replacing 2-(lH-tetrazol-5-yl)pyridine. The product was purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TFA salt. LCMS calculated for C 21 H 14 N 13 S (M+H) + : 480.1; found 480.1.

Example 81. 3-(5-Amino-2-((5-methyl-3-(trifluoromethyl)-l H-pyrazol-1 -yl)methyl)-8- (pyrimidin-4-y!)- [1 ,2,4]t riazolo[l ,5-c] pyrimidin-7-yl)benzonitrile

This compound was prepared using similar procedures as described for Example 78, with 5- methyl-3-(trifluoromethyl)-lH-pyrazole replacing 2-(lH-tetrazol-5-yl)pyridine. The product was purified by preparative LC-MS (pH 2, acetonitrile/water with TEA) to afford the product as a TEA salt LCMS calculated for C ^HiiETN io (M+H) + : 477.2; found 477.1.

Example 82, 3-(5-Aimno-8-(4-ethyIoxazol-5-yl)-2-(pyridin-2-ylniethyl)- [l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile

This compound was prepared using similar procedures as described for Example 42 with 4-ethyl-5-(4,4,5,5-tetramethyl-l ,3,2-dioxaborolan-2-yi)oxazoie replacing l-ethyl-5- (4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-lf/-pyrazole. The final material was purified by preparative LC-MS (pH 2, acetonitrile/water with TEA) to afford the product as a TEA salt. LCMS calculated for CbsH gNsO (M+H)f 423.2; found 423.2.

Example 83, 3-(5-Amino-8-(l-ethyl-lH-l,2,3-triazol-5-yl)-2-(pyridin-2-yl mcthyl)- [1 ,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile

This compound was prepared using similar procedures as described for Example 41, Step 5, with i~eihyl-5~(trimethyistannyl)-lH~l, 2, 3-triazole replacing 4-

(tributylstannyl)pyrimidine. The final material was purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TFA salt. LCMS calculated for C 2 2H] 9 N IO (M+H)L 423 2; found 423 2

Example 84, 3-(5-Amino-8-(4-methyloxazol-5-yl)-2-((3-methyIpyridin-2-yl) methyl)-

[1 ,2,4]triazolo[l ,5-c] pyrimidin-7-yI)benzonit ri!e

Step 1 : 3-(5-Amino-8-bromo-2-( (3-methylpyridin-2-yl)methyl)-[J2, 4]triazolo[l , 5- c]pyrirnidin-7-yi)benzonitrile

This compound was prepared using similar procedures as described for Example 41 Step 3 to Step 4, with 2-(3-methylpyridin-2- l)acetoh drazide replacing 2-(pyridin-2- yl)acetohydrazide in Step 3. LCMS calculated for CisHisBrN ? (M+HG: 420.1; found 420.1. Step 2: 3-(5-Amino-8-(4-methyloxazol-5-yl)-2-((3-melhylpyridm-2-yi)m ethyl)-

[1.2.4]iriazoio[l, 5-c]pyrimidin- 7-yl)benzonitrile

This compound was prepared using similar procedures as described for Example 61, Step 2, with 3-(5-amino-8-bromo-2-((3-methylpyridin-2-yl)methyl)-[l,2,4]t riazolo[l,5- c]pyrimidin-7-yl)benzonitrile replacing 3-(5-Amino-8-bromo-2-(pyridi:n-2-ylmethyl)-

[1.2.4]triazolofl,5-c]pyrimidin-7-yl)benzonitrile. The final material was purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TFA salt. LCMS calculated for ί MI LAM) (M+H) + : 423 2; found 423 2

Example 85. 3-(5-Amino-2-((3-fluoropyridin-2-yl)methyl)-8-(4-(hydroxymet hyl)-2- methyloxazo!-5-yl)-[l,2,4]triazolo[l,5-c]pyrimidin-7-yl)beii zon!triie

This compound was prepared using similar procedures as described for Example 62,

Step 3 to Step 4, with 3-(5-Ammo-8-bromo-2-((3-fluoropyridm-2-yl)methyl)- [l,2,4]triazolo[l,5-c]pyriinidin-7-yl)benzonitrile replacing 3-(5-Ainino-8-bromo-2-(pyridm-2- ylmethyl)-[l,2,4]lriazolo[l,5-c]pyrimidin-7-yl)benzonitrile in Step 3. The final material was purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TFA salt. LCMS calculated for (\· .H , C I \,i), (M+H) + : 457.2; found 457.2.

Example 86. 3-(5-Amino-2-(2-((l ,l-dioxidoisothiazolidin-2-yl)methyl)-6-fluorobenzyl)-8- (pyrimidin-4-yl)-[l ,2,4]triazolo[l ,5-c]pyrimidin-7-yl)benzonitrilc

This compound was prepared using similar procedures as described for Example 72, with 1,2-thiazolidine 1 ,1 -dioxide replacing (3R, 4i?)-4-fluoropyrrolidin-3-ol hydrochloride in Step 7. The product was purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TFA salt. LCMS calculated for C 27 H 23 FN 9 O 2 S (M+H)': 556.2; found 556.2.

Example 87. 3-(5-Amino-2-(2-fluoro-6-((3-methyl-2,5-dioxoimidazolidin-l- y!)methy!)benzyI)-8-(pyrimidtn-4-y!)-[l,2,4]triazo!o[l,5-e]p yrimidin-7-y!)benzomtriIe

This compound was prepared using similar procedures as described for Example 72, with l-methyhmidazolidine-2,4-dione replacing (3i?,4i?)-4-fhioropyrrolidin-3-ol hydrochloride in Step 7. The product was purified by preparative LC-MS (pH 2,

acetonitrile/water with TFA) to afford the product as a TFA salt LCMS calculated for C 28 H 22 FN 10 O 2 (M+H) 1 : 549.2; found 549.2. Example 88. 3-(5-Amino-2-((3-fluoropyridin-2-yI)methyl)-8-(pyrimidin-4-y l)- [l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile

This compound was prepared using similar procedures as described for Example 41, Step 5, with 3-(5-amino-8-bromo-2-((3-fluoropyridm-2-yl)methyl)-[l,2,4]tr iazolo[l,5- c]pyrimidin-7-yl)benzonitrile (Example 52, Step 2) replacing 3-(5-amino-8-bromo-2-(pyridin- 2-yhnethyl)-[ l,2,4]triazolo[l,5-c]pyrimidin-7~yi)benzanitrile. The final material was purified by preparative LC-MS (pH 2, acetonitrile/water with TEA) to afford the product as a TEA salt. LCMS calculated for C A i i-FW. ( M i l ) : 424.1; found 424.1.

Example 89. 3-(5-Amino-8-(4-methyIoxazol-5-yl)-2-((6-(trifluoromethyl)py ridin-2- yl)methyl)- [1 ,2,4]t riazolo [1 ,5-cj pyrimidin-7-yl)benzonitrile

A THF (10.3 ml) solution of 2-methyl-6-(trifluoromediyl)pyridine (500 mg, 3.10 mmol) was cooled to -78°C, followed by addition of «-butyllithium (1.49 ml, 3.72 mmol) dropwise. After 10 min, diethyl carbonate (0.564 ml, 4.65 mmol) was added in one portion. The mixture was allowed to stir at -78 °C for 30 min. The mixture was then diluted with aq. NH4CI and extracted with DCM. The combined organic layers were dried over MgSO*, filtered, and concentrated. The resulting residue was purified by flash chromatography on a silica gel column eluting with 0 to 50% EtOAc in Hexanes to afford the desired product. LCMS calculated for CTJ b i L· A<> . AL U s : 234.1. Found: 234.1. Step 2: 3-(5-Ammo-8-bromo-2-( (6-(trifluoromethyl)pyridin-2-yl)methyl)-[J 2, 4 jtriazolo[l,5- c]pyrimidin-7-yl)benzonitrile

This compound was prepared using similar procedures as described for Example 41, 5 Step 1 to Step 4, with ethyl 2-(6-(trifluoromethyl)pyridin-2-yl)acetate replacing methyl 2- (pyridin-2-yl)acetate in Step 2. LCMS calculated for CwHniMfiN ? (M+H) + : 474.0; found 474 0

Step 3: 3-(5-Amino-8-(4-methyloxazol-5-yl)-2-((6-(trifluoromethyl)py ridin-2-yl)methyl)-

[1.2.4] triazolofl ,5-cJ pyrimidin - 7-yl ) b enzon itrile

0 This compound was prepared using similar procedures as described for Example 42 with 3-(5-amino-8-bromo-2-((6-(trifluoromethyl)pyridin-2-yl)methy l)-[l ,2,4]triazolo[l,5- c|pyrimidin-7-yl)benzonitrile replacing 3-(5-ammo-8-bromo-2-(pyridin-2-ylmethyl)-

[1.2.4]triazolo[l,5-c]pyrimidin-7-yT)benzoniirile, and with 4-methyl-5-(4,4,5,5-tetramethyl- l,3,2-dioxaborolao~2-yl)oxazole (Example 61, Step 1) replacing 1 -ethyl-5-(4, 4,5,5- 5 tetramethyT-l,3,2-dioxaborolan-2-yi)-l//-pyrazole. The final material was purified by

preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TEA salt. LCMS calculated for C23H16F3N8O (M+H) + : 477.1; found 477.2.

Example 90. 3-(5-Ammo-8-(4-meihyioxazoi-5-yI)-2-(pyridin-2-yimetby!)-

[1.2.4]triazolo[l,5-c]pyrimidin-7-yl)-2-fluorobenzonitril e

0

Step 1: 3-(5-Amino-8-bromo-2-(pyridin-2-ylmethyl)-[l,2,4Jtriazolof 1 ,5-c]pyrimidin-7-yl)-2- fluorobenzonitrile

This compound was prepared using similar procedures as described for Example 41, Step 1 to Step 4, with (3-cyano-2-fluorophenyl)boronic acid replacing (3- cyanophenyljboronic acid in Step 1. LCMS calculated for C gHnBrFN ? (M+H) : 424.0; found 424.0.

Step 2: 3-(5-Amino-8-(4-methyloxazol-5-yl)-2-(pyridin-2-ylmethyl)-[l ,2,4Jtriazolo[l,5 c]pyrimidin-7-yl)-2-fluorobenzonitrile

This compound was prepared using similar procedures as described for Example 42 with 3-(5-amino-8-bromo-2-(pyridin-2-ylmethyl)-[ 1 ,2,4]triazolo[ 1 ,5-c]pymnidin-7-yl)-2- fluorobenzonitrile replacing 3 -(5-amino-8-bromo-2-(pyridin-2-y Imethy 1)- [ 1 ,2,4]triazolo [1,5- c]pyrimidin-7-yl)benzomtrile, and with 4-methyl-5-(4,4,5,5-tetramethyl-I,3,2~dioxaborolan- 2-yl)oxazole (Example 61, Step 1) replacing l-ethyl-5-(4,4,5,5-tetramethyl-l,3,2- dioxaboroian-2-yl)-l//-pyrazo3e. The final material was purified by preparative LC-MS (pH 2, acetonitrile/water with TEA) to afford the product as a TEA salt. LCMS calculated for C . -S L.rXxO (M+H) + : 427.1; found 427.2.

Example 91 , 3-(5- Amino-2-((3-(hydroxymethyl)pyridin-2-yl)niethyl)-8-(4-methyl oxazol-

5-yl)-[l,2,4]triazoIo[l,5-c]pyrimidin-7-yl)benzonitrile

TBS-C1 (918 mg, 6.09 mmol) was added to a CH2CI2 (20 ml) solution of (2- met3rylpyridin-3-yl)methanoi (750 mg, 6.09 mmol) and imidazole (415 mg, 6.09 mmol) at rt. After stirring for 30 min, the mixture was diluted with water and extracted with DCM (x 3). The combined organic layers were dried over MgSO + , filtered, and concentrated. The resulting residue was purified by flash chromatography on a silica gel column eluting with 0 to 50% EtOAc in Hexanes to afford the desired product. LCMS calculated for C 13 H 24 NOS1 (M+H) + : 238 2. Found: 238.2. Step 2: Ethyl 2-(3-(((tert-butyldimelhylsilyl)oxy)methyl)pyridin-2-yl)acet ate

A THE (7.0 ml) solution 3-(((/er/-butyldimethylsilyl)oxy)methyl)-2-methylpyridine (500 mg, 2.106 mmol) was cooled to -78 °C, followed by addition of w-butyllithium (1095 mΐ, 2.74 mmol). After stirring for 1 3i at -78 °C, diethyl carbonate (765 mΐ, 6.32 mmol) was added in one portion. Then the mixture was allowed to slowly warm to room temperature and stirred overnight. The mixture was diluted with aq. NH 4 CI and extracted with DCM (x 3). The combined organic layers were dried over MgSCfi, filtered, and concentrated. The resulting residue was purified by flash chromatography on a silica gel column eluting with 0 to 50% EtOAc in Hexanes to afford the desired product. LCMS calculated for Ci fj HbgNChSi (M+H) + : 310.2. Found: 310.2.

Step 3: 3~(5-Ainino~2-((3-(hydroxyrnethyl)pyridin-2-yl)inethyl)-[l,2 ,4 j trmzoio[l,5- cjpyrimidin-7-yl)benzonitrile

This compound was prepared using similar procedures as described for Example 41,

Step 1 to Step 3, with ethyl 2-(3~(((/er/-hutyldimeihylsilyi)oxy)meihyl)pyridm~2-yi)aceta te replacing methyl 2-(pyridin-2-yl)acetate in Step 2. Then the corresponding product was taken into 3 ml, of THE and treated with 3 ml of 6 N HC1 solution. The mixture was allowed to stir at room temperature for 3 h. The mixture was diluted with water and extracted with DCM (x 3). The combined organic layers were dried over MgSCfi, filtered, and concentrated. The resulting residue was purified by flash chromatography on a silica gel column eluting with 0 to 20% MeOH in DCM to afford the desired product. LCMS calculated for CisHigN-O (M+H) + : 358.1. Found: 358.2.

Step 4: 3-(5-Amino-8-bromo-2-((3-(hydroxymelhyl)pyridin-2-y!)methy!) -[J2,4]triazolo[l,5- c jpyrim idin- 7 -yl) b enzonitrile

This compound was prepared using similar procedures as described for Example 41, Step 4, with 3-(5-amino-2-((3-(hydroxymethyl)pyridm-2-yl)methyl)-[l,2,4]t riazolo[l,5- c]pyrimidin-7-yl)benzonitrile replacing 3-(5-amino-2-(pyridin-2-ylmethyl)-

[1.2.4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile. The resulting crude mixture w'as diluted with water and extracted with DCM (x 3). The combined organic layers were dried over MgSCL, filtered, and concentrated. The resulting residue was purified by flash

chromatography on a silica gel column eluting with 0 to 15% MeOH in DCM to afford the desired product. LCMS calculated for CiaLLsBrNLQ (M+H) + : 436.1. Found: 436.0.

Step 5: 3-(5-Amino-2-((3-(hydroxymethyl)pyridin-2-yl)methyl)-8-(4-me thyloxazol-5-yl)- j 1,2,4] triazoloj 1 ,5-c]pyrimidin-7-yl)benzonitrile

This compound was prepared using similar procedures as described for Example 42, with 3-(5-amino-8-bromo-2-((3-(hydroxymethyl)pyridm-2-yl)methyl)- [l ,2,4]triazolo[l,5- c]pyrimidin-7-yl)benzonitrile replacing 3-(5-amino-8-bromo-2-(pyridin-2-ylmethyl)-

[1.2.4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile, and with 4-methyl-5-(4,4,5,5-tetramethyl- l,3,2-dioxaborolan-2-yl)oxazole (Example 61, Step 1) replacing 1 -ethyl-5-(4, 4,5,5- tetramethyl-l,3,2-dioxaborolan-2-yl)-l//-pyrazole. The final material was purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to afford the product as a TEA salt. LCMS calculated for (M+H) + : 439.2; found 439.2.

Example 92. 3-(5-Amino-2-((l-methyl-lH-pyrazol-3-yI)methyl)-8-(4-methyIo xazol-5-yl)-

[1.2.4]triazolo[l,5-c]pyrimidin-7-yl)benzomtrile

Acetyl chloride (0.355 ml, 4.99 mmol) was added to MeOH (3 ml) at 0 °C and then stirred for 20 min. To this mixture was added 2~(l-methyl~lH-pyrazol-3-yl)acetie acid (140 mg, 0.999 mmol) and then the mixture was stirred at rt overnight. The solvent w'as removed and the residue was used in the next step directly. LCMS calculated for C7H13N2O2 (M+H) + : 155.1; found 155.1.

Hydrazine (0.061 ml, 1.946 mmol) was added to a solution of methyl 2-(l-methyl- lH-pyrazol~3-yl)acetate (0 15 g, 0.973 mmol) in ethanol (1.5 mL) at rt and then the reaction mixture was heated and stirred at 100 °C for 2 h. After cooling to rt, the resulting mixture was partially concentrated until solid presented. To this mixture diethyl ether (1.0 mL) was added and the resulting solid was collected by filtration, rinsed with ether, and dried to afford the desired product as a white solid, which was used in the next step without further purification. LCMS calculated for CAHs iN + O (M+H) : 155.1 ; found 155.2.

Step 3: 3-(5-Amino-2-((l-methyl-lH-pyrazol-3-yl)methyl)-[l,2,4]triaz olo[J5-c]pyrimidin-7 - yl)benzomtrile

This compound was prepared using similar procedure as described for Example 41, Step 3, replacing 2-(pyridin-2-yl)acetohydrazide with 2-(l-methyl-lH-pyrazol-3- yl)acetohydrazide. LCMS calculated for Cr / HssNg (M+H) : 331.1; found 331.1.

Step 4: 3-(5-Amino-8-bromo-2-( ( 1 -methyl-lH~pyrazol~3-yl)methyl)-/ 1,2,4 ]triazolo[ /, 5- c Jpyrimidin- 7-yl)benzonitrile

NBS (35.6 mg, 0.200 mmol) was added to a mixture of 3 -(5-ammo-2-((l -methyl- 1H- pyrazol-3-yl)methyl)-[l,2,4]triazolo[l,5-c]pyrimidin-7-yl)be nzonitrile (66.0 mg, 0.200 mmol) in DMSQ (0.4 miyCH CL (0.4 ml) at -30 °C and the reaction mixture was stirred for 1 h. The lory boiling point solvent was removed and to the residue was added water. The resulting solid was then collected by filtration, and dried to provide the product, which -was used in the next step directly. LCMS calculated for Ci-Hi + BrNg i M · I i · : 409.1; found 409.1. Step 5: 3-(5-Amino-2-((l-melhyl-iH-pyrazol-3-yl)methy!)-8-(4-methylo xazol-5-yl)-

[1.2.4]iriazoio[l, 5-cjpyrimidin- 7-yl)benzonitrile

A mixture of 3-(5-amino-8-bromo-2-((l -methyl-lH-pyrazol-3-yl)methyl)-

[1.2.4]triazolo[l,5-c]pyrimidin-7-yT)benzonitrile (10.0 mg, 0.024 mmol), 4-methyl-5-(4, 4,5,5- tetramethyl-l,3,2-dioxaborolan-2-yl)oxazole (10.22 mg, 0.049 mmol), CsF (18.56 mg, 0.122 mmol) and chloro(l-t-butylindenyl)[2-(dicyclohexylphosphino)-2',4',6'- tri-i-propyl-l,r- biphenyl]palladium(II) (1.355 mg, 2.443 pmol) in dioxane (0.5 mL)/water (0.3 mL) was first purged with nitrogen, and then heated and stirred at 105 °C for 2 h. The reaction mixture was then cooled to rt, and concentrated. The resulting mixture was diluted with acetonitrile/water and purified using prep-LCMS (pH 2, acetonitrile/water with TFA) to afford the desired product as its TFA salt. LC-MS calculated for C21H18N9O (M+H) : m/z = 412.2; found 412.2. Example 93. 3-(5- Amino-2-((l -methyl-1 H-pyrazol-3-yl)methyl)-8-(oxazol-5-yl)-

[1.2.4]triazolo[l,5-c]pyrin)idii)-7-yl)benzonitrile

This compound was prepared using similar procedures as described in Example 92,

Step 5, replacing 4~methyl-5~(4,4,5,5-tetramethyl-!,3,2-dioxaborolan-2-y{)oxaz oie with 5- (4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)oxazole. LC-MS calculated for C20H16N9Q (M+H) + : m/z = 398.1; found 398.1.

Example 94. 3-(5-Ammo-2-((3-methylpyridin-2-yl)niethoxy)-8-(pyrimidin-4- yl)- [l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile

Step 1 : 3-(5-(Bis( 4-melhoxybenzy!)amino)~2-bromo-8~(pyrimidin-4~y!)-[l, 2, 4 jttiazolofl, 5- c]pyrimidin-7-yl)benzonitrile

To a mixture of copper(II) bromide (91 mg, 0.407 mmol) and ferf-butyl nitrite (0.054 ml, 0.407 mmol) in acetonitrile (3 mL) under nitrogen at 50 °C was added dropwise 3-(2- amino-5~(bis(4-methoxybenzyl)amino)-8~(pyrimidin-4-yi)~[l,2, 4]iriazo!o[l,5-c]pyrimidin-7~ yfsbenzonitriie (100 mg, 0.203 mmol) (from Example 69, step 5) in acetonitrile (3 mL). The mixture was stirred at 50 °C for 2 hours. After cooling to room temperature, 1 N aqueous NH 4 OH solution (20 mL) was added and the mixture wus extracted three times with CH 2 CI 2 (20 mL). The combined organic layers were dried over sodium sulfate, filtered and concentrated. The crude material was purified by silica gel column chromatography eluting with 50-100% ethyl acetate/hexane to give the desired product. LC-MS calculated for OwHzsBrNsO; ! (M+H) + : ui/z = 633 1 ; found 633 2

Step 2: 3-(5-Amino-2-((3-methylpyridin-2-yl)methoxy)-8-(pyrimidin-4- yl)-[J2,4]triazolo[J5- c]pyrimidin-7-yl)benzonitrile

A suspension of sodium hydride (60% in mineral oil, 3.8 mg, 0.095 mmol), 3-(5- (bis(4-methoxybenzyl)amino)-2-bromo-8-(pyrimidin-4-yl)-[l,2, 4]triazolo[l,5-c]pyrimidin-7- ylibenzonitrile (20 mg, 0.032 mmol) and (3-methylpyridin-2-yl)methanol (9.1 pL, 0.095 mmol) in 1,4-dioxane (1 mL) w'as heated and stirred at 110 °C under nitrogen overnight. The reaction mixture was then cooled to rt, concentrated, and added TEA (1.0 mL). The resulting mixture was then stirred at 110 °C for 30 m, cooled to rt, diluted with acetonitrile, filtered and purified by preparative LC-MS (pH 2, acetonitrile/water with TEA) to give desired product as a TEA salt. LC-MS calculated for C 23 H 18 N 9 O (M+H) + : m/z = 436.2; found 436.2. Ή NMR (600 MHz, DMSO) d 8.97 (d. ./ 1.4 Hz, i l l s. 8.88 id. J 5.2 Hz, l i ! s. 8.58 - 8.52 (m, 1H), 7.97 (d, ./ = 7 8 Hz, 1H), 7 88 (dd, ./ = 5.4, 1.4 Hz, 1 H), 7.85 (dt, ./ = 7 5, 1.5 Hz,

1 11 !. 7.78 (t, J = 1.8 Hz, l i ! s. 7.60 - 7 54 (m, 211 . 7.53 (t, J = 7.8 ITz, i l l ). 5.69 (s, 21 i s. 2.48 (s, 3H). Example 95. 3-(5-Amino-2-((6-methyIpyridin-2-yl)methoxy)-8-(pyrimidin-4- yl)- [l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile

This compound was prepared using similar procedures as described for Example 94, with (6-methylpyridin-2-yl)methanol replacing (3-methylpyridm-2-yl)methanol in Step 2. The crude was purified by preparative LC-MS (pH 2, acetonitrile/water with TEA) to afford the product as a TFA salt. LCMS calculated for C23H18N9O (M+H) + : m/z = 436.2; found 436.2.

Example 96. 2-((5-Amino-7-(3-cyanophenyl)-8-(pyrimidin-4-yl)-|l,2,4]tria zolo[l,5- c]pyrimidin-2-yl)methoxy)benzonitrile

A mixture of 3 -(5 -amino-2-(chloromethyl)-8-(py rimidin-4-y 1)- [ 1,2,4] iriazolo [1,5- c]pyrimidin-7-yl)benzonitrile (20 mg, 0.055 mmol) (from Example 72, step 4), CS2CO3 (35.9 mg, 0.110 mmol) and 2 -hydroxy benzonitrile (13.1 mg, 0.110 mmol) in acetonitrile (1.0 mL) was heated and stirred at 70 °C for l h. The resulting mixture was then cooled to room temperature, diluted with methanol, filtered and purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to give the desired product as a TFA salt. LCMS calculated for (MI PL,.O (M+H) + : m/z = 446.1 ; found 446 2

Example 97. 3-(5-Amino-2-(((3-methylpyridin-2-yl)methyl)amino)-8-(pyrimi din-4-yl)- [l,2,4]triazolo[l,5-c]pyrimidin-7-yl)benzonitrile

A mixture of Triethyl orthoformate (0.029 mL, 0.176 mmol), 3-(2-amino-5-(bis(4- methoxybenzy r i)ainmo)-8-(pyrimidin-4-yl)-[l,2,4]triazolo[l,5-c]pyri midin-7-yl)benzoaitrile (20 mg, 0.035 mmol) (from Example 69, step 5), and 3-methylpicolinaldehyde (12.8 mg, 0.105 mmol) in EtOH (1 mL) was stirred at 120 °C overnight. The reaction mixture was then cooled to 0 °C, and NaBEL (4.0 mg, 0.105 mmol) was added. After stirring at 0 °C for 1 h, the reaction mixture was quenched with a few drops of TFA and diluted with MeOH. The crude mixture was then purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to give the intermediate, which was then dissolved in TFA (1.0 mL). The resulting mixture was stirred at 120 °C for 25 min, cooled to rt, diluted with acetonitrile, and purified by preparative LC-MS (pH 2, acetonitrile/water with TFA) to give the desired product as a TFA salt LCMS calculated for C H N (M+H) + : m/z = 435.2; found 435.2.

Example A. Adenosine A2A Receptor cyclic AMP GS Assay

Stably transfected HEK-293 cells expressing the human adenosine A2A receptor (Perkin Elmer) are maintained in MEM culture medium with 10% FBS and 400 pg/ml Geneticin (Life Technologies). 18 to 24 hours prior to assay, geneticin is removed from culture. The cisbio cAMP-GS Dynamic kit utilizing the FRET (Fluorescence Resonance Energy Transfer) technology is used to measure cAMP accumulation in the cells. Compounds of the present disclosure at an appropriate concentration are mixed with 10000 cells/well in white 96 well half area plates (Perkin Elmer) for 30 min at room temperature (RT) gently shaking. Agonist, CGS21680 (R&D Technologies) at 4 nM is added to each well for 60 min at RT gently shaking. Detection reagents, d2 -labeled cAMP (acceptor) and anti-cAMP cryptate (donor) are added to each well for 60 min at RT gently shaking. Plates are read on Pherastar (BMG Labtech), fluorescence ratio 665/620 is calculated and EC determination is performed by fitting the curve of percent of control versus the log of the compound concentration using GraphPad Prism.

Example B. Adenosine A2B Receptor cyclic AMP GS Assay

Stably transfected HEK-293 cells expressing the human adenosine A2B receptor (Perkin Elmer) were maintained in MEM culture medium with 10% FBS and 100 pg/'ml Geneticin (Life Technologies). 18 to 24 hours prior to assay, geneticin was removed from culture. The cisbio cAMP-GS Dynamic kit utilizing the FRET (Fluorescence Resonance Energy Transfer) technology was used to measure cAMP accumulation in the cells.

Compounds of the present disclosure at an appropriate concentration were mixed with 10000 cells/well in white 96 well half area plates (Perkin Elmer) for 30 min at RT gently shaking. Agonist, NECA (R&D Technologies) at 12 nM was added to each well for 60 min at RT gently shaking. Detection reagents, d2-laheled cAMP (acceptor) and anti-cAMP ciyptate (donor) were added to each well for 60 min at RT gently shaking. Plates were read on Pherastar (BMG Labtech), fluorescence ratio 665/620 was calculated and EC so determination was performed by fitting the curve of percent of control versus the log of the compound concentration using GraphPad Prism The EC·» data obtained via this method are shown in Table 1.

Example C. A2A Tag-lite® HTRF Assay

Assays were conducted in black low volume 384-well polysty rene plates (Greiner 784076-25) in a final volume of 10 mE. Test compounds were first serially diluted in DMSO and 100 nl added to the plate wells before the addition of other reaction components. The final concentration of DMSO was 1%. Tag-lite® Adenosine A2A labeled cells (CisBio C ITT 1 A2A) were diluted 1 :5 into Tag-Site buffer (CisBio LABMED) and spun 1200 g for 5 mins. The pellet ¾s resuspended at a volume 10.4 X the initial cell suspension volume in Tag-lite buffer, and Adenosine A2A Receptor Red antagonist fluorescent ligand (CisBio L0058RED) added at 12.5 nM final concentration. 10 ul of the cell and ligand mix was added to the assay wells and incubated at room temperature for 45 minutes before reading on a PHERAstar FS plate reader (BMG Labtech) with HTRF 337/620/665 optical module. Percent binding of the fluorescent ligand w¾s calculated; w'here 100 nM of A2A antagonist control ZM 241385 (Tocris 1036) displaces the ligand 100% and 1% DMSO has 0% displacement. The % binding data versus the log of the inhibitor concentration was fitted to a one-site competitive binding model (GraphPad Prism version 7.02) where the ligand constant = 12.5 nM and the ligand Kd = 1.85 nM. The K, data obtained via this method are shown in Table 1. Example D. A2B Filter Binding Assay

Assa s are conducted in deep well polypropylene plates (Greiner 786201) in a final volume of 550 pL. Test compounds are first serially diluted in DMSO and 5.5ul is then added to the plate wells before the addition of other reaction components. The final concentration of DMSO is 3%. HEK293 cell membranes overexpressing the human adenosine receptor A2B (Perkin Elmer ES-113-M400UA) are diluted to 40 pg/ml in 50 mM HEPES pH 7.0, 5 mM MgCh, 1 mM EDTA (Assay buffer). [3H] 8-cyclopentyl- 1,3 -dipropylxanthine (Perkin Elmer NET974001MC) is diluted in assay buffer + 22% DMSO to 24.2 nM, and then further diluted to 1 nM by addition to the diluted membranes. 545 mΐ of the membrane and ligand mix is added to the assay wells and incubated on a shaker at room temperature for 1 hour. The membrane mix is then filtered over a UniFilter GF/C filter plate (Perkin Elmer 6005174) presoaked m 50 mM HEPES pH 6.5, 5 mM MgCE ImM EDTA 0.5% BSA and then washed with 5 ml ice cold 50 mM HEPES pH 6.5, 5 mM MgC , 1 mM EOT A 0.2% BSA. 50 mΐ MicroScint™ cocktail (Perkin Elmer 6013621) is added and plates are read on a Topcount NXT FS (Perkin Elmer). Percent binding of the [3H] ligand is calculated, where 1000 nM of LUF 5834 (Tocris 4603) control displaces the ligand 100% and 3% DMSO has 0% displacement. The % binding data versus the log of the inhibitor concentration is fitted to a one-site competitive binding model (GraphPad Prism version 7.02) where the ligand constant = 2 nM and the ligand Kd = 13 nM.

Example E, A1 and A3 SPA Binding Assays

Both assays are conducted in white 384-well polystyrene plates (Greiner 781075) in a final volume of 50 mΐ . Inhibitors are first serially diluted in DMSO and 100 nL is added to the plate wells before the addition of other reaction components. The final concen tration of DMSO is 2%.

Wheatgerm agglutinin -coated yttrium silicate SPA beads (Perkin Elmer RPNQ0023) and CHO-K1 cell membranes overexpressing each human adeonsine receptor are incubated in 50 mM HEPES pH 7.0, 5 mM MgCb, 1 mM EDTA (Assay buffer) on a rotary stirrer for 2 hours at 4 °C. The beads are pelleted by centrifugation at 6000 g for one minute, and then the supernatant with unbound membrane is discarded. The beads are re-suspended to the original volume in assay buffer. Each radioligand is diluted in assay buffer + 22% DMSO at 12.2X the final concentration, and then added to the SPA bead suspension. 50 mΐ of the SPA bead reaction mix is added to the assay wells and the plates shaken at 600 rpm for I hour at room temperature. The beads are then allowed to settle for 1 hour before reading on a Topcount NXT FS (Perkin Elmer). Percent binding of the radiolabeled ligand is calculated, where a control at >100X Ki displaces the ligand 100% and 2% DMSO has 0% displacement. The % binding data versus the log of the inhibitor concentration is fitted to a one-site competitive binding model (GraphPad Prism version 7.02). Assay conditions are provided in the table belowc

Table 1. The A 2A.. KI data (Example C) and A 2B.. CAMP EC 5 o data (Example B) are provided below.

† indicates _ _ ,

†f indicates A 2A _KI or A 2B _CAMP _ECSO > 10 nM but < 100 nM,

†t† indicates A 2A _KΪ or A ZB JAMPJEC SO > 100 nM but < 1 mM,

†††† indicates A 2A _KI or A 2B _cAMP_EC5o is greater than 1 mM.

Various modifications of the invention, in addition to those described herein, will be apparent to those skilled in the art from the foregoing description. Such modifications are also intended to fall within the scope of the appended claims. Each reference, including all patent, patent applications, and publications, cited in the present application is incorporated herein by reference in its entirety.