President Donald Trump made a surprise Thanksgiving visit to Afghanistan to meet both the country’s president and with U.S. troops, saying that peace talks have resumed with the Taliban amid a push for a cease-fire and to reduce U.S. deployment in the region.

The president landed at Bagram Airfield around 8:30 p.m. local time Thursday and greeted U.S. soldiers over a turkey dinner before meeting with Afghanistan President Ashraf Ghani at the airfield’s Air Force headquarters.

Trump summoned in reporters for part of their meeting and said talks are continuing with the Taliban. The U.S. wants the Taliban to agree to a cease-fire and will continue to reduce its troop commitment to the region, Trump said.

“The Taliban wants to make a deal and we’re meeting with them and we’re saying it has to be a cease-fire, and they didn’t want to do a cease-fire and now they want to do a cease-fire I believe it’ll probably work out that way,’’ Trump said, standing alongside Ghani.

Trump confirmed he’d like to reduce troop levels to about 8,600 in Afghanistan from 12,000 now, but would like to go lower without impacting operational duties. “We can go much further than that but we’ll have it all covered,’’ Trump said.

Both Trump and Ghani said it was an honor to meet. Trump spent about 45 minutes in the building where they met, with press in the room for only a portion of it. In brief remarks to reporters during the bilateral session, Ghani noted that U.S. combat casualties have fallen under Trump’s presidency; Trump took office after the NATO mission in Afghanistan shifted to a training and advisory role.

Ghani thanked Trump for his leadership and called for a deal that won’t give too much power to the Taliban, saying Trump should not put “limits on the type of peace that will ensure the gains of the past year, and will ensure your security and our freedom.’’

Read more: Breaking Point—How Trump and Bolton Finally Hit Their Limit

Both Trump and Ghani then attended a rally-style event at a nearby hangar for U.S. troops, and Trump entered to the same song, “Proud to Be an American,” he uses at campaign rallies. He then invited Ghani up to speak to the U.S. troops, and the Afghan leader delivered an impassioned defense of the U.S. mission.

“Please thank your families for agreeing to miss you on this special occasion at home and for being here defending United States security and our freedom. Together, we will succeed,” Ghani told the soldiers. “We will never permit the repetition of 9/11 again. God bless you, god bless the president.”

At the rally, Trump reiterated that they’re working for a peace deal in Afghanistan. “Rest assured that my administration will always be committed to annihilating terrorists wherever they appear,” he told troops there, adding that he looked forward to the day “when we can bring each and every one of you home and safe to your family, and that day is coming and coming very soon.”

–With assistance from Ryan Beene.

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Contact us at letters@time.com.