A bioerodible endoprosthesis includes a bioerodible magnesium alloy. The bioerodible magnesium alloy includes magnesium, between 7 and 8 weight percent aluminum, between 0.4 and 0.8 weight percent zinc, and between 0.05 and 0.8 weight percent manganese.