The Nigerian government has lifted its ban on Twitter in the West African country, seven months after the country’s more than 200 million people were shut out of the social media network.

Also read: Judge agrees to delay state trial for 3 cops in George Floyd death

Nigerian President Muhammadu Buhari directed that Twitter’s operations will resume in the country on Thursday, according to the director-general of the country’s National Information Technology Development Agency. Kashifu Inuwa Abdullahi said that was only after Twitter agreed to meet some conditions, including opening an office in Nigeria.

Also read: Pipeline spills 300,000 gallons of diesel near New Orleans

Nigeria suspended Twitter’s operation on June 4, citing “the persistent use of the platform for activities that are capable of undermining Nigeria’s corporate existence.” The action triggered criticisms as it came shortly after the social media network deleted a post by Buhari in which he threatened to treat separatists “in the language they will understand.”

Also read: US missed its climate targets as greenhouse emissions rose in 2021: Report

“Our action is a deliberate attempt to recalibrate our relationship with Twitter to achieve the maximum mutual benefits for our nation without jeopardizing the justified interests of the company. Our engagement has been very respectful, cordial, and successful,” Abdullahi said in a statement.

Also read: Marijuana compounds can stop coronavirus from entering human cells: Study

A spokesperson for Twitter did not immediately respond to a request for comment.

Also read: US inflation soared 7% in past year, the most since 1982

In addition to registering in Nigeria during the first quarter of 2022, Abdullahi said Twitter has also agreed to other conditions including appointing a designated country representative, complying with tax obligations and acting “with a respectful acknowledgement of Nigerian laws and the national culture and history on which such legislation has been built.”