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 on Tuesday 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 their real estate, William will take their Studio City house and Three Rivers Ranch in California as 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 had 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 $100 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 Narine Kidd, Marcy Lafferty, and Gloria Rand, whom he shares 3 children.

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