June 19, 2014 10:32 AM EDT

June has been a pretty rough month for Jennifer Lopez. After announcing her split from boyfriend Casper Smart just two weeks ago, the singer has now formally completed her divorce from ex-husband Marc Anthony.

The couple, married since 2004, split in July 2011 but have now reached a formal agreement to end their marriage.

As part of the agreement, the couple will share custody of their young twins, with Anthony getting physical custody seven days per month. Both parties agreed to shield the children from unwanted publicity and paparazzi attention.

More Must-Reads From TIME

Contact us at letters@time.com.

You May Also Like