IP Library Patent Application 16173612
Patent Application
App. No. 16/173,612

TRIAZOLOPYRIDINES AND TRIAZOLOPYRAZINES AS LSD1 INHIBITORS

Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US None
App. No.
16/173,612
Abstract

The present invention is directed to [1,2,4]triazolo[4,3-a]pyridine and [1,2,4]triazolo[4,3-a]pyrazine derivatives which are LSD1 inhibitors useful in the treatment of diseases such as cancer.

Claims (99)

1 . A compound of Formula IVb:

or a pharmaceutically acceptable salt thereof, wherein:

n is 0, 1, 2, 3, or 4;

m is 0, 1, 2, 3, or 4:

X is N or CR X ;

R 1 is halo, C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 haloalkyl, Cy 1 , CN, OR a1 , SR a1 , C(O)R b1 , C(O)NR c1 R d1 , C(O)OR a1 , OC(O)R b1 , OC(O)NR c1 R d1 , NR c1 R d1 , NR c1 C(O)R b1 , NR c1 C(O)OR a1 , NR c1 C(O)NR c1 R d1 , C(═NR e1 )R b1 , C(═NR e1 )NR c1 R d1 , NR c1 C(═NR e1 )NR c1 R d1 , NR c1 S(O)R b1 , NR c1 S(O) 2 R b1 , NR c1 S(O) 2 NR c1 R d1 , S(O)R b1 , S(O)NR c1 R d1 , S(O) 2 R b1 , or S(O) 2 NR c1 R d1 , wherein said C 1-6 alkyl, C 2-6 alkenyl, and C 2-6 alkynyl are each optionally substituted with 1, 2, or 3 substituents independently selected from Cy 1 , halo, CN, OR a1 , SR a1 , C(O)R b1 , C(O)NR c1 R d1 , C(O)OR a1 , OC(O)R b1 , OC(O)NR c1 R d1 , NR c1 R d1 , NR c1 C(O)R b1 , NR c1 C(O)OR a1 , NR c1 C(O)NR c1 R d1 , C(═NR e1 )R b1 , C(═NR e1 )NR c1 R d1 , NR c1 C(═NR e1 )NR c1 R d1 , NR c1 S(O)R b1 , NR c1 S(O) 2 R b1 , NR c1 S(O) 2 NR c1 R d1 , S(O)R b1 , S(O)NR c1 R d1 , S(O) 2 R b1 , and S(O) 2 NR c1 R d1 ;

each R A is independently selected from halo, C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 haloalkyl, CN, NO 2 , OR a4 , SR a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)OR a4 , OC(O)R b4 , OC(O)NR c4 R d4 , NR c4 R d4 , NR c4 C(O)R b4 , NR c4 C(O)OR a4 , NR c4 C(O)NR c4 R d4 , C(═NR e4 )R b4 , C(═NR e4 )NR c4 R d4 , NR c4 C(═NR e4 )NR c4 R d4 , NR c4 S(O)R b4 , NR c4 S(O) 2 R b4 , NR c4 S(O) 2 NR c4 R d4 , S(O)R b4 , S(O)NR c4 R d4 , S(O) 2 R b4 , and S(O) 2 NR c4 R d4 , wherein said C 1-6 alkyl, C 2-6 alkenyl, and C 2-6 alkynyl are each optionally substituted by 1, 2, or 3, substituents independently selected from halo, C 1-6 haloalkyl, CN, NO 2 , OR a4 , SR a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)OR a4 , OC(O)R b4 , OC(O)NR c4 R d4 , NR c4 R d4 , NR c4 C(O)R b4 , NR c4 C(O)OR a4 , NR c4 C(O)NR c4 R d4 , C(═NR e4 )R b4 , C(═NR e4 )NR c4 R d4 , NR c4 C(═NR e4 )NR c4 R d4 , NR c4 S(O)R b4 , NR c4 S(O) 2 R b4 , NR c4 S(O) 2 NR c4 R d4 , S(O)R b4 , S(O)NR c4 R d4 , S(O) 2 R b4 , and S(O) 2 NR c4 R d4 ;

each R B is independently selected from Cy 3 , halo, C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 haloalkyl, CN, NO 2 , OR a5 , SR a5 , C(O)R b5 , C(O)NR c5 R d5 , C(O)OR a5 , OC(O)R b5 , OC(O)NR c5 R d5 , NR c5 R d5 , NR c5 C(O)R b5 , NR c5 C(O)OR a5 , NR c5 C(O)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(O)R b5 , NR c5 S(O) 2 R b5 , NR c5 S(O) 2 NR c5 R d5 , S(O)R b5 , S(O)NR c5 R d5 , S(O) 2 R b5 , and S(O) 2 NR c5 R d5 , wherein said C 1-6 alkyl, C 2-6 alkenyl, and C 2-6 alkynyl are each optionally substituted by 1, 2, or 3 substituents independently selected from Cy 3 , halo, C 1-6 haloalkyl, CN, NO 2 , OR a5 , SR a5 , C(O)R b5 , C(O)NR c5 R d5 , C(O)OR a5 , OC(O)R b5 , OC(O)NR c5 R d5 , NR c5 R d5 , NR c5 C(O)R b5 , NR c5 C(O)OR a5 , NR c5 C(O)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(O)R b5 , NR c5 S(O) 2 R b5 , NR c5 S(O) 2 NR c5 R d5 , S(O)R b5 , S(O)NR c5 R d5 , S(O) 2 R b5 , and S(O) 2 NR c5 R d5 ;

