Secretary of State Mike Pompeo Michael (Mike) Richard PompeoOvernight Defense: Pentagon redirects pandemic funding to defense contractors | US planning for full Afghanistan withdrawal by May | Anti-Trump GOP group puts ads in military papers Overnight Defense: House Democrats unveil stopgap spending measure to GOP opposition | Bill includes .6B for new subs | Trump issues Iran sanctions after world shrugs at US action at UN Navalny calls on Russia to return clothes he was wearing when he fell ill MORE quipped on Monday that he intends to stay in his role until President Trump Donald John TrumpOmar fires back at Trump over rally remarks: 'This is my country' Pelosi: Trump hurrying to fill SCOTUS seat so he can repeal ObamaCare Trump mocks Biden appearance, mask use ahead of first debate MORE "tweets" him out of a job.

Pompeo was asked at a speaking engagement in Kansas how he liked being secretary of State and how long he planned to stay on the job.

"I’m going to be there until he tweets me out of office," Pompeo said with a chuckle, eliciting laughs from others in the room.

"Which I’m not counting on, at least today," he added.

Asked how long he plans to be in his role, Secretary of State Mike Pompeo tells a crowd in Kansas, "I'm going to be there until he tweets me out of office." https://t.co/4xmpLtAGK2 pic.twitter.com/tx0B5VF74e — ABC News (@ABC) March 18, 2019

ADVERTISEMENT

Trump, a prodigious Twitter user, announced the firing of Pompeo's predecessor, Rex Tillerson Rex Wayne TillersonGary Cohn: 'I haven't made up my mind' on vote for president in November Kushner says 'Alice in Wonderland' describes Trump presidency: Woodward book Conspicuous by their absence from the Republican Convention MORE, in a tweet shortly after it was reported by The Washington Post.

Tillerson's top deputy later said the president did not speak with the former Exxon executive to inform him of the decision ahead of time.

Tillerson's tenure, which lasted more than a year, was marked by tensions with the president over North Korea and other subjects.

Pompeo has had a smoother relationship with Trump thus far, and on Monday called it an "enormous privilege" to work in the administration.

"He is truly a leader who provides guidance to me," Pompeo said of Trump.

"It is oftentimes different than what we’ve done before," he added. "I think that’s a great thing. It gives us a real opportunity to partner in different ways and build coalitions in different ways. He gives me that guidance, and then he sets me free and holds me accountable."

Pompeo, a former congressman from Kansas, was confirmed as secretary of State in April. He has ruled out a Senate run in 2020 to replace retiring Sen. Pat Roberts Charles (Pat) Patrick RobertsThe Hill's Morning Report - Sponsored by Facebook - Washington on edge amid SCOTUS vacancy The Hill's Morning Report - Sponsored by National Industries for the Blind - Trump seeks to flip 'Rage' narrative; Dems block COVID-19 bill GOP senators say coronavirus deal dead until after election MORE (R-Kan.) but has suggested he's open to a bid further down the line.