The boss of adultery website Ashley Madison has resigned from the firm in the wake of the hacking scandal, which saw the details of up to 37 million cheating spouses leaked.

Canadian entrepreneur Noel Biderman, the self-proclaimed "King of Infidelity", has stepped down as chief executive of Avid Life Media - the website's parent company.

The company will be run by the current senior management team until a new chief executive is appointed.

In a statement, the firm said: "This change is in the best interest of the company and allows us to continue to provide support to our members and dedicated employees. We are steadfast in our commitment to our customer base.

"We are actively adjusting to the attack on our business and members' privacy by criminals. We will continue to provide access to our unique platforms for our worldwide members.

"We are actively cooperating with international law enforcement in an effort to bring those responsible for the theft of proprietary member and business information to justice."

His sudden departure comes after hackers leaked the names, addresses, phone numbers and credit card details of users - including reportedly 1.2m people living in the UK - on the dark web.

Politicians, government and UN officials and even Vatican employees have reportedly have been exposed in the scandal, which has been linked to two suicides in Canada.

SNP MP Michelle Thomson has already denied any connection with the site after an email address allegedly linked to her appeared among the data posted. The MP for Edinburgh West said the "out-of-use" email address had been "harvested by hackers".

The group behind the attack - The Impact Team - breached Ashley Madison's servers last month.

They released the data to the dark web - a hidden part of the internet that cannot be accessed through normal browsers, and is often described as the "internet black market".

Mr Biderman, who is married, was reportedly personally caught up in the scandal when leaked emails suggested he has had affairs.

Mr Biderman has repeatedly told reporters that despite the nature of the website he ran, he has not cheated on his wife.

But according to Buzzfeed, hundreds of emails uploaded by hackers suggest he has.

He corresponded with a Toronto woman for nearly three years, and discussed meeting up at hotels and coffee shops, according to Buzzfeed.

When hackers uploaded the tranche of emails, they reportedly included a message that read: "Hey Noel, you can admit it's real now".