1.1893193-599764218
US pop star Madonna speaks after evaluating progress being made at the construction of her paediatric surgery and Malawi’s first ever intensive care unit at Queen Elizabeth Central Hospital in the southern city of Blantyre Sunday, July 10.2016. Madonna has been in Malawi for a week during which she has met with President Peter Mutharika and health minister Peter Kumpalume. (AP Photo/Thoko Chikondi) Image Credit: AP

Madonna and Guy Ritchie have resolved a months-long custody dispute in New York over where their teenage son should live.

Court spokesman Lucian Chalfen confirmed on Wednesday that the divorced singer and film director had reached a settlement. He didn’t release any details.

A lawyer for Madonna declined to comment. An attorney for Ritchie didn’t immediately return a call seeking comment.

The court-appointed lawyer representing 16-year-old Rocco Ritchie also didn’t return a message seeking comment.

In March she told a state judge the dispute was causing her client stress.

A judge had previously ruled that Rocco should return to his mother’s custody after he left her worldwide tour to live with Ritchie in London.

But the judge, Deborah Kaplan, urged the couple to reach an agreement on their own.