R X is H, halo, C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 haloalkyl, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)OR a8 , NR c8 C(O)NR c8 R d8 , C(═NR e5 )R b8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , NR c8 S(O)R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , or S(O) 2 NR c8 R d8 ;

each Cy 1 , Cy 3 , and Cy 5 is independently selected from C 6-10 aryl, C 3-10 cycloalkyl, 5-10 membered heteroaryl, and 4-10 membered heterocycloalkyl, each of which is optionally substituted with 1, 2, 3, or 4 substituents independently selected from R Cy ;

each R Cy is selected from halo, C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, C 2-6 alkenyl, C 2-6 alkynyl, phenyl, C 3-7 cycloalkyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, phenyl-C 1-4 alkyl-, C 3-7 cycloalkyl-C 1-4 alkyl-, (5-6 membered heteroaryl)-C 1-4 alkyl-, (4-7 membered heterocycloalkyl)-C 1-4 alkyl-, CN, NO 2 , OR a6 , SR a6 , C(O)R b6 , C(O)NR c6 R d6 , C(O)OR a6 , OC(O)R b6 , OC(O)NR c6 R d6 , C(═NR e6 )NR c6 R d6 , NR c6 C(═NR e6 )NR c6 R d6 , NR c6 R d6 , NR c6 C(O)R b6 , NR c6 C(O)OR a6 , NR c6 C(O)NR c6 R d6 , NR c6 S(O)R b6 , NR c6 S(O) 2 R b6 , NR c6 S(O) 2 NR c6 R d6 , S(O)R b6 , S(O)NR c6 R d6 , S(O) 2 R b6 , and S(O) 2 NR c6 R d6 , wherein said C 1-4 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, phenyl, C 3-7 cycloalkyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, phenyl-C 1-4 alkyl-, C 3-7 cycloalkyl-C 1-4 alkyl-, (5-6 membered heteroaryl)-C 1-4 alkyl-, and (4-7 membered heterocycloalkyl)-C 1-4 alkyl- are each optionally substituted by 1, 2, or 3 substituents independently selected from C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, halo, CN, NO 2 , OR a6 , SR a6 , C(O)R b6 , C(O)NR c6 R d6 , C(O)OR a6 , OC(O)R b6 , OC(O)NR c6 R d6 , C(═NR e6 )NR c6 R d6 , NR c6 C(═NR e6 )NR c6 R d6 , NR c6 R d6 , NR c6 C(O)R b6 , NR c6 C(O)OR a6 , NR c6 C(O)NR c6 R d6 , NR c6 S(O)R b6 , NR c6 S(O) 2 R b6 , NR c6 S(O) 2 NR c6 R d6 , S(O)R b6 , S(O)NR c6 R d6 , S(O) 2 R b6 , and S(O) 2 NR c6 R d6 ;

each R a1 is independently selected from H, C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, and Cy 5 , wherein said C 1-6 alkyl, C 2-6 alkenyl, and C 2-6 alkynyl are each optionally substituted with 1, 2, or 3 substituents independently selected from Cy 5 , halo, CN, OR a7 , SR a7 , C(O)R b7 , C(O)NR c7 R d7 , C(O)OR a7 , OC(O)R b7 , OC(O)NR c7 R d7 , NR c7 R d7 , NR c7 C(O)R b7 , NR c7 C(O)OR a7 , NR c7 C(O)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 S(O)R b7 , NR c7 S(O) 2 R b7 , NR c7 S(O) 2 NR c7 R d7 , S(O)R b7 , S(O)NR c7 R d7 , S(O) 2 R b7 , and S(O) 2 NR c7 R d7 ;

each R b1 , R c1 , and R d1 is independently selected from H, C 1-6 alkyl, C 1-4 haloalkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 6-10 aryl, C 3-10 cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C 6-10 aryl-C 1-4 alkyl-, C 3-10 cycloalkyl-C 1-4 alkyl-, (5-10 membered heteroaryl)-C 1-4 alkyl-, and (4-10 membered heterocycloalkyl)-C 1-4 alkyl-, wherein said C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 6-10 aryl, C 3-10 cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C 6-10 aryl-C 1-4 alkyl-, C 3-10 cycloalkyl-C 1-4 alkyl-, (5-10 membered heteroaryl)-C 1-4 alkyl-, and (4-10 membered heterocycloalkyl)-C 1-4 alkyl- are each optionally substituted with 1, 2, 3, 4, or 5 substituents independently selected from C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

