NEW YORK (AP) — A New York City teacher who was suspended for allowing students to use sexually explicit language in a class on HIV/AIDS has settled her claim against the city for $45,000.

In May, a federal judge had ruled that Faith Kramer was wrongfully suspended and said her lawsuit against the Department of Education could proceed.

The city said Monday that it settled the case to avoid costly litigation.

Neither Kramer nor her lawyer could be reached for comment.

Kramer was suspended for eight months in 2008. She was a tenured teacher at I.S. 72 in Staten Island.

The city had argued that the slang terms Kramer allowed in her HIV/AIDS class were inappropriate for the classroom.

(Copyright 2010 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)