Ecuador's government said on Wednesday it had cut off WikiLeaks founder Julian Assange's internet connection at the nation's London embassy after his recent activity on social media decrying the arrest of a Catalan separatist politician.

In a statement, officials said Assange's recent posts "put at risk" the good relations Ecuador maintains with nations throughout Europe and had decided as of Tuesday to suspend his internet access "in order to prevent any potential harm".

Assange has since gone silent on social media.

Ecuador granted Assange asylum in the South American nation's London embassy in 2012, where he has remained cooped up ever since.

Ecuador has repeatedly tried to find a solution that would allow Assange to leave without the threat of arrest, but with no success.