Levi Johnston has been trying to gain joint custody of his son, Tripp, since 2009. Now it sounds like he and Bristol Palin, who gave birth to Tripp in 2008, have finally reached an agreement.

Johnston posted a statement to Facebook Tuesday (Feb. 23) saying that he is “happy now to be successfully co-parenting” his son.

“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,” writes Johnston. “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. I’m happy now to be successfully co-parenting.”

He goes on to detail the child support he has paid to Palin since Tripp’s birth — around $50,000 — and admits that he does owe some back child support. But Johnston says he knows he has “worked hard to meet [his] obligations as a father.”

RELATED: Bristol Palin sends Levi Johnston’s new baby flowers ‘from Tripp’

“Despite what some have heard I’ve always been there for [Tripp], and I go to almost every school event that I can and spend all of my free time with my kids,” he continues. “Right now life is really looking up for our family.”

Johnston married Sunny Oglesby in late 2012. They have two daughters together, Breeze Beretta, 3, and Indy Rae, 13 months.

He ends by saying that fathers who want joint custody of their children should never give up, even if there are obstacles standing in the way.

“I want to say that even though fathers in this country don’t usually have the upper hand in court, I encourage every father to never give up on fighting to keep their kids in their life. It’s always worth it.”

Palin has yet to respond to Johnston’s Facebook post.

Posted by:Andrea Reiher

TV critic by way of law school, Andrea Reiher enjoys everything from highbrow drama to clever comedy to the best reality TV has to offer. Her TV heroes include CJ Cregg, Spencer Hastings, Diane Lockhart, Juliet O'Hara and Buffy Summers. TV words to live by: "I'm a slayer, ask me how."