Botswana has been hit by an unprecedented cyberattack that has put a strain on the country’s security, government officials said.

The government said on Tuesday that an unspecified “security breach” had affected a large number of government entities, but did not give further details.

“The situation is rapidly deteriorating and security measures have been put in place, including security assessments of the targeted entities and the provision of the necessary services,” Botswana’s Department of Communications and Information Technology (DCIT) said in a statement.

The security breach was first reported on Tuesday evening by Reuters news agency, citing an unnamed government source.

Botswana said on Twitter it had launched an investigation into the breach and would “continue to monitor developments closely.”

The government is struggling to respond to a massive surge in ransomware attacks that have hit the country in recent months, with hundreds of thousands of infected computers across the country.