The ban on US crude oil exports began as a reaction to the oil embargo in the early 1970s and later was codified in law and Department of Commerce rules for granting export permits.