A Los Angeles Superior Court judge has ordered Britney Spears to give up custody of her two sons on October 1.


Sean Preston, 2, and Jayden James, 1, will be in the custody of Spears’ ex-husband Kevin Federline beginning October 3 as ordered by Judge Scott M. Gordon.


Spears and Federline have been engaged in a custody battle over their children since officially ending their marriage in July.


Federline has accused Spears of being an unfit mother and has been seeking primary custody of the children.


In addition, Gordon ordered the pop star to undergo random drug and alcohol testing twice a week and to see a “parent coach” weekly. She must also complete the court’s “Parenting Without Conflict” class.


Spears has been in the tabloids since her spit from Federline and has been photographed partying with Hollywood socialite Paris Hilton, beating a car with an umbrella, and shaving her head.  


Spears who has had a stint in rehab for drug and alcohol abuse, as well as a disastrous MTV Video Music awards performance last month, had a hit-and-run charge was filed against her. Furthermore, Spears’ management firm dropped her and her divorce lawyer resigned.


Despite all of this, Spears’ new album out due on November 13. You can stand under my Umbrella ella ella…