A stent made entirely or partially of a cobalt alloy having the following composition:Co: 18.36-66.85% by weightCr: 17.0-30.0% by weightMn: 4.0-10.0% by weightW: 9.0-18.0% by weightFe: 3.0-20.0% by weightC: 0.03-0.5% by weightN: 0.1-1.0% by weightSi: 0-2.0% by weightO: 0-0.05% by weightwith the alloying components and production-related impurities adding up to 100% by weight and(i) a PRE value for corrosion resistance, which is derived from the weight percentages of the alloying components according to formula (1)PRE=[Cr]+1.65×[W]+30×[N] (1)ranges between 34 and 89 and(ii) for the contents of nitrogen and carbon the following restrictions according to formula (2) and (3) apply0.15≦C+N≦1.00 (2)0.25≦C+N≦1.00 (3).