Following her surprising resignation as United Nations ambassador, Nikki Haley emphasized she is not planning to run for president in 2020.

Haley, who was confirmed as ambassador shortly after President Trump was inaugurated, offered her resignation Tuesday morning and will serve through the end of 2018.

Haley, often talked about as a future presidential candidate, and Trump spoke at a news conference after the announcement. 

"I will say this, for all of you that are going to ask about 2020, no, I am not running for 2020," Haley said. "I can promise you what I'll be doing is campaigning for this [president]."

'This Is Surprising': Bret Baier Reacts to UN Ambassador Nikki Haley's Resignation

Haley, who previously served as the governor of South Carolina from 2010 to 2016, thanked Trump and said serving in his administration was "an honor of a lifetime."

When asked about her reasons for resigning from her position, Haley said it's important for government officials to recognize when it is the right time to step aside.

"I have given everything I've got these last eight years. And I do think that sometimes it's good to rotate in other people who can put that same energy and power into it," Haley said.

"I think it's time."

Watch her remarks above.

'All About Shame and Blame': Tucker, Author on Elizabeth Warren Ditching Columbus Day

MSNBC Guest: Elections Will Determine Whether GOP Has 'Thousand-Year Reich'

'The Left Is Getting Nastier Than Ever': Tomi Lahren Slams 'Unhinged' Political Attacks