or any R c1 and R d1 together with the N atom to which they are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkyl group optionally substituted with 1, 2, or 3 substituents independently selected from C 1-6 alkyl, C 3-7 cycloalkyl, 4-7 membered heterocycloalkyl, C 6-10 aryl, 5-6 membered heteroaryl, C 1-6 haloalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 , wherein said C 1-6 alkyl, C 3-7 cycloalkyl, 4-7 membered heterocycloalkyl, C 6-10 aryl, and 5-6 membered heteroaryl are each optionally substituted by 1, 2, or 3 substituents independently selected from halo, C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e5 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

each R a4 , R b4 , R c4 , and R d4 is independently selected from H, C 1-6 alkyl, C 1-4 haloalkyl, C 2-6 alkenyl, and C 2-6 alkynyl, wherein said C 1-6 alkyl, C 2-6 alkenyl, and C 2-6 alkynyl are each optionally substituted with 1, 2, 3, 4, or 5 substituents independently selected from C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

or any R c4 and R d4 together with the N atom to which they are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkyl group optionally substituted with 1, 2, or 3 substituents independently selected from C 1-6 alkyl, C 1-6 haloalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

each R a5 , R b5 , R c5 , and R d5 is independently selected from H, C 1-6 alkyl, C 1-4 haloalkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 6-10 aryl, C 3-10 cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C 6-10 aryl-C 1-4 alkyl-, C 3-10 cycloalkyl-C 1-4 alkyl-, (5-10 membered heteroaryl)-C 1-4 alkyl-, and (4-10 membered heterocycloalkyl)-C 1-4 alkyl-, wherein said C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 6-10 aryl, C 3-10 cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C 6-10 aryl-C 1-4 alkyl-, C 3-10 cycloalkyl-C 1-4 alkyl-, (5-10 membered heteroaryl)-C 1-4 alkyl-, and (4-10 membered heterocycloalkyl)-C 1-4 alkyl- are each optionally substituted with 1, 2, 3, 4, or 5 substituents independently selected from C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b5 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

or any R c5 and R d5 together with the N atom to which they are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkyl group optionally substituted with 1, 2, or 3 substituents independently selected from C 1-6 alkyl, C 3-7 cycloalkyl, 4-7 membered heterocycloalkyl, C 6-10 aryl, 5-6 membered heteroaryl, C 1-6 haloalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 , wherein said C 1-6 alkyl, C 3-7 cycloalkyl, 4-7 membered heterocycloalkyl, C 6-10 aryl, and 5-6 membered heteroaryl are each optionally substituted by 1, 2, or 3 substituents independently selected from halo, C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

each R a6 , R b6 , R c6 , and R d6 is independently selected from H, C 1-6 alkyl, C 1-4 haloalkyl, C 2-6 alkenyl, and C 2-6 alkynyl, wherein said C 1-6 alkyl, C 2-6 alkenyl, and C 2-6 alkynyl are each optionally substituted with 1, 2, 3, 4, or 5 substituents independently selected from C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 and S(O) 2 NR c8 R d8 ;

or any R c6 and R d6 together with the N atom to which they are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkyl group optionally substituted with 1, 2, or 3 substituents independently selected from C 1-6 alkyl, C 1-6 haloalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

each R a7 , R b7 , R c7 , and R d7 is independently selected from H, C 1-6 alkyl, C 1-4 haloalkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 6-10 aryl, C 3-10 cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C 6-10 aryl-C 1-4 alkyl-, C 3-10 cycloalkyl-C 1-4 alkyl-, (5-10 membered heteroaryl)-C 1-4 alkyl-, and (4-10 membered heterocycloalkyl)-C 1-4 alkyl-, wherein said C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 6-10 aryl, C 3-10 cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C 6-10 aryl-C 1-4 alkyl-, C 3-10 cycloalkyl-C 1-4 alkyl-, (5-10 membered heteroaryl)-C 1-4 alkyl-, and (4-10 membered heterocycloalkyl)-C 1-4 alkyl- are each optionally substituted with 1, 2, 3, 4, or 5 substituents independently selected from C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

or any R c7 and R d7 together with the N atom to which they are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkyl group optionally substituted with 1, 2, or 3 substituents independently selected from C 1-6 alkyl, C 3-7 cycloalkyl, 4-7 membered heterocycloalkyl, C 6-10 aryl, 5-6 membered heteroaryl, C 1-6 haloalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 , wherein said C 1-6 alkyl, C 3-7 cycloalkyl, 4-7 membered heterocycloalkyl, C 6-10 aryl, and 5-6 membered heteroaryl are each optionally substituted by 1, 2, or 3 substituents independently selected from halo, C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

each R a8 , R b8 , R c8 , and R d8 is independently selected from H, C 1-4 alkyl, C 1-4 haloalkyl, C 2-4 alkenyl, and C 2-4 alkynyl, wherein said C 1-4 alkyl, C 2-4 alkenyl, and C 2-4 alkynyl are each optionally substituted with 1, 2, or 3 substituents independently selected from OH, CN, amino, halo, C 1-4 alkyl, C 1-4 alkoxy, C 1-4 alkylthio, C 1-4 alkylamino, di(C 1-4 alkyl)amino, C 1-4 haloalkyl, and C 1-4 haloalkoxy; and

each R e1 , R e4 , R e5 , R e6 , R e7 , and R e8 is independently selected from H, C 1-4 alkyl, and CN;

