Over the past few weeks, The Hills alum, 32, and the Australian BMX rider, 35, have been in a legal battle over their daughter.

Patridge received full legal and physical custody of Kirra while Bohan has visitation rights three days per week on Mondays, Wednesdays and Sundays.

Reportedly, the couple reached the agreement on their own terms.

“Audrina and Corey came to the agreement themselves,” said a source. “There is still a lot to be determined, but for now Audrina has primary custody of their child and Corey is getting visits each week.”

In addition, Patridge was granted a personal conduct and stay away order from Bohan, whom has been ordered to say 100-yards away from his estranged wife, her home, job, vehicle and Kirra’s school or childcare.

Bohan agreed to move out of their Orange County, Calif. home and Patridge paid him $35,000 to finance the move.