Bristol Palin just scored a win in court.
A judge has ordered Palin's ex-fiancé, Levi Johnston, to pay $61,915.20 in back child support for their 7-year-old son, Tripp.
WATCH: Bristol Palin Posts 'Too Cute' Pic of Ex Dakota Meyer With Daughter Sailor Grace
The two had been in a legal battle over their son for years, but agreed on joint custody in February.
Neither Palin nor Johnston have commented publicly on the ruling, but on the same day news of the court order broke, the 25-year-old Alaska native posted a black-and-white photo of herself with her other ex-fiancé, Dakota Meyer, and their 5-month old daughter, Sailor Grace, to Instagram. "b a b y d a d d y b f f," she captioned the sweet selfie.
Meyer, who resides in Kentucky, was granted joint physical and legal custody of Sailor in March.
WATCH: Bristol Palin Shares Cryptic Message After Ex Levi Johnston's Custody Win
Earlier this year, the Dancing With the Stars alum alleged that she hadn't received proper payments from Johnston for Tripp since 2009 -- the year Johnston announced he was going to sue his ex for joint custody -- and an Alaskan court was then to decide how much he owed her and what his future child support obligation would be. The ongoing struggle also included a decision in 2010 for Palin to have primary physical custody while both shared legal custody, according to People.
Despite all their issues, the two appear to finally be on good terms. "Levi is a great dad," Palin told ET in a statement in February. "We have a great co-parenting relationship and Tripp loves him."
WATCH: Bristol Palin Responds to Conspiracy Theories About Daughter Sailor's Birth Date
Johnston took to Facebook on Feb. 24, after the custody battle ended. "I'm so happy to have my son in my life, and to put all of this back in forth in the courts behind me," he wrote in a now-deleted post. "It might have taken me 7 years and cost me around $100,000 in lawyer fees, spread out among 3 different lawyers, as well as a lot of patience, but it was all worth it."
He also added that he was "happy now to be successfully co-parenting," and Palin shared a similar message via Instagram one day later. Find out what she had to say about raising Tripp with her ex in the video below.