"The West Wing" creator Aaron Sorkin parted ways with his talent agent Maha Dakhil after she shared a pro-Palestinian Instagram account's post slamming Israel's Gaza strikes as "genocide."

"You’re currently learning who supports genocide," the original post read. Dakhil, a Creative Artists Agency (CAA) agent and Co-Head of Motion Pictures, whose clients include the likes of stars like Tom Cruise, Anne Hathaway and Madonna, added her own caption to the post, writing, "That’s the line for me," according to Variety.

The outlet reported that Dakhil later shared a second photo with the caption: "What’s more heartbreaking than witnessing genocide? Witnessing the denial that genocide is happening."

TENSIONS LEAD TO UNREST AT PRO-PALESTINIAN RALLIES ACROSS US CITIES

Aaron Sorkin and Maha Dakhil thumb

Aaron Sorkin cut ties with CAA and his agent Maha Dakhil after controversy surrounded her posts about the Israel-Hamas conflict. (Getty Images)

Both posts have since been deleted. Dakhil subsequently resigned from the CAA's internal agency board and temporarily stepped away from her day-to-day responsibilities. 

She also apologized for the repost in a statement to Variety.

"I made a mistake with a repost in my Instagram story, which used hurtful language. Like so many of us, I have been reeling with heartbreak. I pride myself on being on the side of humanity and peace," she said. "I’m so grateful to Jewish friends and colleagues who pointed out the implications and further educated me. I immediately took the repost down. I’m sorry for the pain I have caused."

DOZENS OF PRO-PALESTINIAN UNIVERSITY STUDENT CHAPTERS CELEBRATE ATTACK ON ISRAEL: ‘NOT UNPROVOKED'

Fox News Digital reached out to Dakhil for further comment, but did not receive an immediate response.

Sorkin, meanwhile, in a statement, said he is returning to the WME [William Morris Endeavor] Agency with which he was previously affiliated. 

"Maha isn’t an antisemite, she’s just wrong. She’s a great agent and I’m very proud of the work we did together over the last six years. I’m excited to be returning to WME," he told The Hollywood Reporter in a statement.

Fox News Digital also reached out to Sorkin's publicist for comment, but did not immediately hear back.

PLAYWRIGHT DAVID MAMET URGES JEWS TO STOP SUPPORTING DEMOCRATS, SENDING KIDS TO ‘ANTISEMITIC’ COLLEGES

Controversy surrounding Dakhil's posts prompted her to make another post addressing the previous two, Variety reported.

"Choice of words is important. Dialogue is healing. As each excruciating day passes, I’m listening and learning more from my friends," she wrote. 

"Thank you. I’m holding all our families in my prayers…I am grieving for everyone who is suffering right now. I continue to mourn all innocent lives. My mission is peace."

Sorkin is known for his prolific screenwriting career, including for "The Social Network," "Charlie Wilson's War" and "Moneyball," as well as being showrunner for "The West Wing" and "The Newsroom."

CLICK TO GET THE FOX NEWS APP

For more Culture, Media, Education, Opinion and channel coverage, visit foxnews.1eye.us/media.