Britney Spears has described the termination of a legal arrangement that controlled many aspects of her life for 13 years as "the best day ever".
"I think I'm gonna cry," she told her 35 million Instagram followers.
A judge in Los Angeles on Friday ended the conservatorship set up by the 39-year-old singer's father in 2008 with immediate effect.
Fans had gathered outside the LA court to support Spears, who had described the guardianship as abusive.
Her father Jamie earlier said it was "necessary", but agreed it was time for her "to re-take control of her life".
"Her life was in shambles and she was in physical, emotional, mental and financial distress," lawyers representing Jamie Spears said in earlier court filings.
The conservatorship had power over her finances and career decisions plus major personal matters, such as her visits to her teenage sons and whether she can get remarried.
On Friday, Los Angeles County Superior Court Judge Brenda Penny ruled in favour of the singer's request to end it, which was not opposed by any of the parties involved.
Good God I love my fans so much it’s crazy 🥺❤️ !!! I think I’m gonna cry the rest of the day !!!! Best day ever … praise the Lord … can I get an Amen 🙏🏼☀️🙌🏼 ???? #FreedBritney— Britney Spears (@britneyspears) November 12, 2021
🎥: @AbbyShalawylo pic.twitter.com/yk1vO3H02L
As part of the ruling, Judge Penny said an accountant who served as a temporary conservator should retain some powers to settle ongoing financial issues.
Addressing the crowd outside the court, Spears' lawyer Mathew Rosengart praised the singer's "courage" throughout the court hearings.
He said he was proud that she had shone "a light on conservatorships from California to New York", and that as a result of her testimony, new legislation had been passed "to try to ensure that conservatorships like this... do not happen again".
Friends were also jubilant following the decision. Celebrity and businesswoman Paris Hilton wrote on Twitter the "moment is so long overdue", adding: "Your best days are yet to come!"
On Monday, the Baby One More Time and Toxic singer wrote on Instagram that she hadn't "prayed for something more in my life".
"I know I've said some things on my Insta out of anger and I'm sorry but I'm only human... and I believe you'd feel the same way if you were me!"
In a court appearance in June, the star asked the judge to end the "abusive" arrangement and said she was "traumatised".
Addressing the court remotely, she said she had been drugged, forced to perform against her will and prevented from getting married and having more children.
Her testimony led her father to agree to step aside.
A conservatorship is used for people who cannot make their own decisions and was put in place because of concerns about her mental health.