The White House supports legislation that would punish Russia for its interference in the 2016 election, a spokeswoman said Sunday, despite its previous objection to measures restricting the president’s power to remove sanctions on Moscow.

Congressional negotiators reached a deal late Friday to advance the bill, previous versions of which White House spokeswoman Sarah Huckabee Sanders had said contained provisions that eroded the president’s power to conduct diplomacy. President Donald Trump has said he wants to improve America’s relationship with Russia and has been slow to embrace the conclusion of intelligence agencies that Moscow meddled in the election.