Rapper Eminem and his ex-wife Kim have reached a court agreement to stop insulting each other in public.
In the past Eminem has sung about killing his ex-wife
The pair, who divorced for the second time last year, pledged to stop trading insults for the sake of their 11-year-old daughter Hailie.
The deal came after the rap star took legal action to stop Kim Mathers making "derogatory, disparaging, inflammatory and otherwise negative comments".
In a recent radio interview, she branded him "uncaring and unfaithful".
According to Ms Mather's lawyer Michael Smith, the order does not prohibit Eminem - real name Marshall Bruce Mathers III - from performing songs that are critical of his former wife.
Kim Mathers was in court with her lawyer Michael Smith
The 34-year-old rapper sung about killing her in his 2000 hit Kim.
Mr Smith said the decision was reached "for the full benefit of the child" and they both had to "attempt to promote a good relationship".
Eminem's lawyer Harvey Hauer said: "We're happy the court was able to bring this matter to a just and equitable resolution."
The couple first married in 1999 and divorced two years later.
They remarried in January 2006 and their second divorce was finalised in December.