Compounds of formulas I, II, III, and IV, and pharmaceutically acceptable salts thereof, are disclosed. This compound is an inhibitor of ALK2 kinase. A pharmaceutical composition comprising a compound of Formulas I, II, III, or IV, or a pharmaceutically acceptable salt thereof, and a compound or a pharmaceutical thereof in the treatment and prevention of a variety of diseases and conditions, such as advanced osteoplastic fibrosis Also provided are methods involving the use of acceptable salts and compositions.식 I, II, III, 및 IV의 화합물, 및 이의 약제학적으로 허용가능한 염이 개시된다. 본 화합물은 ALK2 키나제의 억제제이다. 식 I, II, III, 또는 IV의 화합물, 또는 이의 약제학적으로 허용가능한 염을 포함하는 약제학적 조성물, 및 다양한 질환 및 병태, 예컨대 진행성 골화성 섬유이형성증의 치료 및 예방에서 화합물 또는 이의 약제학적으로 허용가능한 염 및 조성물의 사용을 수반하는 방법이 또한 제공된다.