He pledged to 'drain the swamp' as supporters chanted 'lock her up'

She backed out of Marrakesh event amid a human right storm after Abedin wrote: 'She created this mess and she knows it.'

Abedin revealed: 'The condition upon which the Moroccans agreed to host the meeting was her participation.'

He highlights email from Huma Abedin revealing how Clinton got King of Morocco to underwrite $12m Clinton Foundation summit

Trump goes on offense over 'pay for play' revealed in Wikileaks emails from account of her campaign chair John Podesta

Donald Trump told supporters 'we love Wikileaks' at precisely the time hackers it claims are its supporters were 'taking down the internet'.

He spoke after launching a new attack Friday on Hillary Clinton, castigating her for a 'pay for play' arrangement that saw her attempting to wrangle $12 million from a north African monarch in exchange for a personal appearance at a Clinton Foundation summit.

'Now from WikiLeaks, we just learned she tried to get $12 million from the Kingdom of Morocco for an appearance,' Trump said during a rally in western North Carolina.

'More pay for play!' he boomed as a crowd of thousands booed and yelled, 'Lock her up!'

'That's why I'm proposing a path of ethics reforms to make our government honest again,' the Republican presidential nominee said.

'Boy we love Wikileaks': Trump used an email from the hacked trove to attack Clinton's 'pay-for-play' arrangement with the King of Morocco

Lock her up: The crowd chanted the slogan as Trump said it was time to 'drain the swamp'

$12 million get-together: Bill Clinton was the star turn at the Clinton Foundation's Clinton Global Initiative summit in Marrakesh in May 2015. It was his wife who solicited the cash from the country's king using her own presence as a quid-pro-quo, then did not go herself

Revelation: Huma Abedin's frank email emerged in Wikileaks and shows her disclosing that her boss Hillary Clinton was entirely responsible for the Marrakesh mess

Existing relationship: Hillary Clinton had met King Mohammed VI of Morocco a number of times, including in December 2013. The next year appears to be when she solicited the money from him

'It's time to drain the swamp in Washington, D.C.'

'Boy, we love WikiLeaks!' Trump exclaimed later.

As he spoke, internet users in the U.S. and the U.K. were hit with difficulties accessing services including Twitter, Spotify, Reddit and PayPal.

Hours later Wikileaks tweeted a message to its 'supporters' telling them 'to stop taking down the US internet'.

At the rally, hearing the chants of 'Lock her up,' he said his supporters should hold their fire – for the moment.

'Let's do this,' he said. 'If we win, we have lots of options. But we've got to win. What a waste of time if we don't pull this off!'

Trump rolled out a five-point ethics reform plan this week, including proposals to ban senior White House officials from lobbying for foreign governments for the rest of their lives.

His announcement couldn't have come at a more opportune time.

Hacked emails revealed internal disagreement this week among top Clinton aides about her desire to hold the Clinton Foundation summit in Marrakech, Morocco.

Top confidante Huma Abedin bluntly wrote in a January 2015 email that 'if HRC was not part of it, meeting was a non-starter.'

Then she warned: 'She created this mess and she knows it.'

It was an uncharacteristic remark from Huma, who is known for her abiding loyalty to Clinton over the years.

In her email, Abedin told Podesta and current Clinton campaign manager Robby Mook that the lavish May 2015 meeting of the Clinton Global Initiative was based on a $12 million pledge from Moroccan King Mohammed VI to host the event.

'The King has personally committed approx. $12 million both for the endowment and to support the meeting,' Abedin wrote.

Clinton Foundation records do not show any direct pledge of funding from the king or government of Morocco to the charity.

Commitments to the charity's 'global initiative' program are agreements to fund the program's international projects.

The hacked email, stolen from an account belonging to Clinton campaign chairman John Podesta, was among more than 4,000 posted Thursday on the website of the WikiLeaks organization.

In Wednesday's final presidential debate, Trump said he doubted the conclusion by U.S. intelligence officials that the Russian government is behind a string of recent targeted cyberattacks and subsequent leaks to influence the election.

Clinton sharply criticized the Republican nominee for using the stolen emails to attack her, as well as a past statement encouraging hackers to leak thousands of emails she deleted from a now-infamous homebrew server.

Royal audience: The wealthy scion of a powerful dynasty met Princess Lalla Salma, wife of the queen of Morocco at the royal palace in Marrakesh

Venue: The event was held in the Palais des Congrès, in Marrakesh and saw a series of Clinton fundraisers turn up as guests

Big donor: King Mohammad VI personally gave $12 million to host the event. The State Department's latest Report on Human Rights Practices says his country imprisons 'persons for political activities or beliefs under the cover of criminal charges'

HUMAN RIGHTS QUESTIONS Morocco's human rights records is not the worst in the Middle East, by far. But the latest State Department Report on Human Rights raises significant concerns - none of which seem to have affected Hillary Clinton when she solicited the country's king. It warns about there are political prisoners, that the government uses laws 'to restrict independent human rights groups and the press and social media' and that journalists have been subject to harassment and intimidation. Days after the CGI, it reported how police 'police forcibly dispersed a May 16 event organized by prominent lesbian, gay, bisexual, transgender, and intersex advocacy organization Aswat'. Corruption, it noted, is a serious problem in the police and judiciary. There is 'widespread disregard for the rule of law by security forces', it said. Advertisement

Podesta has warned that some emails may have been edited or altered by the hackers prior to release, though the Clinton campaign has yet to publicly identify an instance of that happening.

Clinton was no longer serving as secretary of State at the time of the meeting in Marrakech.

Politico has reported that the meeting was partly supported by a pledge of at least $1 million from OCP, a Moroccan phosphate export firm whose directors at the time included several top Moroccan government ministers, including the heads of the nation's foreign affairs and interior ministries.

The internal email exchange between Abedin, Mook and Podesta reveals that there was internal disagreement ahead of time over Clinton's push for the Moroccan meeting.

'Came up on our call with HRC. John flagged the same issues we discussed, Huma. HRC says she's still considering,' Mook wrote.

In her message, Abedin said that Clinton's personal appearance at the planned meeting was a key element in the Moroccan decision to host the event.

'The condition upon which the Moroccans agreed to host the meeting was her participation,' Abedin wrote.

She added that 'CGI also wasn't pushing for a meeting in Morocco and it wasn't their first choice.'

But days after OCP's role in the Marrakech meeting was publicized, Clinton decided not to attend.

Her decision came despite a November 2014 email in which Abedin insisted 'no matter what happens, she will be in Morocco hosting CGI on May 5-7, 2015. Her presence was a condition for the Moroccans to proceed so there is no going back on this.'

A week after the donation from OCP was revealed in April, the Clinton Foundation announced it was tightening its policy on donations from foreign governments, agreeing to allow financial gifts only from six nations that had previously supported the foundation's health, poverty and climate change programs.

Those nations were Australia, Canada, Germany, the Netherlands, Norway and the United Kingdom.

In August, former President Bill Clinton said that if his wife is elected, the family's foundation would no longer accept any donations from foreign governments or corporations, or from U.S. companies.