LONDON — The Daily Mail apologized to Melania Trump on Wednesday and agreed to pay damages to settle two lawsuits she had filed over an article last year asserting that the professional modeling agency she worked for in the 1990s had also been an escort service.

“We accept that these allegations about Mrs. Trump are not true and we retract and withdraw them,” a lawyer for the British newspaper told a judge, Andrew Nicol, at the Royal Courts of Justice in London. “We apologize to Mrs. Trump for any distress that our publication caused her. To settle Mrs. Trump’s two lawsuits against us, we have agreed to pay her damages and costs.”

The terms of the settlement were not immediately disclosed. She had sought compensatory and punitive damages of at least $150 million, according to the filing.

The Daily Mail published its article on Mrs. Trump on Aug. 20, 2016, quoting from a report in a magazine in Slovenia, where she was born, and a biography of her by a journalist, Bojan Pozar.