After years of lobbying by energy companies and the Obama administration, Congress on Friday passed legislation that would give the Trump administration the right to issue a permit for the Keystone XL oil pipeline.

    In a statement, House Republicans said the bill would “give the President the authority to approve and manage a pipeline that will increase oil supplies for American families.”

    But the measure, introduced by Rep. Frank Pallone Jr., R-N.J., didn’t go far enough.

    The bill was designed to protect taxpayers from future lawsuits if Keystone XL is approved and if the Obama Administration fails to meet its commitments, Pallone said in a statement.

    The pipeline has become a rallying point for many Republicans in Congress, who say the project would be beneficial to American families.

    Trump has vowed to reject the pipeline unless it is built in a way that would not harm climate change.