Pakistan has set a December 30 deadline and cited "security concerns," the company said in a blog post Monday.
Pakistan had asked BlackBerry in July to give the government access to all encrypted traffic that flows through the company's servers. BlackBerry refused to comply with Pakistan's order.
"While we regret leaving this important market and our valued customers there, remaining in Pakistan would have meant forfeiting our commitment to protect our users' privacy," said Marty Beard, BlackBerry's chief operating officer, in the blog post. "That is a compromise we are not willing to make."
Beard noted that BlackBerry does provide law enforcement with access to secured messages when it's a matter of public safety. But he said Pakistan was looking for a permanent "back door" into BlackBerry's servers, demanding access to all customers' information. Read more on money.cnn.