Rory McIlroy has reached an ‘amicable’ out of court settlement with American sportswear company Oakley.

The former world number one has announced an end to one of two legal cases which have followed his multi-million sponsorship deal with Nike.

The young Ulsterman is still facing a Court case in Dublin with his former manager Conor Ridge and the Horizon Sports group.

McIlroy issued a statement on Sunday confirming his agreement to settle out of court with the Oakley corporation, but he refused to disclose the terms of the deal.

The Irish Independent reports that McIlroy’s sponsorship switch to Nike in January prompted Oakley to launch legal action to try to retain its sponsorship deal.

Oakley said it had the right to match any improved agreement with another company and instigated legal action against McIlroy in the United States.

A statement released on behalf of McIlroy said: “The legal claims brought by Oakley against Rory McIlroy in California have been amicably settled to the satisfaction of both parties.”

McIlroy said: “I am delighted the case is now behind me.”

Pat McIlvain, the vice president of Oakley Sports Marketing, issued a statement on behalf of the company.

He said: “We are very pleased the proceedings against Rory have been resolved. We enjoyed an excellent relationship with Rory as an Oakley brand ambassador.

“He conducted all his engagements on our behalf with energy and professionalism. We recognize that, in his business dealings with us that were the subject matter of this dispute, Rory was represented by his agent.”

McIlroy admitted earlier this month that his legal worries had weighed on him during a disappointing season.

He is due in a Dublin court next year after canceling his contract with Dublin-based Horizon Sports Management.