An Ecuadorian lawyer for Julian Assange has filed a complaint alleging diplomatic staff from Ecuador spied on the WikiLeaks founder while he was at the country’s London embassy.

The alleged spying uncovered information about Mr Assange’s legal defence and medical issues, Carlos Poveda said in the complaint submitted Monday to the attorney general’s office in Ecuador.

The lawyer claimed diplomats and members of a security firm were involved in surveillance efforts in west London.

Mr Assange had enjoyed asylum at the embassy since 2012, but Ecuador evicted him on 11 April. He is now in custody in the UK awaiting sentencing for skipping bail to avoid being sent to Sweden as part of an investigation into a rape allegation.

The US is also seeking his extradition after charging him with conspiring to break into a Pentagon computer system.

Key moments for Julian Assange Show all 9 1 /9 Key moments for Julian Assange Key moments for Julian Assange The situation today Assange was arrested after Metropolitan Police officers were invited into the Ecuadorian embassy on April 11 2019. How did it come to this? Ruptly TV Key moments for Julian Assange The break Assange shows the front page of the Guardian on July 26 2010, the day that they broke the story of the thousands of military files leaked by WikiLeaks AFP/Getty Key moments for Julian Assange Wanted A warrant for Assange's arrest was issued in August 2010 for counts of rape and molestation in Sweden AFP/Getty Key moments for Julian Assange Ruling The UK's Supreme Court ruled in 2012 that Assange should be extradited to Sweden to face trial Getty Key moments for Julian Assange Sanctuary Following the ruling, Assange was given asylum by the Ecuadorian governement over fears that his human rights would be violated if he were extradited, he has since remained in the embassy in London Getty Key moments for Julian Assange A friend in Pam Friend Pamela Anderson delivers lunch to Assange at the embassy in October 2016. She has since spoken against his arrest Getty Key moments for Julian Assange Arbitrarily detained A UN panel found in 2016 that Assange had been arbitrarily detained and that he had not been able to claim his full right to asylum. It urged Sweden to withdraw the charges against him Getty Key moments for Julian Assange The cat ultimatum Last year, the Ecuadorian embassy threatened to revoke Assange's internet access unless he stopped making political statements online and started taking better care of James, his pet cat. Assange accused Ecuador of violating his rights Reuters Key moments for Julian Assange Arrest Assange was arrested on April 11 2019. Ecuador revoked his asylum status and invited the Metropolitan Police in to the embassy to arrest him. Reuters

The British government has previously said the WikiLeaks founder will not face the death penalty if he is extradited to the US.

In letters sent last year to Ecuador’s president Lenin Moreno, both current foreign secretary Jeremy Hunt and his predecessor Boris Johnson said an extradition would not be ordered “unless the home secretary has first received an adequate assurance that the death penalty will not be imposed”.

The letters were sent before he was stripped of his political asylum and Ecuadorian nationality.

Julian Assange's lawyer denies the WikiLeaks founder spread faeces on Eduadorian embassy walls

Ecuador’s president Lenin Moreno said Mr Assange had been evicted from after “repeated violations to international conventions and daily-life protocols”, and later called him a “spoiled brat” who treated his hosts with disrespect.

Another of Mr Assange’s lawyers recently denied he had smeared excrement on the walls of the Ecuadorian embassy in London, after the claim was made by the nation’s interior minister Maria Paula Romo.

Jennifer Robinson said: “Ecuador has been making some pretty outrageous allegations … to justify what was an unlawful and extraordinary act in allowing British police to come inside an embassy.”

Ms Romo said Mr Assange’s mental and physical health had deteriorated during his seven-year stay in the embassy.