President Donald Trump on Thursday made a surprise appearance in the White House briefing room to discuss border security and abruptly left without taking any questions.

This was Trump's first appearance in the White House briefing room.

"I have never had so much support as I have in the last week over my stance for border security, for border control, and for, frankly, the wall or the barrier," Trump said.

During the brief appearance, Trump also said "nobody" knows more about drones than he does.

The president's insistence on obtaining funding for the border wall has pushed the US government into a partial shutdown that has lasted nearly two weeks and has no end in sight.

President Donald Trump on Thursday made a surprise appearance in the White House briefing room to discuss border security, but he abruptly left without taking any questions.

This was the first time Trump stood in front of the podium in the briefing room as president. The appearance lasted less than 10 minutes.

"It's a beautiful place," the president said after looking around the room.

The president began the briefing by congratulating Nancy Pelosi for being elected speaker of the US House of Representatives but promptly changed the topic to border security.

Trump didn't offer much new information as he appeared alongside border agents and reiterated many of his talking points on immigration and the wall he wants to build along the US-Mexico border.

The president's insistence on obtaining funding for the border wall has pushed the US government into a partial shutdown that has lasted nearly two weeks and has no end in sight.

"I have never had so much support as I have in the last week over my stance for border security, for border control, and for, frankly, the wall or the barrier," Trump said.

"You can call it a wall, you can call it a barrier, whatever you want," the president added.

Recent polls show Americans are split on the border-wall issue, and many would like to see the money that would be dedicated to it allocated elsewhere.

Read more: Most Americans would rather spend the $5 billion Trump is demanding for the border wall on infrastructure, education, or healthcare

During the brief appearance, Trump also said "nobody" knows more about drones than he does.

"You see what's just been put out on social media, where thousands of people are rushing the border. Having a drone fly overhead — and I think nobody knows much more about technology, this type of technology certainly, than I do," Trump said. "Having drones and various other form of sensors, they're all fine, but they're not going to stop the problems that this country has."

Around the same time as Trump's expedited press briefing, he shared an image on Twitter with a caption borrowed from HBO's "Game of Thrones."

The caption, which appeared below an image of the president, said, "The Wall is Coming."

A post shared by President Donald J. Trump (@realdonaldtrump) Jan 3, 2019 at 1:41pm PST

The White House gave reporters little warning about Thursday's briefing. White House press secretary Sarah Huckabee Sanders announced at 4:07 p.m. EST in a tweet that there would be a briefing at 4:10 p.m. EST.

After Trump's appearance, many White House reporters complained what transpired didn't constitute a press briefing since he took no questions.