wherein when X is N, then n is at least 1 or m is at least 1.

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

X is N or CR X ;

R 1 is halo, C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 haloalkyl, Cy 1 , CN, OR a1 , SR a1 , C(O)R b1 , C(O)NR c1 R d1 , C(O)OR a1 , OC(O)R b1 , OC(O)NR c1 R d1 , NR c1 R d1 , NR c1 C(O)R b1 , NR c1 C(O)OR a1 , NR c1 C(O)NR c1 R d1 , C(═NR e1 )R b1 , C(═NR e1 )NR c1 R d1 , NR c1 C(═NR e1 )NR c1 R d1 , NR c1 S(O)R b1 , NR c1 S(O) 2 R b1 , NR c1 S(O) 2 NR c1 R d1 , S(O)R b1 , S(O)NR c1 R d1 , S(O) 2 R b1 , or S(O) 2 NR c1 R d1 , wherein said C 1-6 alkyl, C 2-6 alkenyl, and C 2-6 alkynyl are each optionally substituted with 1, 2, or 3 substituents independently selected from Cy 1 , halo, CN, OR a1 , SR a1 , C(O)R b1 , C(O)NR c1 R d1 , C(O)OR a1 , OC(O)R b1 , OC(O)NR c1 R d1 , NR c1 R d1 , NR c1 C(O)R b1 , NR c1 C(O)OR a1 , NR c1 C(O)NR c1 R d1 , C(═NR e1 )R b1 , C(═NR e1 )NR c1 R d1 , NR c1 C(═NR e1 )NR c1 R d1 , NR c1 S(O)R b1 , NR c1 S(O) 2 R b1 , NR c1 S(O) 2 NR c1 R d1 , S(O)R b1 , S(O)NR c1 R d1 , S(O) 2 R b1 , and S(O) 2 NR c1 R d1 ;

each R A is independently selected from halo, C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 haloalkyl, CN, NO 2 , OR a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)OR a4 , NR c4 R d4 , NR c4 C(O)R b4 , S(O) 2 R b4 , and S(O) 2 NR c4 R d4 , wherein said C 1-6 alkyl, C 2-6 alkenyl, and C 2-6 alkynyl are each optionally substituted by 1, 2, or 3, substituents independently selected from halo, C 1-6 haloalkyl, CN, NO 2 , OR a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)OR a4 , NR c4 R d4 , NR c4 C(O)R b4 , S(O) 2 R b4 , and S(O) 2 NR c4 R d4 ;

each R B is independently selected from halo, C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 haloalkyl, CN, NO 2 , OR a5 , C(O)R b5 , C(O)NR c5 R d5 , C(O)OR a5 , NR c5 R d5 , NR c5 C(O)R b5 , S(O) 2 R b5 , and S(O) 2 NR c5 R d5 , wherein said C 1-6 alkyl, C 2-6 alkenyl, and C 2-6 alkynyl are each optionally substituted by 1, 2, or 3 substituents independently selected from halo, C 1-6 haloalkyl, CN, NO 2 , OR a5 , C(O)R b5 , C(O)NR c5 R d5 , C(O)OR a5 , NR c5 R d5 , NR c5 C(O)R b5 , S(O) 2 R b5 , and S(O) 2 NR c5 R d5 ;

R X is H;

each Cy 1 and Cy 5 is independently selected from C 6-10 aryl, C 3-10 cycloalkyl, 5-10 membered heteroaryl, and 4-10 membered heterocycloalkyl, each of which is optionally substituted with 1, 2, 3, or 4 substituents independently selected from R Cy ;

each R Cy is selected from halo, C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, C 2-6 alkenyl, C 2-6 alkynyl, phenyl, C 3-7 cycloalkyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, phenyl-C 1-4 alkyl-, C 3-7 cycloalkyl-C 1-4 alkyl-, (5-6 membered heteroaryl)-C 1-4 alkyl-, (4-7 membered heterocycloalkyl)-C 1-4 alkyl-, CN, NO 2 , OR a6 , SR a6 , C(O)R b6 , C(O)NR c6 R d6 , C(O)OR a6 , OC(O)R b6 , OC(O)NR c6 R d6 , C(═NR e6 )NR c6 R d6 , NR c6 C(═NR e6 )NR c6 R d6 , NR c6 R d6 , NR c6 C(O)R b6 , NR c6 C(O)OR a6 , NR c6 C(O)NR c6 R d6 , NR c6 S(O)R b6 , NR c6 S(O) 2 R b6 NR c6 S(O) 2 NR c6 R d6 , S(O)R b6 , S(O)NR c6 R d6 , S(O) 2 R b6 , and S(O) 2 NR c6 R d6 , wherein said C 1-4 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, phenyl, C 3-7 cycloalkyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, phenyl-C 1-4 alkyl-, C 3-7 cycloalkyl-C 1-4 alkyl-, (5-6 membered heteroaryl)-C 1-4 alkyl-, and (4-7 membered heterocycloalkyl)-C 1-4 alkyl- are each optionally substituted by 1, 2, or 3 substituents independently selected from C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, halo, CN, NO 2 , OR a6 , SR a6 , C(O)R b6 , C(O)NR c6 R d6 , C(O)OR a6 , OC(O)R b6 , OC(O)NR c6 R d6 , C(═NR e6 )NR c6 R d6 , NR c6 C(═NR e6 )NR c6 R d6 , NR c6 R d6 , NR c6 C(O)R b6 , NR c6 C(O)OR a6 , NR c6 C(O)NR c6 R d6 , NR c6 S(O)R b6 , NR c6 S(O) 2 R b6 , NR c6 S(O) 2 NR c6 R d6 , S(O)R b6 , S(O)NR c6 R d6 , S(O) 2 R b6 , and S(O) 2 NR c6 R d6 ;

