A pharmaceutical formulation comprising a solid matrix of one or more biodegradable polymers, the solid matrix including a pharmaceutically active substance or a pharmaceutically acceptable salt thereof distributed homogeneously or substantially homogeneously within the matrix; wherein the pharmaceutically active substance is, for example, a gonadotropin releasing hormone (GnRH), a GnRH agonist or a GnRH antagonist.