The daughter of former half term Alaska Gov. Sarah Palin was on the losing end of a legal battle that cost over $100,000. After having full custody of her first child, Tripp, Bristol Palin will now take part in a joint custody agreement with her ex-fiance Levi Johnston, as reported by EOnline on Feb. 24.

Bristol beginning

Heading into the 2008 presidential election, Republicans knew that they needed a spark to defeat the popular Democratic candidate, Barack Obama. With Arizona Sen. John McCain named the party's nominee, senior advisors recommended Palin to join the ticket.

Despite her limit experience, the Tea Party favorite was able to add life to the GOP, but was quickly exposed for her lack of political knowledge, ending in a quick defeat that November. Along the campaign trail, Bristol Palin joined her mother with then fianceLevi, announcing that she was pregnant at only 17-years-old. Shortly after the election defeat, the teen couple separated which led to a legal battle that has lasted over seven years.

Court battle

Since their break up in 2009, Johnston alleges that the Palin family have made it difficult for him to see his son. In 2010, Levi and Bristol worked out an agreement that would allow the child to his see father twice a week, each Wednesday and Saturday.

Since the courts never finalized the agreement, Johnston filed a petition in 2013 asking for joint custody.

In a Facebook post on Wednesday, Johnston announced that he had won the court battle.

Discuss this news on Eunomia

"I'm so happy to have my son in my life," Johnston said, noting, "I'm happy now to be successfully co-parenting." Elaborating further on the details of the case, "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."

The Palin family hasn't released an official statement, but Bristol posted a meme on Instagram afterthe court's decision, which read, "Always be careful of what you hear about a woman.

Rumours either come from a man that can’t have her or a woman who can’t compete with her."

Last December, Bristol gave birth to her second child, her daughter named Sailor Grace Palin. The child's father is Medal of Honor recipient Dakota Meyer, who has since taken legal action, also pushing for joint custody.