President Donald Trump’s daughter Ivanka said she won’t take Nikki Haley’s place as ambassador to the United Nations.

“I know that the President will nominate a formidable replacement for Ambassador Haley,” Ivanka Trump said in a tweet Tuesday. “That replacement will not be me.”

Ivanka Trump @IvankaTrump It is an honor to serve in the White House alongside so many great colleagues and I know that the President will nominate a formidable replacement for Ambassador Haley. That replacement will not be me.

The president said earlier in the day that his daughter would be an “incredible” ambassador to the UN, but “I’d be accused of nepotism.” She and her husband, Jared Kushner, are currently senior advisers to the president on the White House staff.

“I’m not sure there’s anybody more competent,” the president added.

Haley will leave her job as ambassador by the end of the year, the president said earlier in an announcement that surprised many in the White House including Chief of Staff John Kelly and Vice President Mike Pence.

The president said he is considering Goldman Sachs Group Inc.’s Dina Powell as a potential replacement along with “others.” Another potential Haley successor is the U.S. ambassador to Germany, Ric Grenell, who quickly won Twitter endorsements from conservative broadcaster Hugh Hewitt and several Trump associates.

Ivanka Trump earlier tweeted praise for Haley.

Get our Politics Newsletter. The headlines out of Washington never seem to slow. Subscribe to The D.C. Brief to make sense of what matters most. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Contact us at letters@time.com.