WikiLeaks' Australian founder Julian Assange has stayed for nearly seven years in Ecuador's embassy in London. Here are the key developments in the affair:
2010: Leaks, arrest warrant
July, October 2010
WikiLeaks releases some 470,000 classified military documents concerning American diplomacy and the wars in Afghanistan and Iraq. It later releases a further tranche of more than 250,000 classified US diplomatic cables.
18 November 2010
A Swedish prosecutor issues a European arrest warrant for Mr Assange over sexual assault allegations involving two Swedish women. Mr Assange denies the claims, saying the young women consented.
December, 2010
Mr Assange turns himself in to police in London and is placed in custody pending a ruling on the Swedish extradition request. He is later released on bail and calls the Swedish allegations a smear campaign.
2011: Extradition ruling
February 2011
A British judge rules that Mr Assange can be extradited to Sweden. Mr Assange fears Sweden will hand him over to US authorities who could prosecute him for publishing the documents.
2012: Refuge at embassy
June 2012
Mr Assange takes refuge in the Ecuadoran embassy in London. He requests, and is later granted, political asylum.
2013: Safe-conduct refused
October 2013
Ecuador asks Britain in vain to allow Mr Assange to fly to Quito.
2016: UN appeal
January 2016
Ecuador rejects an offer by Swedish prosecutors to question Mr Assange in London.
February 2016
The UN Working Group on Arbitrary Detention says Mr Assange has been "arbitrarily detained" and should be able to claim compensation from Britain and Sweden. Britain and Sweden rebuff the non-binding ruling.
2017: Sex case closed
January 2017
WikiLeaks says Mr Assange could travel to the US to face investigation after one of the site's main sources Chelsea Manning is given clemency, but only if his rights were "guaranteed".
May 2017
Swedish prosecutors say they have closed their seven-year sex assault investigation. British police say they would still arrest Mr Assange if he leaves the embassy as he breached the terms of his bail in 2012.
December 2017
Ecuador grants Mr Assange nationality. Britain refuses Ecuador's request to accord Mr Assange diplomatic status, which would allow him to leave the embassy without being arrested.
2018: Ecuador seeks solution
January 2018
Ecuador says it is seeking a mediator to resolve Assange's "untenable" situation.
February 2018
Mr Assange loses a bid to have his British arrest warrant cancelled on health grounds.
March 2018
Ecuador cuts off Mr Assange's communications alleging he broke an agreement on interfering in other countries' affairs.
October 2018
Ecuador imposes new conditions on Mr Assange in the embassy, warning that breaching them could lead to the "end of asylum".
November 2018
US prosecutors inadvertently disclose the existence of a sealed indictment against Mr Assange.
2019: Ecuador complaint
April 2019: Ecuador's President Lenin Moreno says Mr Assange has "repeatedly violated" the conditions of his asylum at the embassy.
An independent rights expert was due to visit Mr Assange at the embassy on 25 April to assess whether the violation allegations merit investigation.
11 April: British police say they have arrested Mr Assange at the embassy after his asylum was withdrawn.
He was convicted of skipping bail and will be sentenced at a later date.
US officials later announced he had been charged with conspiracy to commit computer intrusion paving the way for his extradition to the US.