(CNN) President Donald Trump and the first lady quietly swept into Iraq Wednesday to pay a holiday visit to US troops, at last making good on the President's promise to travel to one of the war zones he has derided as costly blunders.

President Trump, accompanied by National Security Adviser John Bolton, third from left, first lady Melania Trump, fourth from right, US Ambassador to Iraq Doug Silliman, third from right, and senior military leadership, speaks to members of the media during his surprise visit to Iraq.

President Trump, accompanied by National Security Adviser John Bolton, third from left, first lady Melania Trump, fourth from right, US Ambassador to Iraq Doug Silliman, third from right, and senior military leadership, speaks to members of the media during his surprise visit to Iraq.

President Donald Trump and first lady Melania Trump greet military personnel at the dining hall during an unannounced visit to Al Asad Air Base in Iraq on Wednesday, December 26.

President Donald Trump and first lady Melania Trump greet military personnel at the dining hall during an unannounced visit to Al Asad Air Base in Iraq on Wednesday, December 26.

After seeing the American war effort at close range for the first time, the President remained adamant that the days of broad-scale US involvement overseas had ended. He used his nighttime appearance at an air base west of Baghdad to reinforce his skeptical view of wading into foreign conflicts.

"If they want us to do the fighting, they also have to pay a price," Trump said at the Al Asad Air Base, where he landed after dark with his wife, Melania Trump. "Sometimes that's also a monetary price, so we're not the suckers of the world. We're no longer the suckers, folks. And people aren't looking at us as suckers."

Regardless of whether Trump likes the wars or not, they are now his; the lives of the young men and women stationed abroad subject to his decisions, whims and orders. And as such, the commander in chief was fulfilling what is viewed as an essential duty in paying them a surprise Christmastime visit.

After a secret overnight flight from Washington, the President and Melania Trump touched down onto a pitch-black airstrip, the dicey security situation still restricting Trump to a clandestine visit more than 15 years after the American invasion.

He remained on the ground for about three hours, greeting enthusiastic selfie-taking servicemen and women in their holiday-bedecked dining hall. Dressed in a black overcoat and red tie, Trump posed for pictures and signed autographs for troops in fatigues. Melania Trump stood smiling next to him, wearing a mustard-colored blouse.

Later, the President changed into a green flight jacket to address 100 or so troops, who greeted him warmly.

Trump left behind a slate of troubles in Washington, including a partial government shutdown and an unsteady economy. He's also faced criticism for a series of foreign policy decisions that have left his national security team at odds.

Trump has sought to distance himself from the foreign entanglements he describes as foolhardy mistakes made by his predecessors, including the war in Iraq. He recently ordered the US military to being planning a drawdown of troops in Afghanistan and, citing the destruction of ISIS, a complete withdrawal of 2,000 troops from Syria -- which came against the advice of his military generals and top national security officials.

During a roundtable briefing Wednesday with military and civilian officials inside a tent at the air base in Iraq, Trump defended his decision.

Members of the military cheer as President Donald Trump speaks at a hanger rally at Al Asad Air Base, Iraq, Wednesday, Dec. 26, 2018. President Donald Trump, who is visiting Iraq, says he has 'no plans at all' to remove US troops from the country. (AP Photo/Andrew Harnik)

"They said again, recently, 'Can we have more time?' " the President recalled. "I said, 'Nope. You can't have any more time. You've had enough time.' We've knocked them out. We've knocked them silly."

"A lot of people are going to come around to my way of thinking," Trump predicted.

He hasn't stated plans for the 5,000 or so American troops in Iraq who returned to the country in 2014 to battle ISIS. The President was originally scheduled to meet with Iraqi Prime Minister Adil Abdul-Mahdi during his stop, but the encounter was canceled.

"There was supposed to be a formal reception and a meeting between Prime Minister Adil Abdul-Mahdi and the US President, but a variation of views to organize the meeting led it to be replaced by a telephone conversation," a statement from the prime minister's office read.

White House press secretary Sarah Sanders said later on Air Force One that the meeting didn't take place because of security and logistical reasons. She said that for security reasons, the White House was able to invite the prime minister only two hours before the scheduled time of the meeting and the Iraqi leader was in a different part of the country and unable to attend.

Sanders also told reporters that the President spoke on the phone with the Iraqi prime minister while Trump was at the base in Iraq. During the call, Trump invited Abdul-Mahdi to visit the White House and the prime minister accepted. Sanders also said Trump and senior military leaders discussed plan for countering ISIS during a briefing at the airbase.

Trump said Wednesday he had no plans to pull troops from Iraq, suggesting the country could be used as a base for potential future missions in Syria.

But he reiterated that the era of heavy US intervention abroad was ending.

"The United States cannot continue to be the policeman of the world," Trump said. "We are spread out all over the world. We are in countries most people haven't even heard about. Frankly, it's ridiculous."

George W. Bush made four trips to Iraq after ordering American troops into the country in 2003, including a stop on Thanksgiving to help serve turkey. Barack Obama visited once. Both men also traveled multiple times to Afghanistan.

Trump's visit comes at a fraught moment for the President and the military. Trump's defense secretary resigned last week after the Syria troop decision, writing in a departure letter the President deserved a military chief more aligned with his worldview. His replacement, a former Boeing executive, has scant foreign policy or military experience.

Trump had faced scrutiny for putting off a visit to the troops. Privately, he wondered whether such a trip would only serve to highlight wars he does not support and wants to end. But in November, after facing criticism for canceled a visit to a military cemetery in France because of rain, Trump announced he would soon travel to a war zone.

On his way back home from Iraq, Trump met with US military leaders aboard Air Force One and then visited with American troops while refueling at Ramstein Air Base in Germany.

Like presidents before him, Trump's visit was shrouded in secrecy. He departed the White House quietly on Christmas night and details of his travel were very closely held within the West Wing.

A decade-and-a-half after the start of the US war, which has cost nearly 5,000 American troops their lives, Iraq remains a dangerous place -- a fact not lost on the commander in chief.

"Pretty sad when you spend $7 trillion in the Middle East and going in has to be under this massive cover," he said.

The American-led invasion in 2003 toppled Iraqi President Saddam Hussein, but for several years afterward US troops engaged in extended fighting across the country, battling an insurgency and later sectarian violence. At their peak, US troop levels in Iraq stood near 166,000. After the combat mission ended in 2010, some troops remained behind to help stabilize the country.

Thousands more returned four years later to battle ISIS. Iraq formally declared victory against the terror group a year ago, but US troops have remained to help stabilize regions of the country and train Iraqi soldiers.

Trump criticized his predecessor, Obama, for withdrawing troops too quickly from Iraq, claiming it allowed for ISIS' rise. Obama's administration was unable to strike a deal with the Iraqi government to allow for a residual US force to maintain stability in the country. But in bringing troops home and declaring a formal end to the Iraq War, Obama fulfilled a pledge to voters to end a war that began under Bush.

Trump now finds himself eager to make good on his own promises to wind down US involvement overseas. That's what has driven his recent decisions to take US troops out of Syria and Afghanistan.

But those decisions have been unpopular among even his own national security team, including Defense Secretary James Mattis, who resigned last week. He was followed out the exit by Brett McGurk, the US special envoy to the anti-ISIS coalition who Trump claims not to know.

They and other officials warned Trump that leaving the region now would allow for ISIS, or another terror group, to regain a foothold. But the President was insistent that the time had come for US personnel to come home.

This story has been updated.