Nikki Haley, Donald Trump

President Trump just lost another one. Nikki Haley resigned Tuesday as President Trump’s ambassador to the U.N. The news reportedly caught the White House off guard.

Haley, a former South Carolina governor, reportedly informed the president she was quitting her position about six months ago, according to the L.A. Times.

Trump previously announced Haley would leave her post at the end of the year.

He released a statement that spoke highly of Haley on Tuesday.

“She’s done a fantastic job, and we’ve done a fantastic job together,” Trump said, adding that he’d be happy to hire her in another position in the White House.

Haley was quick to deny the rumors that she planned to run for president in 2020.

“No, I am mot running in 2020,” she said, adding that she would campaign for Trump’s re-election.

Haley said it was an honor to work for Trump’s administration. She served as the U.N. ambassador since January 2017.

Photo by Mark Wilson/Getty Images