The City of New York has agreed to resolve hundreds of federal civil rights claims filed by people who said they were unjustly arrested during the 2004 Republican National Convention, according to people familiar with the cases.

More than 1,800 people were arrested the week of the convention, mostly for minor violations, and many were put in a temporary detention center at a Hudson River pier. People held there said they slept on floors covered by soot and grease, and some said they left with rashes or respiratory problems. Some were held for two days or more before seeing a judge — exceeding the 24-hour limit set by the courts.

The arrests led to more than 600 individual claims, of which 112 have been settled. Lawyers also filed a class-action claim covering those who did not file suits.

The agreement would settle all or most remaining lawsuits, and is expected to include payments totaling several million dollars, according to people with knowledge of the cases, who spoke on the condition of anonymity because the agreement had not yet been made public.