A polymer and a pharmaceutical composition employing the same are disclosed. The polymer includes a first repeating unit, a second repeating unit, and a third repeating unit. In particular, the first repeating unit isthe second repeating unit iswherein R1 is C1-6 alkyl group and the third repeating unit iswherein X isand Y is a hydrophilic polymeric moiety.