If you thought you've been through a bad breakup, let Sofia Vergara and Nick Loeb's custody battle drama remind you that things could be much worse — like being sued by your frozen embryos worse.

A Louisiana judge dismissed Loeb's lawsuit for custody over two embryos they conceived via in vitro fertilization while they were still together in 2013.

sofia vergara and nick loeb
photo: Splash

According to the New York Daily News, the judge presiding over the case ruled that the state had no authority to make a legal decision since the "citizens of California" (embryos) were created in California. 

Although this marks a victory for Vergara, it hasn't been easy. Let's take a look at the headache-inducing timeline of events, shall we?

This case began when Vergara refused to give Loeb permission to unfreeze the embryos in an effort to bring them to term.

sofia vergara
photo: Splash

They split up in 2014 and had an agreement in place that required both of them to consent for the embryos to be used.

In 2015, he wrote an op-ed for The New York Times claiming that Vergara's desire to keep the embryos fertilized indefinitely was the same as "killing them."

Vergara explained to Howard Stern, "More than a mother, (a baby) needs a loving relationship of parents that get along, that don’t hate each other. But obviously he has a problem. A kid needs parents. I wouldn’t want to bring kids to the world that is already set against them. It would be so selfish."

As you can tell, it wasn't a smooth breakup. 

In 2016, Loeb pulled his original lawsuit after declining to name two ex-girlfriends who had abortions, so he did the next "best" (read: PETTY) thing: He found out how to make the embryos sue Vergara.

nick loeb embryo custody battle
photo: Splash

If you're thinking "What in the actual hell?!" don't worry, that went through our minds, too.

Apparently, Loeb put together trusts in Louisiana for the embryos because it's a state where they are considered a "juridical person" until they are "implanted in the womb." 

The lawsuit requested that the embryos — named "Emma" and "Isabella" — be given to him so they can live and use said inheritance. 

And like a ping-pong match of epic proportions, Vergara then counter-sued him.

Sofia Vergara
photo: Splash

People reported that she was looking to "the State of California’s Superior Court for declaratory relief and a permanent injunction as well as monetary damages against Loeb."

Did that stop him? HELL NO. This man is like a cockroach and does not give up.

Loeb then tried to have Vergara's lawsuit dismissed by accusing her of violating his freedom of speech

According to The Daily Mail, the lawsuit stated that "the sole purpose of Plaintiff's [Vergara] complaint is to punish Loeb for, and prevent him from engaging in, protected speech by initiating legal proceedings to establish and exercise his legal rights to Female Embryos."

Thankfully after all the back-and-forth drama, the crazy saga is over for good.

Or at least we hope it is. You never know what this Loeb guy has up his sleeves.