Golfer Phil Mickelson on Thursday was accused of profiting from trades that have resulted in criminal insider trading charges against two other individuals, including Mickelson’s bookie.

The Securities and Exchange Commission said that Mickelson used an alleged tip he received from gambler William “Billy” Walters, who got information from a former Dean Foods US:DF chairman, Thomas Davis.

The SEC said that Walters called and then sent text messages to Mickelson, who ultimately bought a $2.4 million position in three accounts he controlled. Those securities “dwarfed” Mickelson’s other holdings, which were collectively valued at less than $250,000, the SEC said. Mickelson had not been a frequent trader, and these were his first Dean Foods purchases, the SEC said. Mickelson made a profit of approximately $931,000 from the stock, which he held for about a week.

The SEC referred to Mickelson as a so-called relief defendant. A relief defendant is someone who has received property obtained illegally but is not directly accused of wrongdoing.

The reason Mickelson, who the PGA Tour website indicated has career earnings of $79.5 million, made these trades? According to the SEC, Mickelson owed Walters money at the time Walters urged him to trade. That’s also the case with Davis — the SEC said he owed Walters money.

In a statement from his lawyer, Mickelson said he was “vindicated” because the SEC did not allege that the golfer violated the securities laws. He did say that “he has no desire to benefit from any transaction that the SEC sees as questionable” and therefore will return all the money made on that 2012 investment.

“Phil understands and deeply respects the high professional and ethical standards that the companies he represents expect of their employees, associates and of Phil himself. He subscribes to the same values and regrets any appearance that, on this occasion, he fell short. He takes full responsibility for the decisions and associations that led him to becoming part of this investigation,” the statement read.

The statement also noted that all of his sponsors are continuing their agreements with him.

The Justice Department has alleged that Davis provided material nonpublic information to Walters, who is also charged in a separate indictment, about Dean Foods earnings results, its outlook and the spinoff of Whitewave-Alpro, a Dean subsidiary.