The invention relates to the field of pharmacology. More specific, the invention relates to a controlled release composition. In one of the embodiments, the invention provides a method for preparing a controlled release composition comprising the steps of: - providing a solution of a recombinant gelatin and a pharmaceutical - chemically cross-linking said recombinant gelatin to obtain a three dimensional structure.