Jeremy Renner and his estranged wife have reached a custody agreement – less than a year after the pair married in a secret wedding ceremony.

The ex-couple will share joint custody of their two-year-old daughter.

Los Angeles Superior Court Judge Michael Whitaker approved the settlement, which calls for The Hurt Locker star to pay his wife £8,700 (13,000 dollars) a month in child support, after a day of negotiations.

Jeremy Renner
(Jordan Strauss/AP)

Sonni Pacheco, a model, filed for divorce from the Oscar-nominated actor in early December.

A hearing had been scheduled for Thursday in the pair’s custody dispute. Both sides had each raised issues with the other’s parenting of their daughter.

As part of the agreement, the Avengers: Age of Ultron star and Pacheco agreed not to make disparaging remarks about their former partner in front of their daughter and will fashion a parenting plan along with a therapist.

The settlement also lays out how Renner can make up time with his daughter when he is out of Los Angeles on film shoots.

Jeremy Renner
Jeremy Renner (Jordan Strauss/Invision)

The Town star, 44, hugged his attorney Laura Wasser after the settlement was approved. The actor had been prepared to testify at a hearing on child support and custody issues, but the proceedings were delayed while negotiations were ongoing.

“Both parties greatly adore their daughter,” Pacheco’s attorney Mark Vincent Kaplan said after the hearing. He said the pair would “work together to make these orders work in a way that makes their daughter a winner today.”

The custody agreement would form the basis for a final divorce judgment, Wasser said.