Ecuador's president says the UK has provided sufficient guarantees for Julian Assange to leave his government's embassy in London.
The WikiLeaks founder has been living under asylum at the embassy since 2012.
Lenin Moreno said in a radio interview that his government had received written assurances from the UK government not to extradite the Australian activist to any country where he would face the death penalty.
Mr Moreno did not say he would force Mr Assange out, but said Mr Assange's legal team is considering its next steps.
Scroll down for video
Ecuador's president says the UK has provided sufficient guarantees for Julian Assange (pictured) to leave his government's embassy in London
MailOnline has contacted the Home Office for comment.
Mr Assange has long maintained the he faces charges under seal in the US for revealing highly sensitive government information on his website.
While the exact charges against Assange remain unclear, WikiLeaks has served as a vehicle for release of thousands of classified US military and diplomatic cables.
WikiLeaks' role in releasing emails hacked from the Democratic National Committee in 2016 has also been under scrutiny as special counsel Robert Mueller has investigated Russian interference in the 2016 election and whether the campaign of then-presidential candidate Donald Trump was involved.
And while Mr Assange remains protected in the Ecuadorian embassy, there have been indications that officials in that country are losing patience with him.
They recently placed restrictions on his use of the embassy, including a requirement that he clean up after his cat.