The pipeline has provided tens of millions of dollars in tax revenue to North Dakota, South Dakota, Iowa and Illinois.