London, July 20 : Singer Britney Spears has finally reached an agreement with former husband Kevin Federline allowing her more access to her children.
The settlement allows the fallen pop princess more overnight visits with her kids.
The settlement was agreed with lawyers and a Los Angeles Superior Court commissioner in a closed-door session.
Spears' attorney, Laura Wasser, said the 26-year-old will be able to spend more time with her young sons.
Wasser said Federline, 30, would retain full custody, but Spears may get expanded rights by the end of the year.
Neither Spears nor Federline attended the hearing.
The agreement also means a custody trial that had been scheduled for next month will not take place now.
Wasser revealed that the singer will now have three visits a week from Sean Preston, 2, and Jayden James, 1, with at least two overnight visits.
"The fact is, it's a win for the family," BBC quoted her, as saying.
Lawyer Mark Vincent Kaplan, who represents Federline, said his client was also pleased that an agreement had been reached.
Spears and Federline were married in 2004 and finalized their divorce last July.