[C:1](=[O:4])([OH:3])[O-:2].[ClH:5].[NH2:6][CH2:7][CH2:8][NH:9][CH2:10][CH2:11][NH2:12].[C:13](=[O:16])([O-:15])[O-:14]>>[Cl-:5].[NH2:6][CH2:7][CH2:8][NH:9][CH2:10][CH2:11][NH2:12].[C:1](=[O:2])([O-:4])[O-:3].[C:13](=[O:14])([OH:16])[O-:15]The invention further discloses a process of making colestipol carbonate and/or bicarbonate salt comprising: (a) reacting diethylene triamine hydrochloride with carbonate and/or bicarbonate ions to form diethylene triamine chloride, carbonate and/or bicarbonate salt; (b) reacting and copolymerizing the diethylene triamine chloride, carbonate and/or bicarbonate salt obtained in step (a) with a copolymerizing agent, in the presence of sodium hydroxide to form a wet gel; (c) reducing the particle size of the wet gel obtained in step (b); (d) purifying the wet gel particles obtained in step (c) with water to significantly remove the chloride ions; and (e) drying the purified gel particles obtained in step (d).