Patent ID: 8618300

Claim:
A compound of formula (I): or pharmaceutically acceptable salts thereof, wherein: A is N and B is C, or A is C and B is N; ring D is C 6-10 aryl; X 1 is â€”C(O)â€”; X 2 is â€”CH 2 C(C 1-2 alkyl) 2 â€” or X 3 is â€”C(O)â€”, or â€”C(O)â€”N(R 10 )â€”; X 4 is â€”(CH 2 ) p or â€”(CH 2 ) p â€”Oâ€”(CH 2 ) q â€”, wherein one or more hydrogen atoms of said â€”(CH 2 ) p â€”Oâ€”(CH 2 ) q â€” can be replaced by C 1-6 alkyl; R 1 is C 1-6 alkyl, C 1-6 alkoxy, C 1-6 alkoxy C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 3-6 cycloalkyl, 4 to 8-membered heterocyclyl, phenyl, 5 to 6-membered heteroaryl, or N(R 8 ) 2 â€”, wherein each C 1-6 alkyl, C 1-6 alkoxy, C 1-6 alkoxy C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 3-6 cycloalkyl, 4 to 8-membered heterocyclyl, phenyl, and 5 to 6-membered heteroaryl of said R 1 substituent where possible is optionally substituted with one to four hydroxyl, halogen, or C 1-6 alkyl; R 2 is R 9 OC(O)â€”, NH(R 8 )â€”C(O)â€” or R 9 â€”S(O) 2 â€”NHâ€”C(O)â€”; each R 3 when present is independently hydroxyl, halogen, cyano, C 1-6 alkyl, C 1-6 alkoxy, C 1-6 alkoxy C 1-6 alkyl, C 3-10 cycloalkyl, 5 to 11-membered heterocyclyl, C 6-10 aryl, 5 to 11-membered heteroaryl, R 9 â€”C(O)â€”, R 9 â€”Oâ€”C(O)â€”, N(R 8 ) 2 â€”, N(R 8 ) 2 â€”C(O)â€”, R 9 â€”C(O)â€”N(R 8 )â€”, (N(R 8 ) 2 )(R 8 Nâ•)Câ€”N(R 8 )â€”C(O)â€”, R 9 â€”S(O) j â€”, N(R 8 ) 2 â€”S(O) j â€”, R 9 â€”S(O) j â€”N(R 8 )â€”, R 9 â€”S(O) j â€”N(R 8 )â€”C(O)â€”, N(R 8 ) 2 â€”S(O) j â€”N(R 8 )â€”C(O)â€”, or N(R 8 ) 2 â€”C(O)â€”N(R 8 )â€”S(O) j â€”, wherein each C 1-6 alkyl, C 1-6 alkoxy, C 1-6 alkoxy C 1-6 alkyl, C 3-10 cycloalkyl, 5 to 11-membered heterocyclyl, C 6-10 aryl, and 5 to 11-membered heteroaryl of said R 3 substituent where possible is optionally substituted with one to four R 6 groups; R 4 is hydrogen, C 1-6 alkyl, C 3-10 cycloalkyl, 5 to 11-membered heterocyclyl, C 6-10 aryl, or 5 to 11-membered heteroaryl, wherein each C 1-6 alkyl, C 3-10 cycloalkyl, 5 to 11-membered heterocyclyl, C 6-10 aryl, and 5 to 11-membered heteroaryl of said R 4 where possible is optionally substituted with one to four R 7 groups; R 6 , and R 7 are each independently halogen hydroxyl, carboxy, C 1-6 alkyl, C 1-6 alkoxy, C 1-6 alkoxy C 1-6 alkyl, R 9 â€”C(O)â€”, R 9 â€”Oâ€”C(O)â€”, N(R 8 ) 2 â€”, N(R 8 ) 2 â€”C(O)â€”, R 9 â€”C(O)â€”N(R 8 )â€”, R 9 â€”S(O) j â€”, R 9 â€”S(O) j â€”N(R 8 )â€”, or N(R 8 ) 2 â€”S(O) j â€”; each R 8 is independently hydrogen, C 1-6 alkyl, C 3-10 cycloalkyl, 5 to 11-membered heterocyclyl, C 6-10 aryl, or 5 to 11-membered heteroaryl, wherein two R 8 groups when attached to the same nitrogen atom can join to form a 4 to 8-membered heterocyclyl; each R 9 is independently hydrogen, C 1-6 alkyl, C 3-10 cycloalkyl, 5 to 11-membered heterocyclyl, C 6-10 aryl, or 5 to 11-membered heteroaryl; R 10 is hydrogen, C 1-6 alkyl, carboxy C 1-6 alkyl, or C 1-6 alkoxy C 1-6 alkyl; j is 0, 1 or 2; m is 0, 1, 2 or 3; n is an integer from 1 to 6; and p and q are each independently 0, 1 or 2.