Pop star Britney Spears has agreed a divorce settlement with her estranged husband Kevin Federline, according to People magazine's website.
Spears filed for divorce from Federline last November
Spears, who left rehab last week, filed for divorce in November after two years of marriage. They have two children.
"The parties signed a global settlement on all issues of their marriage and the custody of the children," a spokesman for Federline's attorney told People.
A judge must approve the settlement for the divorce to become final.
Spears, 25, and Federline, 29, were married in a surprise ceremony in September 2004. The singer filed for divorce in November last year, citing irreconcilable differences.
The celebrity news website TMZ.com claims Federline, a former backup dancer, could get $1m. It claimed he would share custody of the couple's two sons, aged 18 months and six months.
The couple currently have joint custody under a temporary court order.
Britney Spears shaved her hair off in February
Spear's first marriage to childhood friend Jason Alexander was annulled after just 55 hours.
At the time her record company claimed the wedding, which took place in Las Vegas, had simply been a joke that went too far.
Spears recently completed a one-month treatment at the Promises Malibu Alcohol and Drug Rehab Treatment Facility in California.
The star completed the treatment at the third attempt after twice reportedly entering the clinic but then leaving again after just one day.
She first checked herself in on 22 February, after shaving her head in public.