NEW YORK — A lawyer for Amazon says Woody Allen breached his four-movie deal with the online giant by making statements about the #MeToo movement that damaged prospects for promoting his films.

Woody Allen

An Amazon lawyer said Friday that the filmmaker Woody Allen breached his four-movie deal with the online giant by making statements about the #MeToo movement that damaged prospects for promoting his films. Evan Agostini/Invision/AP, file

Attorney Robert Klieger told a Manhattan federal judge on Friday that the company protected itself after Allen made comments that at a minimum were insensitive.

The hearing was related to a lawsuit Allen filed in February seeking at least $68 million. The lawsuit says Amazon ended his 2017 contract in June.

John Quinn, Allen’s lawyer, says Amazon initially claimed it was ending the deal because of allegations made against Allen decades ago, not because of his recent statements.

Allen’s adopted daughter, Dylan Farrow, said in 1992 that Allen molested her when she was 7. Allen has repeatedly denied it.