In general, the invention features resins and their use in removing bile salts from a patient that includes administering to the patient a therapeutically effective amount of the reaction product of: (a) one or more crosslinked polymers, salts and copolymers thereof characterized by a repeat unit selected from the group consisting essentially of: where n is a positive integer and each R, independe