An American man has been jailed for selling drugs on a luxury gay cruise from what the sentencing judge termed an “apothecary” in his cabin.

Steven Krumholz, 51, from California, was found with more than 142 ecstasy pills, methamphetamine, a small amount of ketamine, and about $51,000 (£31,000) in cash.

He pleaded guilty and was sentenced to 21 months in prison for dealing drugs to fellow passengers on Allure of the Seas.

Steven Barry Krumholz pleaded guilty to the charges in July at a court in the US Virgin Islands.

U.S. District Court Judge Curtis Gomez Krumholz used his cruise ship room “as if it was an apothecary for controlled substances.”

Krumholz was arrested in February when the 5,400-passenger ship docked in St. Thomas, one of the US Virgin Islands.

The 16-deck Royal Caribbean ship, the largest passenger ship ever built, had been chartered by Atlantis Events on a sailing billed as the world’s largest gay cruise. Royal Caribbean said it fully cooperated with authorities during the investigation.