A method for removing phosphate from a patient by ion exchange comprising orally administering to said patient a therapeutically effective amount of a composition comprising at least one polymer characterized by a repeat unit having the formula ##STR31## or a copolymer thereof, wherein n is an integer, each R1 and R2, independently, is H, a substituted or unsubstituted alkyl group containing 1 to