President Barack Obama on Tuesday delivered on this promise to veto a bill approving the Keystone Xl oil pipeline.

According to White House Press Secretary Josh Earnest, the president vetoed the bill almost as soon as it arrived on his desk. In a message to the Senate, Obama said the bill’s passage conflicted with executive branch procedures and overlooked matters of national security and environmental protection. This was the President’s third veto since taking office.

The bill passed the House with a vote of 270-152 and the Senate with a vote of 62-36 – margins well below the two-thirds majority each chamber needed in order to override a veto. However, Senate Majority Leader Mitch McConnell has said a veto override vote has been scheduled for March 3.

The Keystone XL pipeline would be roughly 1,179 miles long and transport tar sands crude oil from Canada to refineries in the Midwestern and Gulf Coast regions of the U.S. TransCanda requested permission to build the pipeline in 2008, but partisan divisions over environmental, security and jobs issues have delayed a decision. The company says it is currently working with the State Department to come to an agreement over these concerns.

More From KLTD-FM