U.S. Ambassador to the United Nations Nikki Haley warned Tuesday that the Trump administration is prepared to suspend all foreign aid to Pakistan until that country stops harboring terrorists that attack U.S. troops in Afghanistan.

Trump suspended $255 million in aid to Pakistan over its protection to terrorists, and Haley told reporters at the U.N. that Trump is willing to go further.

"The president is willing to go to great lengths to stop all funding from Pakistan as they continue to harbor and support terrorism," she said.

The U.S. has doled out $33 billion in aid to Pakistan over the last 15 years, but the annual amount of aid has been reduced over time. Haley said Pakistan's own actions are to blame for that decrease, and possible end to the funding.

"Pakistan has played a double game for years," Haley added. "They work with us at times, and they also harbor the terrorists that attack our troops in Afghanistan."

"That game is not acceptable to this administration," she said.

Pakistan was outraged over Trump's decision, and summoned the U.S. ambassador to a meeting on Tuesday.

But Haley said the Trump administration will need to see "far more cooperation" before funding is restored.

She also said the aid decision has nothing to do with last month's U.N. vote condemning the U.S. decision to recognize Jerusalem as Israel's capital. "It is entirely connected to Pakistan's harboring of terrorists," she said.