NEW YORK (AP) — Hubert Joly, CEO of Best Buy, sold some stock in order to help pay for his divorce settlement.

In a regulatory filing, Joly said he exercised some 350,467 stock options at $18.02 per share, for a total of about $6.3 million.

He then sold those shares, plus other holdings in the consumer electronics chain, for a total of 451,153 shares for $16.7 million.

That means he made about $10.4 million from the sale.

Best Buy Co. said in a statement that Joly sold the stock "due to circumstances related to his marital dissolution." The chain said that he still owns stock that is substantially more than the 140,000 share ownership target that is part of its executive stock ownership guidelines.

Last month, Best Buy reported second-quarter results that topped analysts' estimates as it slashed costs and worked to make its website more competitive. The retailer has been shuttering underperforming stores and revamping others to offset tough competition from discounters and online retailers.

Under Joly, who took the helm of the company a year ago, Best Buy has instituted a price-matching policy, opened more in-store areas for manufacturers such as Apple and Samsung, and invested more to train employees.

Shares of Best Buy added 5 cents to $37.97 in afternoon trading. Earlier in the session, the stock hit $38, its highest point since December 2010. The stock has more than tripled since the start of the year.

Also on HuffPost:

Loading Slideshow...
  • Jack Welch, General Electric

    Jack Welch, former CEO of GE, <a href="">had an affair with Suzy Wetlaufer</a>, then editor of the Harvard Business Review, while he was married. They're now married. His affair was first reported in the news in 2002; <a href="">he left GE in 2001</a> after leading the company for 30 years.

  • Brian Dunn, Best Buy

    Brian Dunn, former CEO of Best Buy, <a href="">resigned in April</a> because the company found out that <a href="">he had an inappropriate relationship</a> with a female employee. He is <a href="">married with three sons</a>.

  • Mark Hurd, HP

    <a href="">Mark Hurd</a>, former CEO of HP, resigned in 2010 after a letter surfaced accusing him of sexually harassing a contract employee at the company. <em><strong>CORRECTION:</strong> A previous version of this slide characterized Hurd's relationship with Fisher as an "affair." The details of the nature of their relationship <a href="" target="_hplink">have not been confirmed</a>.</em>

  • Harry Stonecipher, Boeing

    <a href="">Harry Stonecipher</a>, former CEO of Boeing, resigned in 2005 because he had an affair with a Boeing company executive. <a href="">His wife filed for divorce</a> days after the resignation.

  • Kenneth Melani, Highmark

    Kenneth Melani (center), former CEO of the health insurance company Highmark, <a href="">was fired in early April</a> for having an affair with a married employee, while he was <a href="">married with four children</a>.

  • Stephen MacMillan, Stryker

    <a href="">Stephen MacMillan</a>, former CEO of the medical device manufacturer Stryker, was fired in March for having an affair with an employee while he was married.