Afghan President Ashraf Ghani praised President Trump's new strategy in Afghanistan on Thursday, saying it has made a "difference of day and night."

"Since the decision, there's been an immense change on the ground. … It's a difference of day and night," Ghani said during remarks at the start of a meeting with Trump at the United Nations. "A cloud of uncertainty has been lifted, but equally important is your commitment to a political solution at the end of this process."

Trump revealed a new strategy for the war in Afghanistan in a speech last month that included a commitment to prioritizing conditions on the ground, as opposed to adhering to arbitrary deadlines. The president signaled the Pentagon would send additional troops to Afghanistan, called out Pakistan for "housing the very terrorists we are fighting," and emboldened India to do more in Afghanistan.

Trump met with Ghani at a private hotel in New York City on the sidelines of the 72nd session of the United Nations General Assembly. World leaders and diplomats from 193 countries gathered in New York City for the week-long gathering.

Ghani said he is gracious for U.S. service members and civilians who have fought in Afghanistan, and specifically those who "paid the ultimate price."

"That sacrifice can now result in a stable Afghanistan," the Afghan president said.

Ghani also thanked the president for deciding to send more troops to Afghanistan, a decision he said was made "on the basis of courage and determination."