A controlled release polymer is provided which includes a polymer that has backbone selected from polyesters and polyurethanes, and an amide group with a pendant functional group, where the nitrogen atom of the amide group is part of the polymer backbone, and an active compound dispersed in the polymer. The active compound may be released over time from the controlled release polymer