“The process of casting a movie has many complicated variables, but it is clear that our casting choices should have been more diverse,” Proyas said in a statement obtained by TheWrap. “I sincerely apologize to those who are offended by the decisions we made.”

The studio itself came out with even stronger words in its own apology.

“We recognize that it is our responsibility to help ensure that casting decisions reflect the diversity and culture of the time periods portrayed. In this instance we failed to live up to our own standards of sensitivity and diversity, for which we sincerely apologize,” the company said. “Lionsgate is deeply committed to making films that reflect the diversity of our audiences. We have, can and will continue to do better.​​”

“Gods of Egypt” is not the first film to attract criticism over casting white actors in roles that would seem to call for more diverse selections.

Ridley Scott‘s “Exodus: Gods and Kings” came under similar fire when it was released late last year, and his “The Martian” this year was also criticized for casting a white actress in the role of a character who was Korean-American in the book on which the movie is based.

Joe Wright‘s “Pan” was also criticized when he cast Rooney Mara to play the role of Tiger Lily, a Native American.

While Scott and Wright have each been made to answer for their decisions, neither had come out with a full-throated apology the way Proyas and Lionsgate has.