JOHANNESBURG (AP) — The police fired rubber bullets at striking miners at the Anglo American Platinum mine in Rustenburg on Saturday as the company announced that it had agreed to reinstate 12,000 South African workers dismissed earlier this month for staging illegal strikes.

The police fired on hundreds of miners in North West Province who had gathered near the Olympia Stadium, apparently to block a rally by the Congress of South African Trade Unions, which is part of the governing African National Congress. It was unclear if anyone had been injured.

The strikers, in the black T-shirts associated with the Association of Mineworkers and Construction Union and armed with sticks and stones, threatened to attack the trade union ralliers, wearing red T-shirts, according to the South African Press Association, which reported Saturday that some of the miners had vowed not to return to work until their wage demands were met.

The Association of Mineworkers is a newer, more radical union that represents strikers who regard the trade union group and the main mineworkers union, the National Union of Mineworkers, as too close to mine bosses. The miners say the main union has not been properly representing them during the strikes.