Jeremy Renner and his estranged wife Sonni Pacheco finally put an end to their divorce settlement battle and came out with an agreement. 

The former couple will share equal custody of their 2-year-old daughter Ava. Renner will also pay Pacheco $13,000 a month in child support. 

Renner and Pacheco were only married for 10 months and there was a prenup. 

The settlement comes after Renner's roommate and close friend Kristoffer Winters, 41, revealed in court that Pacheo apparently only married the actor for easier access to a green card. 

"I heard Sonni say at least five or six times ... that Jeremy should be nice to her and not fight her on green card or money issues or else she would release intimate videos of him to TMZ," Winters said in court documents.   

Pacheco denied Winters claims and never actually gave the video to TMZ.