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="http://www.dailyfinance.com/2010/11/24/ceo-sex-scandals/">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="http://www.ge.com/company/history/bios/john_welch.html">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="http://www.huffingtonpost.com/2012/04/10/best-buy-ceo-quit-over-pe_n_1416195.html">resigned in April</a> because the company found out that <a href="http://www.huffingtonpost.com/2012/05/14/brian-dunn-best-buy-relationship_n_1514485.html">he had an inappropriate relationship</a> with a female employee. He is <a href="http://www.dailymail.co.uk/news/article-2128770/Best-Buy-CEO-Brian-Dunn-quit-investigation-inappropriate-relationship-female-employee.html">married with three sons</a>.

  • Mark Hurd, HP

    <a href="http://www.huffingtonpost.com/2010/08/06/hp-ceo-mark-hurd-resigns-_n_673858.html">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="http://tech.fortune.cnn.com/2010/11/04/what-really-happened-between-hp-ex-ceo-mark-hurd-and-jodie-fisher/" target="_hplink">have not been confirmed</a>.</em>

  • Harry Stonecipher, Boeing

    <a href="http://www.businessweek.com/stories/2005-03-07/the-affair-that-grounded-stonecipher">Harry Stonecipher</a>, former CEO of Boeing, resigned in 2005 because he had an affair with a Boeing company executive. <a href="http://www.nytimes.com/2005/03/14/business/14boeing.html?ref=harrycstonecipher">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="http://www.huffingtonpost.com/huff-wires/20120404/us-pa-insurance-ceo-assault/">was fired in early April</a> for having an affair with a married employee, while he was <a href="http://www.post-gazette.com/stories/local/region/highmark-fires-ceo-melani-629515/">married with four children</a>.

  • Stephen MacMillan, Stryker

    <a href="http://www.dailymail.co.uk/news/article-2148985/Stryker-CEO-Stephen-MacMillan-fired-dating-companys-corporate-jet-flight-attendant-despite-given-permission-board.html">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.