Did Western media and government hypocrisy bring about Julian Assange's arrest, or was it his bad manners?

Key points: The Ecuadorian embassy spent almost $1.4 million a year protecting Julian Assange

The Ecuadorian embassy spent almost $1.4 million a year protecting Julian Assange Ecuador emerged as a safe haven for the WikiLeaks founder in 2012

Ecuador emerged as a safe haven for the WikiLeaks founder in 2012 Embassy staff complained of him skateboarding at night, playing loud music and walking around in his underwear

The dramatic end to Assange's asylum has sparked curiosity about his seven-year stay inside Ecuador's embassy in London — a stay that officials there claim was marked by his late-night skateboarding, the physical harassment of his caretakers and even the smearing of his own faecal matter on the walls of the diplomatic mission.

It would have tested the patience of any host.

But for tiny Ecuador, which prides itself on its hospitality and spent almost $US1 million ($1.4 million) a year protecting Assange, it was also seen as a national insult.

"We've ended the asylum of this spoiled brat," a visibly flustered President Lenin Moreno said on Thursday in a fiery speech explaining his decision to withdraw protection of Assange and hand him over to British police.

"From now on we'll be more careful in giving asylum to people who are really worth it, and not miserable hackers whose only goal is to destabilise governments."

Others, including former Ecuadorian president Rafael Correa, who granted Assange asylum in 2012, said that while Assange violated the terms of his asylum and was a burden on Ecuador "that's no excuse for throwing him to the lions".

Ecuador emerged as a safe haven for the WikiLeaks founder in 2012 as his legal options to evade extradition to Sweden over sex crime accusations dried up in the United Kingdom.

On a June day, he moved into the country's embassy near the upscale Harrods department store for what most thought would be a short stay.

Instead, the cramped quarters, where a small office was converted into a bedroom, became a permanent address that some likened to a de facto jail.

As the asylum dragged on, his relations with his hosts soured and his behaviour allegedly became more erratic.

Embassy staff complained of him skateboarding at night, playing loud music and walking around in his underwear with no apparent concern for others in the tiny embassy.

Space to play or pause, M to mute, left and right arrows to seek, up and down arrows for volume. Watch Duration: 38 seconds 38 s Prime Minister says Assange won't get any "special treatment"

One senior Ecuadorian official described his room as a "sovereign territory within a sovereign territory" that none of the staff at No 3 Hans Crescent could enter.

But the stench from going weeks without a shower, and dental problems born of poor hygiene, was a constant nuisance, according to the official, who spoke on the condition of anonymity because he was not authorised to discuss details of Assange's behaviour.

Then there was the issue of Assange's faeces, which authorities said he spread across embassy walls on at least one occasion in an act of open defiance showing how little he thought of his hosts.

"When you're given shelter, cared for and provided food, you don't denounce the owner of the house," Mr Moreno said on Thursday, to applause.

Within months of taking office in 2017, Mr Moreno's government scolded Assange again for meddling in international affairs by voicing his support for Catalan secessionists from the Ecuadorian embassy.

Assange accused caretakers of being spies

Relations grew so prickly that last year Ecuador increased its restrictions on his internet access and required him to clean up after his cat James.

The rules said that if the cat was not properly fed and cleaned up after, it would be sent to the pound.

Assange tried challenging the restrictions in Ecuadorian court, to no avail.

More recently, as the feuding became more public, Ecuadorian officials say he started physically and verbally harassing his caretakers, accusing them of being US spies looking to exchange information on WikiLeaks in exchange for debt relief for Ecuador.

Foreign Minister Jose Valencia said an audio recording from a few months ago captured a moment when Assange threatened Ambassador Jaime Merchan with pressing some sort of panic button that he said would bring devastating consequences for the embassy in the event of his arrest.

Although it was not clear what he meant by the threat, authorities shared their concerns with British authorities and in carrying out the raid on Thursday, were careful to prevent Assange from returning to his room to execute any possible emergency plans.

The final straw for Mr Moreno was WikiLeaks' decision to spread information about a purported offshore account controlled by the President's brother.

In a separate incident, personal photographs of Mr Moreno lying in bed, as well as images of close family members dancing, were also leaked, further incensing the President.

Mr Correa, however, criticised a "double standard" by Western media and governments who he said have been quick to condemn Assange for publishing sensitive information about US national security interests.

"Although Julian Assange denounced war crimes, he's only the person supplying the information. It's the New York Times, the Guardian and El Pais publishing it. Why aren't those journalists and media owners thrown in jail?" he said in an interview in Brussels.

He said that if Assange had been a Chinese dissident exposing Russian secrets instead of facing arrest and extradition, "he'd be receiving awards right now in the UK and US".

AP

Editor's note May 23, 2019: This story has been edited to include attribution for the claims about Julian Assange's behaviour inside the embassy.