Ecuador’s president has ramped up pressure on Julian Assange to leave his country’s embassy in London, saying Britain has provided sufficient guarantees that the WikiLeaks founder won’t be extradited to face the death penalty abroad.

Lenin Moreno’s comments suggest that months of quiet diplomacy between the UK and Ecuador to resolve Assange’s situation is bearing fruit at a time when questions are swirling about the former Australian hacker’s legal fate in the US.

“The road is clear for Mr Assange to take the decision to leave,” Moreno said in a radio interview on Thursday, referring to written assurances he said he had received from Britain.

Moreno didn’t say he would force Assange out, but said the activist’s legal team is considering its next steps.

Assange has been holed up in the Ecuadorian embassy since 2012, when he was granted asylum while facing allegations of sex crimes in Sweden that he said were a guise to extradite him to the US.

But his relations with his hosts have soured to the point that Moreno earlier this year cut off his access to the internet, purportedly for violating the terms of his asylum by speaking out on political matters.

Assange in turn sued, saying his rights as an Ecuadorian – he was granted citizenship last year as part of an apparent attempt to name him a diplomat and ferry him to Russia – were being violated.

The mounting tensions have drawn Moreno closer to the position of Britain, which for years has said it is barred by law from extraditing suspects to any jurisdiction where they would face capital punishment.

But nothing is preventing it from extraditing him to the US if prosecutors there were to pledge not to seek the death penalty.

Assange has long maintained that he faces charges under seal in the US for revealing highly sensitive government information on his website.

Those fears were heightened when US prosecutors last month mistakenly referenced criminal charges against him in an unrelated case.

The Associated Press and other outlets have reported that Assange is indeed facing unspecified charges under seal, but prosecutors have so far provided no official confirmation.

© AAP 2018