LONDON (AP) — Prince Harry's final lawsuit aimed at taming the British tabloids ended in defeat Tuesday as a judge said he failed to prove his privacy invasion claims against the publisher of the Daily Mail.

Justice Matthew Nicklin rejected the broad inferences the Duke of Sussex relied on to try to show that Associated Newspapers Ltd. engaged in unlawful activities. He said there was a shortage of evidence to support the claims and found a possibility that the reporting came from legitimate sources.

READ MORE: Prince Harry's UK trip sparks media buzz over whether Meghan and kids will join him

"In substance, the claimants' case invites the Court to conclude that, because the information was private and because Associated cannot positively explain how it was sourced, the article must have been unlawfully sourced," Nicklin wrote. "That is not a permissible approach."

The ruling scuttles a bid by Harry and six others, including singer Elton John and actor-model Elizabeth Hurley, seeking substantial damages but could leave them with massive legal bills. ANL put the legal costs for both sides above 50 million pounds ($67 million) for years of case preparation and an 11-week trial.