Workers arrested at South Africa's Marikana mine have been charged in court with the murder of 34 of their colleagues shot by police.
The 270 workers would be tried under the "common purpose" doctrine because they were in the crowd which confronted police on 16 August, an official said.
Police opened fire, killing 34 miners and sparking a national outcry.
The decision to charge the workers was "madness", said former ruling ANC party youth leader Julius Malema.
"The policemen who killed those people are not in custody, not even one of them. This is madness," said Mr Malema, who was expelled from the ANC (African National Congress) earlier this year following a series of disagreements with President Jacob Zuma.
"The whole world saw the policemen kill those people," Mr Malema said, adding that he would ask defence lawyers to make an urgent application at the high court.
The killing of the 34 was the most deadly police action since South Africa became a democracy in 1994.
Six of the 270 workers remain in hospital, after being wounded in the shooting at the mine owned by Lonmin, the world's third biggest platinum producer, in South Africa's North West province.
The other 264 workers appeared in the Ga Rankuwa magistrates court near the capital, Pretoria.
Their application for bail was rejected and the hearing was adjourned for seven days.
About 100 people protested outside the court, demanding the immediate release of the men.
National Prosecuting Authority (NPA) spokesman Frank Lesenyego told the BBC the 270 workers would all face murder charges - including those who were unarmed or were at the back of the crowd.
"This is under common law, where people are charged with common purpose in a situation where there are suspects with guns or any weapons and they confront or attack the police and a shooting takes place and there are fatalities," he said.
South African lawyer Jay Surju told the BBC's Focus on Africa programme that the "common purpose" doctrine was used by the former white minority regime against activists fighting for racial equality in South Africa.
"This is a very outdated and infamous doctrine," he said.
"It was discredited during the time of apartheid."
The decision has also been condemned as "a flagrant abuse of of the criminal justice system" by constitutional lawyer Pierre de Vos.
The best known case was that of the "Upington 14", who were sentenced to death in 1989 for the murder of a policeman in 1985.
The trial judge convicted the 14 activists, even though he acknowledged that they did not carry out the killing.
Anti-apartheid activists around the world protested against the ruling, which was overturned on appeal.
During a visit to the mine after the Marikana killings, President Zuma told workers he "felt their pain" and promised that a commission of inquiry would investigate the killings.
Mr Lesenyego said the commission would rule on the conduct of the police.
"It's a separate case," he said.
The commission and an internal police review are expected to take several months to complete.
Police said they started shooting after being threatened by large groups of miners armed with machetes.
Ten people, including two police officers and two security guards, were killed during the protests before the police shooting.
The protests were triggered by demands for a huge pay rise and recognition of a new union.
Talks are continuing to resolve the dispute, which has shut the mine for the past three weeks.