Ninety-five Libyan nationals have been arrested on suspicion of receiving training at an “illegal” military camp in South Africa, police have said.
Officers raided the farm near White River – a small town in the northern province of Mpumalanga – on Friday.
They said they found military tents, licenced firearms and other military equipment.
Cannabis and cocaine were also found at the camp, the police said.
Officers conducted the raid after receiving intelligence on Wednesday.
According to national police spokesperson Athlenda Mathe, the Libyans allegedly “misrepresented themselves” on their visa applications by saying they would be training as security guards.
The camp was initially registered as a training site for a security company but it appears to have been converted, a second police spokersperson, Donald Mdhluli, was quoted by the AFP news agency as saying.
Mr Mdhluli added that the owner of the security company was a South African national and that the police were investigating if he had permission to run the site as a military-style camp.
“We take any threat to the security and stability of our province and country very seriously,” police commissioner Zeph Mkhwanazi was quoted as saying in a police statement.
However, the same statement assured the public that there was “no immediate threat to community safety”.
Libya has suffered chronic insecurity since the overthrow of its autocratic leader Muammar Gaddafi in 2011.
Analysts say that in the past, factions in Libya have recruited foot soldiers from sub-Saharan Africa – and Friday’s developments raise serious questions about South Africa’s border security.
The 95 Libyan nationals have been taken into custody and are being questioned by the relevant authorities.
The police have not said who the detainees might have been receiving military training from.
More BBC stories from South Africa:
Go to BBCAfrica.com for more news from the African continent.
Follow us on Twitter @BBCAfrica, on Facebook at BBC Africa or on Instagram at bbcafrica