Ecuador has decided to grant Julian Assange political asylum, in a move meant to prevent the WikiLeaks founder from being extradited to Sweden where he is suspected of committing sexual offenses.

The Wikieaks founder is on the run from Swedish prosecutors on a sex abuse case

Ecuador has decided to grant Julian Assange political asylum, in a move meant to prevent the WikiLeaks founder from being extradited to Sweden where he is suspected of committing sexual offenses.

Assange decided to take refuge in Ecuador's U.K. embassy -- located in London's Belgravia district, close to Hyde Park -- in June after the U.K. Supreme Court denied his extradition appeal, allowing for him to be sent to Sweden to be questioned by the police.

The British government has reportedly said that it will not permit Assange to leave the country to travel to Ecuador, so that country's offer of asylum would likely restrict him to staying in its London embassy, as long as the U.K. respects that as sovereign territory under diplomatic treaties. On Wednesday, the embassy posted a statement on its website objecting to what it said were U.K. threats to enter the embassy forcibly.

Assange's stay in the U.K. has taken many twists and turns. The Swedish Prosecution Authority issued a European Arrest Warrant for Assange in November 2010, seeking his extradition to Sweden for questioning over allegations of sexual offenses. He was then arrested in London on Dec. 7, 2010, and placed under virtual house arrest while courts examined the extradition request, which he opposed.

Once Assange was in residence at the embassy, Ecuador offered Sweden the opportunity to question him there, but the suggestion was declined.

Assange's supporters feared that, in Sweden, he could face up to a year in solitary confinement awaiting questioning and up to four years in prison if he is charged and subsequently convicted.

They also feared that, from Sweden, he could be transferred to the U.S. to face charges under that country's Espionage Act. Rumors persist that the U.S. has empaneled a federal grand jury to determine whether charges should be brought against Assange.

Two of WikiLeaks' most widely reported leaks involved U.S. diplomatic cables ("Cablegate") and video from a U.S. helicopter gunship in Iraq (the so-called "Collateral Murder" video). A U.S. Army private, Bradley Manning, is charged with leaking the documents and is being held pending a military trial.