FIELD: chemistry.SUBSTANCE: invention relates to organic chemistry, specifically to a novel 2-pyridyl-substituted imidazole derivative of formula (I), where R1 is phenyl, pyridyl or thienyl, condensed with a structural fragment, which together with two ring members of said phenyl, pyridyl or thienyl forms a 5-6-member aromatic or non-aromatic saturated ring, wherein said ring optionally contains up to two heteroatoms, independently selected from O, N and S, and condensed phenyl ring is optionally substituted with one group, independently selected from halogen, -O-C-1-6alkyl, -C1-6alkyl, -O-(CH2)q-NR4R5, or 5-member heteroaryl containing up to two heteroatoms, independently selected from N; or R1 is phenyl, substituted with one or more groups, independently selected from halogen, -O-C1-6alkyl, -S-C1-6alkyl, -C1-6alkyl, -C1haloalkyl, -CN, -(CH2)p-NR4R5, -(CH2)p-NHCOR4, -(CH2)p-NHCO2R4; -(CH2)p-NHSO2R4 or N-bound 6-member heterocycle, where said heterocycle comprises two heteroatoms, independently selected from O, N, and optionally substituted with C1-6alkyl; R2 is -C1-6alkyl; R3 is H, -(CH2)p-NR4R5, -(CH2)p-CN, -(CH2)p-CO2R4, -(CH2)p-CONR4R5, -(CH2)p-OR4, -(CH2)p-NHCOR4; R4 and R5 independently denote H or -C1-6alkyl; p denotes an integer ranging from 0 to 1; q denotes 2; n denotes an integer ranging from 1 to 2; X is NR7; and R7 is H or -CO-C1-6alkyl. Invention also relates to use of a compound of formula (I), a pharmaceutical composition based on compound of formula (I) and to a method of preventing or treating diseases, based on use of compound of formula (I).EFFECT: technical result is obtaining novel heterocyclic compounds effective in treating or preventing a disease, mediated by ALK5 and/or ALK4 receptors in a mammal.8 cl, 44 ex, 1 tblИзобретение относится к области органической химии, а именно к новому 2-пиридил-замещенному производному имидазола формулы (I), где R1 представляет собой фенил, пиридил или тиенил, конденсированный со структурным фрагментом, котор