President Trump said Friday that while Ivanka Trump, his daughter and a senior adviser in the White House, would be "incredible" as U.S. ambassador to the United Nations, he can "already hear the chants of nepotism."

“So nice, everyone wants Ivanka Trump to be the new United Nations Ambassador. She would be incredible, but I can already hear the chants of Nepotism! We have great people that want the job,” Trump tweeted Friday.

Haley announced her resignation Tuesday, saying she would be leaving her post as U.N. ambassador by the end of the year.

During remarks alongside Trump announcing her departure, Haley praised the first family, and specifically Jared Kushner, the president’s son-in-law, and Ivanka Trump.

Haley’s resignation sparked speculation as to who would be her replacement, with some questioning whether Ivanka Trump would be the president’s choice.

Speaking to reporters Tuesday before departing for a campaign rally in Iowa, the president said his daughter would be "dynamite" as U.N. ambassador but said he would be "accused of nepotism" if he selected her as Haley's successor.

Ivanka Trump, meanwhile, took herself out of the running for the post Tuesday.

“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,” she tweeted.