TEHRAN (Press Shia Agency) – Nikki Haley said on Tuesday she was stepping down as US ambassador to the United Nations, but knocked down speculation that she might challenge President Donald Trump at the next election.

Sitting beside Trump in the Oval Office, Haley said her 18-month stint at the United Nations had been “an honor of a lifetime” and that she would stay on until the end of the year, Reuters reported.

A former governor of South Carolina and the daughter of Indian immigrants, Haley, 46, is the highest profile woman in Trump’s Cabinet and has often been seen as a possible presidential candidate.

Haley criticized Trump during the 2016 election campaign but has been the face of his “America First” policies at the United Nations, steering the US withdrawal from several UN programs and ardently defending his hard-line policies against Iran and North Korea.

Haley said in her resignation letter to Trump that she would “surely not be a candidate for any office in 2020" and would instead support his re-election bid. She referred to returning to the private sector and some media reports said she had debts to pay off.

But Haley also said she did not have any future plans set, and her decision surprised many at the White House and the United Nations.

Speaking to reporters later on Tuesday aboard Air Force One, Trump said he had five people on his short list for UN envoy, including former White House adviser Dina Powell, a friend of Haley’s. Trump said US ambassador to Germany, Richard Grenell, was not on the short list but that he was willing to consider him.

Trump’s eldest daughter Ivanka Trump, who is a senior adviser to her father, ruled herself out of consideration in a Twitter post. He had said she would be “incredible” in the role and acknowledged he would be accused of nepotism if he nominated her.

Trump said Haley had told him six months ago that she was thinking of leaving by the end the year “to take a little time off.” He was effusive in his praise of her.

“She has done an incredible job. She is a fantastic person, very importantly, but she also is somebody that gets it,” Trump said on Tuesday. “She’s done a fantastic job and we’ve done a fantastic job together.”

Haley’s name has come up as possible Republican running mate in the last two presidential elections and she could also become a US senator if fellow South Carolina Republican Lindsey Graham takes up a job in the Trump administration, as is often speculated.

Trump suggested the two of them jointly announce Haley’s departure in the Oval Office, an administration official said, noting that Haley was the only outgoing senior member of Trump’s administration to be feted in this way.

Returning the favor, Haley praised Trump and his family for their support.

She described Jared Kushner, Trump’s son-in-law and aide, as “such a hidden genius that no one understands” for his work on renegotiating the NAFTA trade deal and preparing a long-awaited Middle East peace plan that has not yet been released.

The feel-good nature of her resignation was markedly different from other high-profile departures from Trump’s Cabinet. Trump unceremoniously announced his firing of former secretary of state Rex Tillerson in March in a tweet.

A convert to Christianity in her 20s after being raised a Sikh, Haley is popular with religious conservatives in the South.