each R a1 is independently selected from H, C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, and Cy 5 , wherein said C 1-6 alkyl, C 2-6 alkenyl, and C 2-6 alkynyl are each optionally substituted with 1, 2, or 3 substituents independently selected from Cy 5 , halo, CN, OR a7 , SR a7 , C(O)R b7 , C(O)NR c7 R d7 , C(O)OR a7 , OC(O)R b7 , OC(O)NR c7 R d7 , NR c7 R d7 , NR c7 C(O)R b7 , NR c7 C(O)OR a7 , NR c7 C(O)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 S(O)R b7 , NR c7 S(O) 2 R b7 , NR c7 S(O) 2 NR c7 R d7 , S(O)R b7 , S(O)NR c7 R d7 , S(O) 2 R b7 , and S(O) 2 NR c7 R d7 ;

each R b1 , R c1 , and R d1 is independently selected from H, C 1-6 alkyl, C 1-4 haloalkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 6-10 aryl, C 3-10 cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C 6-10 aryl-C 1-4 alkyl-, C 3-10 cycloalkyl-C 1-4 alkyl-, (5-10 membered heteroaryl)-C 1-4 alkyl-, and (4-10 membered heterocycloalkyl)-C 1-4 alkyl-, wherein said C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 6-10 aryl, C 3-10 cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C 6-10 aryl-C 1-4 alkyl-, C 3-10 cycloalkyl-C 1-4 alkyl-, (5-10 membered heteroaryl)-C 1-4 alkyl-, and (4-10 membered heterocycloalkyl)-C 1-4 alkyl- are each optionally substituted with 1, 2, 3, 4, or 5 substituents independently selected from C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e5 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

or any R c1 and R d1 together with the N atom to which they are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkyl group optionally substituted with 1, 2, or 3 substituents independently selected from C 1-6 alkyl, C 3-7 cycloalkyl, 4-7 membered heterocycloalkyl, C 6-10 aryl, 5-6 membered heteroaryl, C 1-6 haloalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 , wherein said C 1-6 alkyl, C 3-7 cycloalkyl, 4-7 membered heterocycloalkyl, C 6-10 aryl, and 5-6 membered heteroaryl are each optionally substituted by 1, 2, or 3 substituents independently selected from halo, C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

each R a4 , R b4 , R c4 , and R d4 is independently selected from H, C 1-6 alkyl, C 1-4 haloalkyl, C 2-6 alkenyl, and C 2-6 alkynyl, wherein said C 1-6 alkyl, C 2-6 alkenyl, and C 2-6 alkynyl are each optionally substituted with 1, 2, 3, 4, or 5 substituents independently selected from C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

or any R c4 and R d4 together with the N atom to which they are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkyl group optionally substituted with 1, 2, or 3 substituents independently selected from C 1-6 alkyl, C 1-6 haloalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

each R a5 , R b5 , R c5 , and R d5 is independently selected from H, C 1-6 alkyl, C 1-4 haloalkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 6-10 aryl, C 3-10 cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C 6-10 aryl-C 1-4 alkyl-, C 3-10 cycloalkyl-C 1-4 alkyl-, (5-10 membered heteroaryl)-C 1-4 alkyl-, and (4-10 membered heterocycloalkyl)-C 1-4 alkyl-, wherein said C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 6-10 aryl, C 3-10 cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C 6-10 aryl-C 1-4 alkyl-, C 3-10 cycloalkyl-C 1-4 alkyl-, (5-10 membered heteroaryl)-C 1-4 alkyl-, and (4-10 membered heterocycloalkyl)-C 1-4 alkyl- are each optionally substituted with 1, 2, 3, 4, or 5 substituents independently selected from C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

or any R c5 and R d5 together with the N atom to which they are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkyl group optionally substituted with 1, 2, or 3 substituents independently selected from C 1-6 alkyl, C 3-7 cycloalkyl, 4-7 membered heterocycloalkyl, C 6-10 aryl, 5-6 membered heteroaryl, C 1-6 haloalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 , wherein said C 1-6 alkyl, C 3-7 cycloalkyl, 4-7 membered heterocycloalkyl, C 6-10 aryl, and 5-6 membered heteroaryl are each optionally substituted by 1, 2, or 3 substituents independently selected from halo, C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

