BlackBerry said it will continue to operate in Pakistan after the government withdrew a shutdown order, following a dispute over access to user data.

BlackBerry COO Marty Beard said in a blog post: “After productive discussions, the government of Pakistan has rescinded its shutdown order, and BlackBerry has decided to remain in the Pakistan market.”

BlackBerry argued that it is not in a position to provide the content of its customers’ BlackBerry Enterprise Service (BES) traffic or access to its BES servers.

The company said in late November it would exit Pakistan on 30 December, citing concerns over user privacy. The Pakistan government in July ordered the country’s mobile operators to shut down BlackBerry’s secure messaging service by the end of November for “security reasons”.

A report from Privacy International in July said Pakistan’s military intelligence agency, the Inter-Services Intelligence, was looking to expand its ability to intercept communications, Reuters reported.

Back in 2010 its BES encrypted service faced possible bans in at least five countries, including India and Indonesia.