Abstract: The present invention relates to a process for production of fossil free hydrocarbons from lignocellulosic material comprising the steps of: A-hydrolyzing the lignocellulosic material using ammonium bisulfite, whereby the conditions of the hydrolysis are being controlled by regulating pH, temperature, color, pressure, sulfite content, kappa number and/or R18, such that a desired product can be obtained for further processing of the hydrolyzed material. B-hydrothermal carbonizing the hydrolyzed material that is not further processed using hydrothermal liquefaction (HTL) or hydrothermal carbonization (HTC) to produce at least biooil. C-separating liquids and gases from prior process steps for cleaning and reuse of liquid, gases and chemicals contained therein. D-generating electricity and/or steam to perform the steps of the process by using liquid, gas, biooil or bio-coal produced in the prior process steps, to operate at least a part of the steps of the process.