NOVELTY - Hydropyrolysis process involves: introducing biomass and hydrogen into a hydropyrolyzer comprising one or more reactors; sufficiently deoxygenating the biomass to provide a vapor product of the hydropyrolyzer comprising, in the gaseous state, deoxygenated condensable hydrocarbons, non-condensable gases, and water; cooling the vapor product to condense to a liquid organic phase and a liquid aqueous phase; and phase separating the liquid aqueous phase from the liquid organic phase and obtaining a gas phase ammonia product or an aqueous ammonia product from the aqueous phase.    USE - The process is useful for the production of hydrocarbon fuels.    ADVANTAGE - The process is capable of energy-efficiently removing hydrogen sulfide as ammonium sulfate from hydropyrolysis product vapors.    DETAILED DESCRIPTION - Hydropyrolysis process involves: introducing biomass and hydrogen into a hydropyrolyzer comprising one or more reactors; sufficiently deoxygenating the biomass to provide a vapor product of the hydropyrolyzer comprising, in the gaseous state, deoxygenated condensable hydrocarbons, non-condensable gases, and water; cooling the vapor product to condense to a liquid organic phase and a liquid aqueous phase comprising at least one species of the vapor product comprising ammonia, i.e. solubilized in the liquid aqueous phase; and phase separating the liquid aqueous phase from the liquid organic phase and obtaining a gas phase ammonia product or an aqueous ammonia product from the aqueous phase. An INDEPENDENT CLAIM is included for preparing an ammonia product, comprising: processing biomass in a hydropyrolyzer to obtain solid char and a heated vapor product comprising hydrogen, carbon monoxide, carbon dioxide, deoxygenated condensable hydrocarbons and water vapor; cooling the heated vapor product to condense, as separate liquid phases comprising an organic phase and an aqueous phase comprising ammonium hydroxide i.e. formed from the dissolution of ammonia from the heated vapor product into the aqueous phase; and separating the liquid phases and obtaining the ammonia product as a gas phase ammonia product or an aqueous ammonium hydroxide product from the aqueous phase.