A catalytic hydrotreating process that removes nitrogen compounds from hydrocarbon feedstocks, typically producing ammonia. It protects catalysts and supports product-quality and emissions requirements.