Provided is a compound of the general formula (I):The compound of formula (I) is suitable for treating pulmonary fibrosis, such as Idiopathic pulmonary fibrosis in a mammal. Also provided is a method for treatment of pulmonary fibrosis, such as Idiopathic pulmonary fibrosis in a human subject having a galectin-3 level indicative of pulmonary fibrosis or exacerbation of symptoms as well as a method for making said compound.