Pop star Britney Spears has been granted temporary visitation rights to see her sons, her lawyer has confirmed.
In September Spears was ordered to complete drug and alcohol tests
"Yes, she has visitation with the children," said Anne Kiley in an e-mail to the Associated Press news agency.
Last week a Los Angeles judge ruled the singer could not see Sean Preston, aged two, and one-year-old Jayden James until she complied with court orders.
Earlier this month Ms Spears' ex-husband Kevin Federline was granted full custody of the two boys.
Last month, the same judge said Ms Spears showed "a habitual, frequent and continuous use of controlled substances and alcohol".
She was then ordered to complete random drug and alcohol tests twice a week, as well as meeting a "parenting coach" weekly, according to court documents.
The next hearing is scheduled for Friday.