Bristol Palin Levi Johnston custody case
Bristol Palin denies she lost the custody case against ex Levi Johnston. Pictured: Bristol at a Candie's Foundation event in 2011 in New York. Getty Images

Bristol Palin's seven-year custody battle with ex-fiancé Levi Johnston has finally come to a conclusion. Johnston announced the news on social media, writing that he and Palin are now "successfully co-parenting" their son, Tripp.

In an Instagram post early Thursday, Palin commented on the news, dismissing rumors that she lost the case against her ex.

"These babies are my world, and I will always be doing what is best for them,” she captioned a photo of her posing with Tripp and 2-month-old daughter Sailor Grace.

She added, “Every child deserves two loving parents, so I will continue to encourage that, no matter what. I have never, and will never, keep them from having a positive relationship with their fathers. I did not 'lose' any custody case— my son has always spent most of his time with me and he will continue to do so. He is happy, healthy, and knows both of his parents love him."

Palin's comments came after Johnston posted – and deleted – a message telling fans that he was "happy" to have Tripp in his life and to put the case behind them.

He went on to say that the custody battle cost him "around $100,000" in legal fees, but he didn't divulge specific details about the settlement besides mentioning that he does owe "some back child support." TMZ previously reported that Johnston owes around $60,000.

According to Entertainment Tonight, Palin's ex concluded his post encouraging all fathers to "never give up on fighting to keep their kids in their life” because “it’s always worth it.”

Even though the 25-year-old daughter of former Alaska Gov. Sarah Palin settled one custody case, she's still in the middle of a second case, against ex-fiancé Dakota Meyer, the father of Sailor.

As previously reported, Palin wants primary custody of the baby girl while her ex is seeking joint custody. Palin is also asking for child support and the right to have the final say on any decisions regarding Sailor.