A method is described including passing a solution having a biodegradable polymer, a solvent and a treatment agent through an electrocharged nozzle to form particles encapsulating the treatment agent. The particles emitted from the electrocharged nozzle may be exposed to a charge opposite that of the nozzle. The particles may be deposited in a collection assembly comprising a liquid phase. A further method including combining a biodegradable polymer, a solvent and a treatment agent to form a solution, electrodepositing the solution in a particle form wherein the particles encapsulate the treatment agent in a collection assembly comprising a liquid phase and mixing the particles with a bioerodable material capable of forming a gel is described. An apparatus having an electrocharged nozzle, a grounded electrode having an opposite charge to that of the nozzle and a collection assembly comprising a liquid phase is further disclosed.