The Senate approved legislation on Thursday authorizing construction of the Keystone XL Pipeline, despite threats from the White House to veto it.

The legislation was passed in a 62-36 vote.

Supporters of the pipeline contend that it would create jobs and boost economic growth, and opponents worry about potential environmental ramifications.

“Constructing Keystone would pump billions into our economy,” Senate Majority Leader Mitch McConnell, R-Ky., said on the floor before the vote. “It would support thousands of good American jobs and as the president’s own State Department has indicated, it would do this with minimal environmental impact.”

President Obama reiterated his opposition to the project in his State of the Union address.

“Let’s set our sights higher than a single oil pipeline,” he said.

The proposed 1,179-mile pipeline would stretch from Canada to Nebraska where it would meet with existing pipelines, carrying oil to refineries along the Gulf Coast.

So how did your senators vote?

No Republicans voted to block the legislation, and nine Democrats voted to approve it.

Those voting “nay” include potential presidential contenders Sens. Elizabeth Warren, D-Mass., and Bernie Sanders, I-Vt.

Sens. Harry Reid, D-Nev., and Marco Rubio, R-Fla., did not vote.

See the full list of how each senator voted here.


U.S. Senate  Roll Call Vote

This article has been corrected to reflect that nine, not eight, Democrats voted to authorize the Keystone pipeline.