Oprah Winfrey has settled a defamation lawsuit filed by a headmistress she had accused of performing poorly at her South African girls school, where some students claimed they were abused, lawyers said Tuesday. The lawsuit by former headmistress Nomvuyo Mzamane claimed Winfrey defamed her in remarks made in the wake of the 2007 sex-abuse scandal at the school. Mzamane said she had trouble finding a job after Winfrey stated she had “lost confidence” in her and was “cleaning house from top to bottom.” A trial had been set to start next week in federal court in Philadelphia. Winfrey and several schoolgirls had been expected to testify. A joint statement released late Tuesday by lawyers for both sides said Winfrey and Mzamane met to resolve their differences. Winfrey was visiting her school last week when US District Judge Eduardo Robreno refused to dismiss the lawsuit, concluding Mzamane had presented enough evidence to go to trial. Court papers suggest Mzamane is again working at a school in Africa, but a Winfrey spokeswoman declined to say if the meeting took place during Winfrey's trip.