WASHINGTON – House Republicans pushed through a bill Wednesday to bypass the president to speed approval of the Keystone XL oil pipeline from Canada to Texas. Democrats criticized the legislation as a blatant attempt to allow a foreign company to avoid environmental review.

The bill was approved, 241-175, largely along party lines.

Republicans said the measure was needed to ensure that the long-delayed pipeline, first proposed in 2008, is built.

“This is the most studied pipeline in the history of mankind,” said Rep. Lee Terry, R-Neb., the bill’s sponsor. “When is enough enough?” added Rep. Jeff Denham, R-Calif. “Five years? Six years? Ten years?”

But Rep. Raul Grijalva, D-Ariz., called the bill a “reckless attempt to avoid environmental review.” The bill would deem the project approved without a presidential permit, as required under current law, and with no further environmental review. The legislation also would limit legal challenges to the project.

The White House says President Obama opposes the bill.

The $7 billion pipeline, proposed by Calgary-based TransCanada, would carry oil extracted from tar sands in western Canada to refineries along the Texas Gulf Coast.

Supporters say the pipeline would create thousands of jobs, and help lower fuel prices.

Opponents call the project a “carbon bomb” that would carry “dirty oil” that could trigger global warming. They also worry about a spill. Converting tar sands into oil can uses as much as 15 percent more energy than conventional oil production.

The State Department expects to issue a final report this summer. The department has authority over the pipeline because it crosses a U.S. border.