Stormy Daniels is in a legal battle with another “stable genius” — a Texas equestrian center that the porn star blames for killing two of her prized horses.

According to a lawsuit obtained by TMZ, the Pegasus Eventing Equestrian Center in Rockwall, Texas, has filed a defamation lawsuit against Daniels, a Texan who is an avid horsewoman who has won multiple ribbons in amateur competitions.

Pegasus claims Daniels is trying to ruin its reputation with a social media smear campaign accusing them of killing one of her horses, Bailey, in a flash flood in 2015.

Daniels also claimed the stable allowed a second horse, Ziggy, to get injured a year later in a hail storm. Ziggy later died in a “freak galloping collision” at another location — a death Daniels blamed on the original injury from Pegasus, the gossip website reported of the defamation suit.

Daniels — who once played an equestrian in an adult movie called “Unbridled” — smeared the Pegasus owners as “mentally challenged” and “drunk.”

Pegasus lawyer Christine Renne told the website that Daniels’ smears were lies and that the stable is seeking a million dollars compensation.

“Complete nonsense,” Daniels lawyer Michael Avenatti countered of the suit.

Daniels is better known for her legal entanglements with President Trump, with whom who she alleges having a 2006 fling.