Three men involved in a dispute over a $13 million lottery win have settled the matter in the Victorian Supreme Court this morning.

A civil trial over the winnings, which has reportedly cost the trio $1.5 million in legal costs, was set to begin today before the men agreed to a confidential settlement.

Garry Garlick and Eugene Te Pairi were suing Brett Pretty over a division-one Oz Lotto win after the three pooled money and bought a 24-game “quick pick” from a Carrum newsagency.

Days after the win, the money was frozen by the courts when Mr Pretty allegedly reneged on how much he would give the other two.

In statements of claim filed to the court, Mr Te Pairi and Mr Garlick reportedly argued that they had an implied “joint-venture agreement” with Mr Pretty to share the rights to the ticket.

They claimed they were each entitled to $4,395,091 – a third share of the $13,185,273 prize money, or alternatively, they should be given a proportionate distribution of the winnings based on the amount each contributed to the pool of money on the day.

The trial was due to start before Justice James Judd this morning when the parties asked for extra time to discuss issues relating to the case.

When the matter resumed, the court heard that the matter had been settled.