After days of headlines about his family's financial affairs, British Prime Minister David Cameron acknowledged Thursday that he profited from his father's investments in an offshore tax haven.

Cameron told ITV news that he and his wife, Samantha, sold shares worth 31,500 pounds (currently $44,300) in an offshore fund named Blairmore Holdings in January 2010 — five months before Cameron became prime minister. They had paid 12,497 pounds for the shares in 1997. Cameron said the money was subject to British tax "in the normal ways."

The prime minister's father, Ian Cameron, who died in 2010, was a client of Panamanian law firm Mossack Fonseca. Millions of documents detailing the firm's work with wealthy individuals have been leaked to the international media.

Ian Cameron, an affluent stockbroker, put money into Blairmore Holdings, which did not pay British tax.

There is no suggestion the arrangement was illegal, but the revelation has brought calls for David Cameron to come clean about his financial affairs. It has also given the prime minister's opponents a chance to depict him as a scion of wealth, out of touch with the financial worries of ordinary people.

Cameron has been fending off questions about his finances for days. Earlier this week, the British leader's office said the family's financial affairs were a private matter. Later Downing St. said the prime minister and his family "do not benefit from any offshore funds" — without specifying whether they had done so in the past.

On Thursday, Cameron said his father's name was being "dragged through the mud," and insisted Ian Cameron's offshore fund had not been set up to avoid tax.

"I want to be as clear as I can about the past, about the present, about the future, because frankly, I don't have anything to hide," he said.

Cameron has championed greater financial transparency in Britain and abroad, and is due to host an international anti-corruption summit in London next month.

But opposition politicians accuse him of failing to implement promises to reform British overseas territories that act as tax havens, including the British Virgin Islands and the Cayman Islands.