President Donald Trump’s choice to lead the CIA is making it even more clear that the program sanctioning harsh interrogations during the George W. Bush administration should not have taken place.

Gina Haspel, the current acting director of the agency, expanded upon her testimony in a letter dated Monday to Sen. Mark Warner, the top Democrat on the Intelligence Committee.

“Over the last 17 years, the Agency and I have learned the hard lessons since 9/11. While I won’t condemn those that made these hard calls, and I have noted the valuable intelligence collected, the program ultimately did damage to our officers and our standing in the world,” Haspel wrote, according to a copy obtained by Roll Call. “With the benefit of hindsight and my experience as a senior Agency leader, the enhanced interrogation program is not one the CIA should have undertaken.

The letter became public the day before the Senate Intelligence panel is scheduled to vote on advancing the Haspel nomination to the floor, at a point where Warner, a Virginia Democrat, had not yet announced support or opposition to the nominee.

And shortly after the letter made the rounds, Warner announced he would support her nomination, all but guaranteeing her confirmation.