Jennifer Lopez and Marc Anthony's Divorce Finalized

Jennifer Lopez Marc Anthony Grammy Awards 2011
Jason Merritt/Getty Images

LOS ANGELES, CA - FEBRUARY 13:  Actress Jennifer Lopez and singer Marc Anthony arrive at The 53rd Annual GRAMMY Awards held at Staples Center on February 13, 2011 in Los Angeles, California.

The pair will share custody of their 6-year-old twins as their breakup, which began with a separation three years ago, is official.

Jennifer Lopez and Marc Anthony's divorce has been finalized nearly three years after the singers separated.

Los Angeles Superior Court Judge John Sandoz finalized the couple's breakup on Monday, awarding the former couple joint legal custody of their 6-year-old twin children, court records show.

PHOTOS Jennifer Lopez's Style: 10 Top Looks From the Past Year

The pair agreed that Lopez will have their son and daughter most of time, with Anthony caring for them for seven days a month. The singers also agreed that no child or spousal support was necessary.

The singers also agreed to do whatever they can to shield their children from paparazzi and reporters. The judgment states both Lopez and Anthony recognize "that exposing the children to public spectacle and failing to shield the children from aggressive news organizations, photographers, etc. is not the children's best interest."

PHOTOS 'American Idol' Season 13

The judgment was first reported Wednesday by TMZ.

Anthony filed for divorce in April 2012, but the pair separated in July 2011.

Anthony's latest Spanish album 3.0 has been a hit, and he announced earlier this year that he's working on an English-language pop album. Lopez released her latest album A.K.A. this week.

PHOTOS Billboard Latin Music Awards

A judge hearing a dispute between Anthony and his ex-wife Dayanara Torres issued a proposed ruling on June 11 that, if finalized, would require the Latin crooner to increase his child support to their two sons, ages 10 and 13, to nearly $27,000 a month. Anthony is also required to pay $12,000 a year for Torres' and their sons' vacation expenses, plus medical expenses and tuition costs.

The proposed order will become official in early July unless attorneys raise new valid legal issues.