News, views and top stories in your inbox. Don't miss our must-read newsletter Sign up Thank you for subscribing We have more newsletters Show me See our privacy notice Invalid Email

Julian Assange is set to be quizzed by Swedish police over sexual assault allegations four years after entering the Ecuadorean embassy under political asylum.

The Wikileaks founder has been protected from repeated requests by the Swedish prosecutor to question him about an alleged 2010 sex attack, which he denies.

But a possible breakthrough to the impasse over his case has been revealed by the Ecuadorian attorney general who has delivered a document of agreement.

Mr Assange believes he will be taken to the United States to be quizzed over the activities of WikiLeaks if he goes to Sweden for the questioning.

The 45-year-old has offered to be questioned inside the embassy but the Swedish prosecutors only recently agreed.

A statement issued in Ecuador said: "In the coming weeks a date will be established for the proceedings to be held at the Embassy of Ecuador in the United Kingdom.

(Image: Reuters)

"For more than four years, the government of Ecuador has offered to co-operate in facilitating the questioning of Julian Assange in the Ecuadorian embassy in London, as well as proposing other political and legal measures, in order to reach a satisfactory solution for all parties involved in the legal case against Julian Assange , to end the unnecessary delays in the process and to ensure full and effective legal protection.

"In line with this position, Ecuador proposed to Sweden the negotiation of an Agreement on Mutual Legal Assistance in Criminal Matters, which was signed last December and which provides the legal framework for the questioning."

The statement said the proceedings did not affect the recent opinion of the Working Group on Arbitrary Detentions of the United Nations, which found that Mr Assange was being arbitrarily detained.

(Image: Getty)

The working group called for Mr Assange to be released and given compensation for violation of his rights.

The Ecuador statement added: "Ecuador's Foreign Ministry reiterates its commitment to the asylum granted to Julian Assange in August 2012, and reaffirms that the protection afforded by the Ecuadorian state shall continue while the circumstances persist that led to the granting of asylum, namely fears of political persecution."

In February, the UN issued its ruling stating that he should walk free from the Ecuadorian embassy .

Julian Assange Appears On Balcony Of Ecuadorian Embassy To Criticise UK:

Video Loading Video Unavailable Click to play Tap to play The video will start in 8 Cancel Play now

Assange filed a complaint against Sweden and the UK in September 2014 which was considered by the UN working group on Arbitrary Detention, but the findings were not “legally binding”.

Mr Assange's alleged victim, known only as SW, said in February: "“ Assange should take responsibility and let the investigation move forward.”