LOS ANGELES (AP) — The chairman of NBC Entertainment slammed Donald Trump, the network’s onetime “Apprentice” star, as “toxic” and “demented” in a private Facebook post that became public.

Robert Greenblatt’s post refers to a “sad state of affairs thanks to a pompous businessman turned reality TV star” who thinks that speaking his mind is “refreshing.”

“It’s actually corrosive and toxic because his ‘mind’ is so demented; and his effect will unfortunately linger long after he’s been told to get off the stage,” the executive said in the post Monday, which doesn’t refer to Trump by name.

Greenblatt does not oversee NBC News or its campaign coverage. However, his remarks likely will give critics of the media an opening for attack.

His post also derided the business mogul’s ratings prowess, writing that Trump’s show “consistently ran LAST in its time period, by the way.”

“The Apprentice,” was a hit for NBC when it began airing in 2004 but the most recent season finale of “Celebrity Apprentice,” the latest incarnation, finished in fourth place when it aired in February 2015, behind shows including “ABC’s “The Bachelor” and CBS’ “Two Broke Girls.”

A person familiar with Greenblatt’s private page said Tuesday the post came from the NBC executive. The person, who lacked authority to discuss the matter publicly, spoke on condition of anonymity.

Trump’s campaign did not immediately return a message seeking comment

NBC, part of Comcast Corp. subsidiary NBCUniversal, declined comment Tuesday. Comcast did not immediately respond to a request for comment.

Greenblatt took over as entertainment chairman in 2011. In June 2015, NBCUniversal said it was cutting its business ties with Trump because of his “derogatory statements” about immigrants.

The network dropped the Miss USA and Miss Universe pageants that were a joint venture between NBC and Trump, noting that he already had said he wouldn’t participate in “The Apprentice.”

Arnold Schwarzenegger is set to take over as host in January.

But NBC Entertainment’s attitude toward putting Trump on the air hasn’t been consistent.

Six months after ending its relationship with Trump, the network featured him as host of “Saturday Night Live” — and earned the show’s best ratings in two years.

At a news conference in January, Greenblatt said if the NBC never had guests that its executives publicly disagreed with that “we would be out of business.”

“We’re not in business with him, but love him or not, he’s one of the most important political figures of our time,” Greenblatt said.

Earlier this month, Greenblatt told a TV critics meeting he took a skeptical view of the idea that “Apprentice” served as a launching pad for the presidential bid that Trump began in June 2015.

“We were happy to have a show that was doing really well with a guy who was a big TV star,” Greenblatt said. “I don’t think there’s that much of a correlation of one to the other. … That’s what great about this country.”

He likened Trump’s successful run on ” Apprentice” to Ronald Reagan’s movie career and how it served as a useful prelude to his own second act in politics: “‘Bedtime for Bonzo’ helped make Reagan a national prominent figure,” Greenblatt said.

Greenblatt’s Facebook comments were first reported by the New York Post.