Josh Duggar has won the lawsuit that was brought up against him by a California man for using his photos on Ashley Madison, Twitter, and OK Cupid.

In 2015, news broke that Josh Duggar had been using social media sites to cheat on his wife, Anna Duggar. The eldest of 19 children in a very religious household, Josh dubbed himself as one of the world's "biggest hypocrites" for his behavior. But while he was on social media, Josh didn't use photos of himself, as his family is very well-known around the United States. Instead, he "catfished" women by using the photo of a DJ named Matthew McCarthy after a simple Google search.

McCarthy sought to sue Duggar due to the fact that he says he suffered damage in his career and personal life from his photo being stolen by Josh.

How Josh won the lawsuit

Josh Duggar won the lawsuit after his lawyers set out a "motion to quash," which essentially stated that the court had no jurisdiction over Josh. This is because McCarthy filed the lawsuit in California, and Josh stole and used the photo to meet up with women in his home state of Arkansas. The judge agreed with Josh's camp, stating that California courts have no jurisdiction over Arkansas. Therefore, the lawsuit was dismissed and Josh was able to narrowly escape excessive court fees and a whopping lawsuit settlement.

The Reality TV star has reportedly been having financial trouble since he was cut from his family's hit show, "Counting On" following this scandal.

Earlier in 2015, it was also brought to light that Josh had molested five young women when he was a teenager, including four of his younger sisters. After the revelation, TLC canceled "19 Kids and Counting" and created a spin-off where Josh was not allowed to be featured. He has appeared on the spin-off a couple of times, but it has always drawn ire from fans.

Will this be the end for Josh?

While Josh was victorious in this case, it may not be the end of the line for Josh and his legal woes. The father of five may still be in over his head when it comes to legal fees and paying McCarthy for using his photo without permission. If McCarthy wants to pursue the case further, he can seek legal counsel in Arkansas and re-file the lawsuit there.

In that case, Josh may not get off so easily, as the court will have to examine his actions, as they took place in the state of Arkansas. McCarthy claims that Duggar using his photo resulted in loss of business as a DJ.