Jeremy Renner was finally able to put an end to the weirdest custody/support battle in recent memory ... his estranged wife has agreed to a settlement, which Jeremy was willing to do all along.
The settlement includes both custody and child support involving their 2-year-old daughter Ava.
Under the terms of the settlement ... Jeremy will share 50/50 custody with Sonni Pacheco. She'll get $13k a month for child support. She gets no spousal support -- the marriage lasted only 10 months and there was a prenup.
Sonni's lawyer, Mark Vincent Kaplan, said in court Wednesday there could be more issues, but Jeremy's lawyer, Laura Wasser, rolled her eyes to the judge and said the case was fully resolved.
Sonni filed for divorce in December 2014. The two have been fighting over custody of Ava -- Pacheco wants primary custody while Jeremy wants a 50/50 split. What's weird is that Jeremy's had 50% custody since they split, and she was fine with that.