The legislation was a response to the oil crisis of 1973, which highlighted the U.S. reliance on foreign oil sources.