The present invention relates to a heterocyclic compound represented by the following Chemical Formula 1 that can be used for the prevention or treatment of diseases caused by abnormality in a PRS (prolyl-tRNA synthetase) activity, or a pharmaceutically acceptable salt thereof, a method for preparing the same, and a pharmaceutical composition comprising the same.in Chemical Formula 1, n, L, X1, X2 and A are as defined in the specification.本發明係關於一種由以下化學式1表示的可用於預防或治療由PRS(脯胺醯基-tRNA合成酶)活性之異常引起的疾病的雜環化合物或其醫藥學上可接受之鹽、製備該雜環化合物之方法及包含該雜環化合物之醫藥組成物。在化學式1中,n、L、X1、X2及A係如說明書中所定義。