The present invention relates to a method for the preparation of a controlled release system and especially to a method for entrapment of compounds in polymer carriers for controlled release of active ingredients, preferably bioactive ingredients, such as drugs. This method results in a system for controlled release of active ingredients and especially for controlled drug delivery. In accordance with the present invention, the tem controlled release&rdquo encompasses all kinds of controlled release, including slow release, sustained and delayed release. Particularly, the present invention results in active ingredients, entrapped in or otherwise incorporated in or coupled to polymer carriers or polymeric devices, such as micelles, nanoparticles, microspheres and other types of polymer devices for controlled release the active ingredients are covalently bonded to the polymer carriers or polymeric devices.