Timothee Chalamet of Call Me By Your Name announced he’ll donate his salary from Woody Allen’s A Rainy Day in New York to various organizations, following a host of actors who have expressed regret over working with the director.

“I have been asked in a few recent interviews about my decision to work on a film with Woody Allen last summer,” Chalamet wrote in a statement posted via Instagram. “I’m not able to answer the question directly because of contractual obligations. But what I can say is this: I don’t want to profit from my work on the film, and to that end, I am going to donate my entire salary to three charities: TIME’S UP, The LGBT Center in New York, and RAINN [Rape, Abuse, and Incest National Network]. I want to be worthy of standing shoulder to shoulder with the brave artists who are fighting for all people to be treated with the respect and dignity they deserve.”

Chalamet followed the lead of his A Rainy Day in New York costar Rebecca Hall, who similarly donated her salary on the film to the Time’s Up Legal Defense Fund, established to provide legal support to women and men who’ve experienced sexual harassment, sexual assault, and abuse in the workplace or in pursuit of their careers. Last year, The Tick star Griffin Newman donated his salary from A Rainy Day in New York to RAINN as well.

Chalamet is the latest star to back away from Allen. In recent weeks, Mira Sorvino, Greta Gerwig, and David Krumholtz also expressed their regret for working with Allen after the director’s daughter Dylan Farrow published an op-ed in The Los Angeles Times that called out actresses like Gerwig, Kate Winslet, and Blake Lively for collaborating with the filmmaker. Allen was accused of molesting Farrow when she was a child in 1992, a claim he has repeatedly denied. In a piece published by The New York Times in 2014 — a response he called his “final word on this entire matter” — Allen wrote, “Of course, I did not molest Dylan.”

Following the release of Farrow’s op-ed in the Los Angeles Times, a representative for Allen said, “Dylan Farrow’s allegations against Woody Allen, which she first made 25 years ago, have been thoroughly examined by law enforcement officials and child welfare investigators. The investigators concluded unambiguously that Dylan Farrow was not sexually abused. No charges were ever filed, and the reason is simple: because Woody Allen is innocent.”

“This year has changed the way I see and feel about so many things; it has been a thrilling and, at times, enlightening education,” Chalamet wrote. “I have, to this point, chosen projects from the perspective of a young actor trying to walk in the footsteps of more seasoned actors I admire. But I am learning that a good role isn’t the only criteria for accepting a job — that has become much clearer to me in the past few months, having witnessed the birth of a powerful movement intent on ending injustice, inequality and above all, silence.”

Selena Gomez, who also stars in A Rainy Day in New York, had previously explained how difficult it is to address the Allen allegations. “To be honest, I’m not sure how to answer — not because I’m trying to back away from it,” she said. “[The Weinstein allegations] actually happened right after I had started [on the movie]. They popped up in the midst of it. And that’s something, yes, I had to face and discuss. I stepped back and thought, ‘Wow, the universe works in interesting ways.’”

In addition to Chalamet and Gomez, Allen’s film — which is set for 2018 but doesn’t have a firm release date — also stars Jude Law and Elle Fanning.

Farrow tweeted yesterday that “men absolutely should be joining this conversation, particularly those who count themselves as members of #TIMESUP.” She added, “It is telling that, in recent days, women in Hollywood have been leading the charge.”