each R a6 , R b6 , R c6 , and R d6 is independently selected from H, C 1-6 alkyl, C 1-4 haloalkyl, C 2-6 alkenyl, and C 2-6 alkynyl, wherein said C 1-6 alkyl, C 2-6 alkenyl, and C 2-6 alkynyl are each optionally substituted with 1, 2, 3, 4, or 5 substituents independently selected from C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

or any R c6 and R d6 together with the N atom to which they are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkyl group optionally substituted with 1, 2, or 3 substituents independently selected from C 1-6 alkyl, C 1-6 haloalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

each R a7 , R b7 , R c7 , and R d7 is independently selected from H, C 1-6 alkyl, C 1-4 haloalkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 6-10 aryl, C 3-10 cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C 6-10 aryl-C 1-4 alkyl-, C 3-10 cycloalkyl-C 1-4 alkyl-, (5-10 membered heteroaryl)-C 1-4 alkyl-, and (4-10 membered heterocycloalkyl)-C 1-4 alkyl-, wherein said C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 6-10 aryl, C 3-10 cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C 6-10 aryl-C 1-4 alkyl-, C 3-10 cycloalkyl-C 1-4 alkyl-, (5-10 membered heteroaryl)-C 1-4 alkyl-, and (4-10 membered heterocycloalkyl)-C 1-4 alkyl- are each optionally substituted with 1, 2, 3, 4, or 5 substituents independently selected from C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

or any R c7 and R d7 together with the N atom to which they are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkyl group optionally substituted with 1, 2, or 3 substituents independently selected from C 1-6 alkyl, C 3-7 cycloalkyl, 4-7 membered heterocycloalkyl, C 6-10 aryl, 5-6 membered heteroaryl, C 1-6 haloalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 , wherein said C 1-6 alkyl, C 3-7 cycloalkyl, 4-7 membered heterocycloalkyl, C 6-10 aryl, and 5-6 membered heteroaryl are each optionally substituted by 1, 2, or 3 substituents independently selected from halo, C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

each R a8 , R b8 , R e8 , and R d8 is independently selected from H, C 1-4 alkyl, C 1-4 haloalkyl, C 2-4 alkenyl, and C 2-4 alkynyl, wherein said C 1-4 alkyl, C 2-4 alkenyl, and C 2-4 alkynyl are each optionally substituted with 1, 2, or 3 substituents independently selected from OH, CN, amino, halo, C 1-4 alkyl, C 1-4 alkoxy, C 1-4 alkylthio, C 1-4 alkylamino, di(C 1-4 alkyl)amino, C 1-4 haloalkyl, and C 1-4 haloalkoxy; and

each R e1 , R e6 , R e7 , and R e8 is independently selected from H, C 1-4 alkyl, and CN;

wherein when X is N, then n is at least 1 or m is at least 1.

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

X is N or CR X ;

R 1 is OR a1 ;

each R A is independently selected from halo, C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 haloalkyl, CN, NO 2 , OR a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)OR a4 , NR c4 R d4 , NR c4 C(O)R b4 , S(O) 2 R b4 , and S(O) 2 NR c4 R d4 , wherein said C 1-6 alkyl, C 2-6 alkenyl, and C 2-6 alkynyl are each optionally substituted by 1, 2, or 3, substituents independently selected from halo, C 1-6 haloalkyl, CN, NO 2 , OR a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)OR a4 , NR c4 R d4 , NR c4 C(O)R b4 , S(O) 2 R b4 , and S(O) 2 NR c4 R d4 ;

each R B is independently selected from halo, C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 haloalkyl, CN, NO 2 , OR a5 , C(O)R b5 , C(O)NR c5 R d5 , C(O)OR a5 , NR c5 R d5 , NR c5 C(O)R b5 , S(O) 2 R b5 , and S(O) 2 NR c5 R d5 , wherein said C 1-6 alkyl, C 2-6 alkenyl, and C 2-6 alkynyl are each optionally substituted by 1, 2, or 3 substituents independently selected from halo, C 1-6 haloalkyl, CN, NO 2 , OR a5 , C(O)R b5 , C(O)NR c5 R d5 , C(O)OR a5 , NR c5 R d5 , NR c5 C(O)R b5 , S(O) 2 R b5 , and S(O) 2 NR c5 R d5 ;

R X is H;

each Cy 5 is independently selected from 4-7 membered heterocycloalkyl, each of which is optionally substituted with 1 or 2 substituents independently selected from R Cy ;

each R Cy is selected from halo, C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, CN, NO 2 , OR a6 , C(O)R b6 , C(O)NR c6 R d6 , C(O)OR a6 , NR c6 R d6 , NR c6 C(O)R b6 , S(O) 2 R b6 , and S(O) 2 NR c6 R d6 ;

each R a1 is C 1-6 alkyl optionally substituted with Cy 5 ;

each R a4 , R b4 , R c4 , and R d4 is independently selected from H, C 1-6 alkyl, C 1-4 haloalkyl, C 2-6 alkenyl, and C 2-6 alkynyl, wherein said C 1-6 alkyl, C 2-6 alkenyl, and C 2-6 alkynyl are each optionally substituted with 1, 2, 3, 4, or 5 substituents independently selected from C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

