QUITO, Ecuador — Ecuador’s government is cutting off WikiLeaks founder Julian Assange’s communications outside the nation’s London embassy.

Officials announced Wednesday they were taking the measure in response to Assange’s recent activity on social media.

As part of an agreement between Assange and the Ecuadorean government, he is not permitted to send any messages that could interfere with the South American nation’s relations with other countries.

Assange has been living in Ecuador’s embassy for more than five years.

Ecuador gave Assange asylum after he sought refuge in the embassy to avoid extradition to Sweden for investigation of sex-related claims. Sweden dropped the case, but Assange remains subject to arrest in Britain for jumping bail.