Samantha Bee has apologized for calling White House senior adviser and first daughter Ivanka Trump a “feckless c***” on her TBS show Thursday.

“I would like to sincerely apologize to Ivanka Trump and to my viewers for using an expletive on my show to describe her last night. It was inappropriate and inexcusable. I crossed a line, and I deeply regret it,” Bee said in a statement.

Bee had gone after Trump for failing to take action to stop the separation of undocumented families.

“Ivanka Trump, who works at the White House, chose to post the second most oblivious tweet we’ve seen this week,” Bee said on her show, “Full Frontal.” “You know, Ivanka, that’s a beautiful photo of you and your child, but let me just say, one mother to another, do something about your dad’s immigration practices, you feckless c***!”

Bee added that the president listens to Ivanka and said that she should “Put on something tight and low-cut and tell your father to f***ing stop it. Tell him it was an Obama thing and see how it goes, OK?”

Bee’s network added in a statement of its own that the host took “the right action in apologizing for the vile and inappropriate language.”

“Those words should not have been aired,” TBS said. “It was our mistake too, and we regret it.”

The clip of Bee making the remark has since been pulled from YouTube and Twitter.

Bee’s comments caused outrage online and drew condemnation from White House Press Secretary Sarah Sanders, who said Bee’s language was “vile and vicious.”

“The collective silence by the left and its media allies is appalling,” Sanders said. “Her disgusting comments and show are not fit for broadcast, and executives at Time Warner and TBS must demonstrate that such explicit profanity about female members of this administration will not be condoned on its network.”

Bee’s language came just days after Roseanne Barr’s hit sitcom “Roseanne” was canceled after she made racist comments about former Obama adviser Valerie Jarrett.