A low-carbon low-alloy steel corresponding to Grade X42 according to API SPEC 5L and resistant to hydrogen sulfide environments has been developed. Heat treatment conditions have been optimized. The heat treatment recommended provides for the corrosion resistance and desired level of finished product mechanical properties. Welded joints of pipes made of the developed steel have successfully passed benchmark tests carried out at Astrakhan gas-condensate field.