The invention provides an ocular composition comprising: 99 to 60% (w/w) of a photopolymerizable composition selected from the group of fragments or monomers consisting of polyalkylene glycol diacrylate and polyalkylene glycol dimethacrylate, wherein the photopolymerizable composition has a molecular weight in the range of 100 to 20,000 Dalton a biodegradable polymer selected from the group consisting of aliphatic polyester-based polyurethanes, polylactides, polycaprolactones, polyorthoesters and mixtures, copolymers, and block copolymers thereof a photoinitiator and a therapeutic agent. The composition can be used to form an ocular implant and an in situ ocular implant.