A refining process for treating petroleum fractions from atmospheric or vacuum distillation units (e.g. naphthas, middle distillates, reformer feeds, residual fuel oil, and heavy gas oil) and other petroleum (e.g. cat cracked naphtha, coker naphtha, gas oil, etc.) in the presence of catalysts and substantial quantities of hydrogen. Hydrotreating includes desulfurization, removal of substances (e.g. nitrogen compounds) that deactivate catalysts, conversion of olefins to paraffins to reduce gum formation in gasoline, and other processes to upgrade the quality of the fractions.