Kevin Smith is the latest entertainment figure to speak against Harvey Weinstein following a New York Times investigation exposing three decades of sexual harassment allegations.

“He financed the first 14 years of my career — and now I know while I was profiting, others were in terrible pain. It makes me feel ashamed,” Smith wrote on Twitter in response to a user asking his thoughts on Harvey.

He financed the first 14 years of my career – and now I know while I was profiting, others were in terrible pain. It makes me feel ashamed. https://t.co/T0hInW7EqJ — KevinSmith (@ThatKevinSmith) October 9, 2017

The filmmaker did a number of movies, including “Clerks,” “Chasing Amy,” and “Dogma,” under Miramax, an entertainment company operated by the Weinstein brothers.

On Sunday, the board of the independent film studio Weinstein co-founded voted to fire him, leaving Weinstein Co. in the hands of his brother, Bob Weinstein, and chief operating officer David Glasser. Meanwhile, high-profile attorney Lisa Bloom resigned on Saturday from advising Weinstein.

In Weinstein’s initial apology he said, “I came of age in the ’60s and ’70s, when all the rules about behavior and workplaces were different. That was the culture then. I have since learned it’s not an excuse, in the office — or out of it. To anyone. I realized some time ago that I needed to be a better person, and my interactions with the people I work with have changed.”

A number of actors, including Meryl Streep, Lena Dunham, Seth Rogen, and Judd Apatow, condemned Weinstein and applauded his firing.