Joaquin Phoenix, left, and Casey Affleck, collaborators on I'm Still Here, are shown together on Oct. 27, 2008. Sexual harassment lawsuits filed against Affleck filed by two women who worked on the film have been settled. (Eric Risberg/Associated Press)Joaquin Phoenix, left, and Casey Affleck, collaborators on I'm Still Here, are shown together on Oct. 27, 2008. Sexual harassment lawsuits filed against Affleck filed by two women who worked on the film have been settled. (Eric Risberg/Associated Press)

Two sexual harassment cases involving I'm Still Here director Casey Affleck and two women who worked on the film have been settled, according to Los Angeles Times.

Producer Amanda White and cinematographer Magdalena Gorka had sued Affleck over incidents they claimed happened while working on I'm Still Here, a pseudo-documentary about actor Joaquin Phoenix's attempts to remake himself as a rapper.

The women had each asked for more than $2 million US in compensation in the suit.

Mediation talks were held last month and Affleck's attorneys announced a settlement in a statement Tuesday.

"The disputes between Flemmy Productions, LLC and Casey Affleck with Amanda White and Magdalena Gorka in connection with the film I'm Still Here have been resolved to the mutual satisfaction of the parties and the lawsuits are being dismissed," the statement said.

No terms of the settlement were announced, but White and Gorka will have credits on the film.

Affleck, who is the brother of Ben Affleck and brother-in-law to Phoenix, is screening I'm Still Here at the Toronto International Film Festival. The film has its commercial release Sept. 24 in Toronto, Montreal and Vancouver and opens in other Canadian cities Oct. 1.

On Wednesday, Phoenix is to return to Late Night with David Letterman, where he staged some peculiar antics on his way to become a rapper last year.