SAO PAULO — The Brazilian Supreme Court’s Justice Alexandre de Moraes on Tuesday authorized the restoration of social media platform X ́s service in Brazil, over a month after its nationwide shutdown, according to a statement posted on the court’s website. Elon Musk’s X was blocked on Aug. 30 in the highly online country of 213 million people - and one of X’s biggest markets, with estimates of its user base ranging from 20 to 40 million.

De Moraes ordered the shutdown after a monthslong dispute with Musk over free speech, far-right accounts and misinformation. Musk had disparaged de Moraes, calling him an authoritarian and a censor, despite the fact his rulings, including X’s nationwide suspension, were repeatedly upheld by his peers. Despite Musk’s public bravado, X ultimately complied with all of de Moraes’ demands.

They included blocking certain accounts from the platform, paying outstanding fines and naming a legal representative in the country. Failure to do the latter had triggered the suspension. Just two days before the ban, on Aug.

28, X said it was removing all its remaining staff in Brazil “effective immediately,” saying de Moraes had threatened with arrest its legal representative in the country, Rachel de Oliveira Villa Nova Conceição, if X did not comply with orders to block accounts. Brazilian law requires foreign companies to have a local legal representative to receive notifications of court decisions and swiftly take any requisite ac.