New York Attorney General Letitia James on Monday sued the Roman Catholic Diocese of Buffalo for allegedly sheltering more than two dozen priests who were accused of sexually abusing minors and vulnerable adults.

The lawsuit, filed in Manhattan Supreme Court, followed a two-year investigation by James’ office, which found that allegations of abuse by Catholic priests in Buffalo were either inadequately investigated or covered up for years.