(Reuters) CIA Director John Brennan said on Wednesday he would resign if the next president ordered his agency to resume waterboarding suspected militants, an apparent reference to comments by Republican presidential candidate Donald Trump embracing the banned interrogation method.

“I can say that as long as I’m director of CIA, irrespective of what the president says, I’m not going to be the director of CIA that gives that order. They’ll have to find another director,” said Brennan, who did not mention Trump by name.

Brennan, who has been director since 2013, tacked his comment to the end of his response to a question about drone strike policy after speaking at the Brookings Institution, a Washington policy institute.Brennan said previously he would refuse to resume the practice, which simulates drowning and was used by the CIA on three suspected militants detained in secret foreign prisons during President George W. Bush’s administration.

Note: Read our discussion guidelines before commenting.