Britney Spears was reunited briefly with her sons Saturday, spending about three hours with the two little boys nearly two months after the troubled pop star last saw them.

Spears' father, James, played a key part in making possible the visit with Jayden James, 1, and Sean Preston, 2, said Elliot Mintz, a spokesman for Spears' ex-husband Kevin Federline.

Mintz wouldn't say where the reunion took place or who else was there, but People magazine reported that Spears' psychiatrist was present.

Spears had not been allowed to see the boys since Jan. 3, when she refused to return the children after a visitation. Police were called to her home, and a scene ensued that ended with Spears being taken to the hospital. She was hospitalized a second time four weeks later.

The visit came a day after Federline's attorney Mark Vincent Kaplan announced that the couple "agreed to a modification of the court's order" that had stripped Spears of her visitation rights.

Spears' parents went to Los Angeles around the time of her second hospitalization and have pushed to restore visitation rights to help their daughter recover.

A court commissioner gave Federline sole physical and legal custody of the former couple's boys and suspended Spears' visitation rights on Jan. 4.

Leading up the hospitalizations, Spears enaged in bizarre public behavior. Since divorcing Federline in November 2006 she shaved her head, was seen in public without underwear, ran over a celebrity photographer's foot and attacked a vehicle with an umbrella.