Time to pony up.

William Shatner got horse semen as part of his divorce settlement with ex-wife Elizabeth Shatner, People reported.

The 88-year-old actor settled his divorce from Elizabeth this week and reached an agreement on how their assets would be divided.

The Star Trek star will walk away with two of their horses, Renaissance Man’s Medici and Powder River Shirley, and two dogs, Macchiato and Double Espresso, as well as “all horse semen” and equipment used for horse breeding, according to court documents.

Elizabeth, a horse trainer, will get horses Belle Reve’s So Photogenic and Pebbles and was also granted visitation rights with notice for the other horses.

As for real estate, William will take their Studio City house and Three Rivers Ranch in California while Elizabeth will take their homes in Malibu Cove and Versailles, Kentucky. She can also visit the ranch to “occasionally harvest fruit” and visit the resting place of her first husband and horses who have passed, according to the website.

They have no children together.

Filings show that the pair had a prenuptial agreement so neither will be receiving spousal support. His estimated net worth is over $150 million.

William filed for divorce in December 2019 after 18 years of marriage. They settled a month later.

Elizabeth was William’s fourth wife. He was previously married to Nerine Kidd, Marcy Lafferty, and Gloria Rand, whom he has three daughters.

His representative did not immediately respond to Page Six’s request for comment.

This article originally appeared on the New York Post and was reproduced with permission