or any R c4 and R d4 together with the N atom to which they are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkyl group optionally substituted with 1, 2, or 3 substituents independently selected from C 1-6 alkyl, C 1-6 haloalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c5 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c5 C(O)OR a5 , C(═NR e8 )NR c8 R d8 , NR c5 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

each R a5 , R b5 , R c5 , and R d5 is independently selected from H, C 1-6 alkyl, C 1-4 haloalkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 6-10 aryl, C 3-10 cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C 6-10 aryl-C 1-4 alkyl-, C 3-10 cycloalkyl-C 1-4 alkyl-, (5-10 membered heteroaryl)-C 1-4 alkyl-, and (4-10 membered heterocycloalkyl)-C 1-4 alkyl-, wherein said C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 6-10 aryl, C 3-10 cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C 6-10 aryl-C 1-4 alkyl-, C 3-10 cycloalkyl-C 1-4 alkyl-, (5-10 membered heteroaryl)-C 1-4 alkyl-, and (4-10 membered heterocycloalkyl)-C 1-4 alkyl- are each optionally substituted with 1, 2, 3, 4, or 5 substituents independently selected from C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

or any R c5 and R d5 together with the N atom to which they are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkyl group optionally substituted with 1, 2, or 3 substituents independently selected from C 1-6 alkyl, C 3-7 cycloalkyl, 4-7 membered heterocycloalkyl, C 6-10 aryl, 5-6 membered heteroaryl, C 1-6 haloalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 , wherein said C 1-6 alkyl, C 3-7 cycloalkyl, 4-7 membered heterocycloalkyl, C 6-10 aryl, and 5-6 membered heteroaryl are each optionally substituted by 1, 2, or 3 substituents independently selected from halo, C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

each R a6 , R b6 , R c6 , and R d6 is independently selected from H, C 1-6 alkyl, C 1-4 haloalkyl, C 2-6 alkenyl, and C 2-6 alkynyl, wherein said C 1-6 alkyl, C 2-6 alkenyl, and C 2-6 alkynyl are each optionally substituted with 1, 2, 3, 4, or 5 substituents independently selected from C 1-4 alkyl, C 1-4 haloalkyl, C 1-4 cyanoalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 and S(O) 2 NR c8 R d8 ;

or any R c6 and R d6 together with the N atom to which they are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkyl group optionally substituted with 1, 2, or 3 substituents independently selected from C 1-6 alkyl, C 1-6 haloalkyl, halo, CN, OR a8 , SR a8 , C(O)R b8 , C(O)NR c8 R d8 , C(O)OR a8 , OC(O)R b8 , OC(O)NR c8 R d8 , NR c8 R d8 , NR c8 C(O)R b8 , NR c8 C(O)NR c8 R d8 , NR c8 C(O)OR a8 , C(═NR e8 )NR c8 R d8 , NR c8 C(═NR e8 )NR c8 R d8 , S(O)R b8 , S(O)NR c8 R d8 , S(O) 2 R b8 , NR c8 S(O) 2 R b8 , NR c8 S(O) 2 NR c8 R d8 , and S(O) 2 NR c8 R d8 ;

each R a8 , R b8 , R c8 , and R d8 is independently selected from H, C 1-4 alkyl, C 1-4 haloalkyl, C 2-4 alkenyl, and C 2-4 alkynyl, wherein said C 1-4 alkyl, C 2-4 alkenyl, and C 2-4 alkynyl are each optionally substituted with 1, 2, or 3 substituents independently selected from OH, CN, amino, halo, C 1-4 alkyl, C 1-4 alkoxy, C 1-4 alkylthio, C 1-4 alkylamino, di(C 1-4 alkyl)amino, C 1-4 haloalkyl, and C 1-4 haloalkoxy; and

each R e8 is independently selected from H, C 1-4 alkyl, and CN;

wherein when X is N, then n is at least 1 or m is at least 1.

4 . The compound of claim 1 , or a pharmaceutically acceptable salt thereof, wherein X is N.

5 . The compound of claim 1 , or a pharmaceutically acceptable salt thereof, wherein X is CR X .

6 - 8 . (canceled)

9 . The compound of claim 1 , or a pharmaceutically acceptable salt thereof, wherein n is 1 or 2.

10 . The compound of claim 1 , or a pharmaceutically acceptable salt thereof, wherein n is 1 and R A is CN.

11 . (canceled)

12 . The compound of claim 1 , or a pharmaceutically acceptable salt thereof, wherein Ring B is m is 1 or 2.

13 . The compound of claim 1 , or a pharmaceutically acceptable salt thereof, wherein m is 2 and R B is methyl.

14 - 17 . (canceled)

18 . The compound of claim 1 , or a pharmaceutically acceptable salt thereof, wherein R X is H.

19 . The compound of claim 1 , or a pharmaceutically acceptable salt thereof, wherein each R A is independently selected from halo, C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 haloalkyl, CN, NO 2 , OR a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)OR a4 , NR c4 R d4 , NR c4 C(O)R b4 , S(O) 2 R b4 , and S(O) 2 NR c4 R d4 , wherein said C 1-6 alkyl, C 2-6 alkenyl, and C 2-6 alkynyl are each optionally substituted by 1, 2, or 3, substituents independently selected from halo, C 1-6 haloalkyl, CN, NO 2 , OR a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)OR a4 , NR c4 R d4 , NR c4 C(O)R b4 , S(O) 2 R b4 , and S(O) 2 NR c4 R d4 .

