Steel parts are heated to transformation temperature in a carbon and nitrogen-rich atmosphere to form a hard surface of iron carbides and iron nitrides (after quenching) for resisting sliding wear.