Opponents of a pipeline project that crosses three states have asked a federal court to halt construction in Minnesota on allegations that the U.S. Army Corps of Engineers failed to address several environmental issues when it approved a water quality permit.

Two Minnesota Ojibwe bands and two environmental groups filed a lawsuit Thursday that asks for a preliminary injunction to stop work on the Enbridge Energy Line 3 pipeline that began early this month across northern Minnesota.

Line 3 starts in Alberta and clips a corner of North Dakota before crossing northern Minnesota en route to Enbridge’s terminal in Superior, Wisconsin. The 337-mile line in Minnesota is the last step in replacing the deteriorating pipeline that was built in the 1960s.