20 . The compound of claim 1 , or a pharmaceutically acceptable salt thereof, wherein each R A is CN.

21 . The compound of claim 1 , or a pharmaceutically acceptable salt thereof, wherein each R B is independently selected from halo, C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 haloalkyl, CN, NO 2 , OR a5 , C(O)R b5 , C(O)NR c5 R d5 , C(O)OR a5 , NR c5 R d5 , NR c5 C(O)R b5 , S(O) 2 R b5 , and S(O) 2 NR c5 R d5 , wherein said C 1-6 alkyl, C 2-6 alkenyl, and C 2-6 alkynyl are each optionally substituted by 1, 2, or 3 substituents independently selected from halo, C 1-6 haloalkyl, CN, NO 2 , OR a5 , C(O)R b5 , C(O)NR c5 R d5 , C(O)OR a5 , NR c5 R d5 , NR c5 C(O)R b5 , S(O) 2 R b5 , and S(O) 2 NR c5 R d5 .

22 . The compound of claim 1 , or a pharmaceutically acceptable salt thereof, wherein each R B is C 1-6 alkyl.

23 . The compound of claim 1 , or a pharmaceutically acceptable salt thereof, wherein each R B is methyl.

24 . The compound of claim 1 , or a pharmaceutically acceptable salt thereof, wherein each R a1 is C 1-6 alkyl optionally substituted with Cy 5 .

25 . The compound of claim 1 , or a pharmaceutically acceptable salt thereof, wherein each R a1 is C 1-6 alkyl optionally substituted with 4-7 membered heterocycloalkyl.

26 . The compound of claim 1 , or a pharmaceutically acceptable salt thereof, wherein each R a1 is pyrrolidinylmethyl.

27 - 28 . (canceled)

29 . The compound of claim 1 , or a pharmaceutically acceptable salt thereof, wherein Cy 5 is 4-7 heterocycloalkyl.

30 . The compound of claim 1 , or a pharmaceutically acceptable salt thereof, wherein Cy 5 is pyrrolidinyl.

31 - 37 . (canceled)

38 . The compound of claim 1 selected from:

4-{5-(4-methylphenyl)-8-[(3R)-pyrrolidin-3-ylmethoxy][1,2,4]triazolo[4,3-a]pyridin-6-yl}benzonitrile;

2-fluoro-4-{5-(4-methylphenyl)-8-[(3R)-pyrrolidin-3-ylmethoxy][1,2,4]triazolo[4,3-a]pyridin-6-yl}benzonitrile; and

4-{5-(4-methylphenyl)-8-[(3R)-pyrrolidin-3-ylmethoxy][1,2,4]triazolo[4,3-a]pyrazin-6-yl}benzonitrile;

or a pharmaceutically acceptable salt of any of the aforementioned.

39 . A pharmaceutical composition comprising a compound of claim 1 , or a pharmaceutically acceptable salt thereof, and at least one pharmaceutically acceptable carrier.

40 . A method of inhibiting LSD1 comprising contacting a compound of claim 1 , or a pharmaceutically acceptable salt thereof, with said LSD1.

41 . A method of treating a disease comprising administering to a patient a therapeutically effective amount of a compound of claim 1 , or a pharmaceutically acceptable salt thereof, wherein said disease is cancer.

42 . The method of claim 41 wherein said cancer is a hematological cancer.

43 . The method of claim 42 wherein said hematological cancer is selected from acute lymphoblastic leukemia (ALL), acute myelogenous leukemia (AML), acute promyelocytic leukemia (APL), chronic lymphocytic leukemia (CLL), chronic myelogenous leukemia (CML), diffuse large B-cell lymphoma (DLBCL), mantle cell lymphoma, Non-Hodgkin lymphoma (including relapsed or refractory NHL and recurrent follicular), Hodgkin lymphoma, primary myelofibrosis (PMF), polycythemia vera (PV), essential thrombocytosis (ET)), myelodysplasia syndrome (MDS), or multiple myeloma.

44 . The method of claim 41 wherein said cancer is a sarcoma, lung cancer, gastrointestinal cancer, genitourinary tract cancer, liver cancer, bone cancer, nervous system cancer, gynecological cancer, or skin cancer.

45 . A method of treating a disease comprising administering to a patient a therapeutically effective amount of a compound of claim 1 , or a pharmaceutically acceptable salt thereof, wherein said disease is a viral disease or a beta-globinopathy.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 10, 2021
From: INCYTE CORPORATION
To: INCYTE CORPORATION; INCYTE HOLDINGS CORPORATION
Reel/Frame 058815/0857 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 22, 2019
From: WU, LIANGXING; SUN, YAPING; WANG, XIAOZHAO; YAO, WENQING; ZHANG, COLIN
To: INCYTE CORPORATION
Reel/Frame 048674/0527 →