Ecuador has refused to extradite Julian Assange to the US, effectively barring him from entering the country.
The Supreme Court of Ecuador ruled on Friday that Assange’s extradition to the United States is “unconstitutional” and will not proceed.
Ecuador has long been a safe haven for whistleblowers and political prisoners, and Assange has lived in the Ecuadorian embassy in London for years.
Assange has been granted asylum in the UK and sought political asylum in Sweden.
The court said in a written ruling that Assange has not been notified of the court’s decision and has the right to appeal.
The ruling came after the prosecutor of Ecuador’s criminal court asked for the extradition of Assange to face questioning in the United Kingdom.
It said Ecuador would not grant the request.
Assange, who has lived at the embassy in Knightsbridge since 2012, was granted political asylum last year in Sweden after facing sexual assault allegations in the country from women who said he assaulted them in 2012.
Assange faces allegations of rape, sexual assault and sexual coercion in Sweden, but has not yet been charged.
He denies the accusations.
Assange fled to the embassy last year to avoid extradition to Sweden, where he faces trial.