An implant, in particular an intraluminal endoprosthesis, or a semi-finished part for an implant, having a hollow cylindrical body, wherein the body includes magnesium, and the body is enriched with gallium or a gallium alloy in a region close to a surface.