A Los Angeles judge has awarded custody of Britney Spears's two young sons to their father, Spears's ex-husband, Kevin Federline.

Federline will get custody of 2-year-old Sean Preston and 1-year-old Jayden James, starting this Wednesday, USmagazine.com reports.

The court announced the decision during a hearing Monday.

Federline will take care of the boys until further notice.