In this embodiment, most of the sulfur and nitrogen compounds in the feed liquid are converted to H2 S and NH3 in the first liquid stage and pass into the vapor, along with vaporized hydrocarbons, unreacted hydrogen and normally gaseous hydrocarbons, such as methane.