Afghanistan called on Tuesday for an explanation of comments by U.S. President Donald Trump in which he said he could win the Afghan war in just 10 days by wiping out Afghanistan but did not want to kill 10 million people.

Trump’s remarks followed a meeting with Pakistan Prime Minister Imran Khan at the White House on Monday, at which Trump voiced optimism that Pakistan could help broker a political settlement to end the nearly 18-year-old war in Afghanistan.

The remarks drew a stiff response from Afghanistan’s presidential palace, which has been excluded from talks between the United States and the Taliban and which accuses Pakistan of supporting the insurgency.

“The Afghan nation has not and will never allow any foreign power to determine its fate,” President Ashraf Ghani’s office said.

“While the Afghan government supports the U.S. efforts for ensuring peace in Afghanistan, the government underscores that foreign heads of state cannot determine Afghanistan’s fate in absence of the Afghan leadership,” it said in a statement.

It called for clarification of Trump’s statement.

In his comments in Washington, Trump said Pakistan was helping the United States “extricate” itself from Afghanistan, where the United States was acting as a “policeman” rather than fighting a war.

I have plans on Afghanistan that, if I wanted to win that war, Afghanistan would be wiped off the face of the Earth. It would be gone– President Donald Trump

“If we wanted to fight a war in Afghanistan and win it, I could win that war in a week. I just don’t want to kill 10 million people,” Trump told reporters at the White House, where he was hosting Khan.

“I have plans on Afghanistan that, if I wanted to win that war, Afghanistan would be wiped off the face of the Earth. It would be gone,” he said.

“It would be over in — literally, in 10 days. And I don’t want to do, I don’t want to go that route.”

Khaled Hosseini, the Afghan-American author of the best-selling novel, The Kite Runner, which introduced Afghanistan to many foreign readers, called Trump’s remarks “reckless, appalling.”

Others said the government had no effect recourse, pointing to its dependence on billions of dollars of aid from the United States every year.

Looking to soothe sentiment, U.S. Special Envoy Zalmay Khalizad, the veteran Afghan-American diplomat who has been leading negotiations with the Taliban, said the comment showed that only a political settlement made sense.