(CNN)President Donald Trump's travel ban increases the possibility of an attack on America, former CIA Director and US Defense Secretary Leon Panetta told CNN's Christiane Amanpour.
Trump ban increases chances of attack, says former CIA and defense chief
Panetta, who served under President Barack Obama, also said there is "no question" that the ban is based on religion.
"We've fed ISIS a major argument that I think will help them in recruiting and that increases the chances of a potential attack in this country," he warned. "It doesn't lessen that possibility. It increases that possibility."
That argument, he said, is that the West is at war with "Islam" rather than "extremism."
"Any time you ban people from coming into this country from key Muslim nations, there's no question in my mind that that ban is based on religion, and who they are," he said.
Regarding Trump's dismissal of Acting Attorney General Sally Yates, Panetta said that if the attorney general or deputy attorney general "are given a directive, which they feel violates the Constitution, then I think it is their duty ... not to enforce that order."
On the elevation of political adviser Steve Bannon to the National Security Council, Panetta said giving political advice in that forum is "the worst thing you could do." Having a political adviser "gain that status on the National Security Council," he said, "is wrong."