In a landmark ruling on Friday, the International Court of Justice ordered that Israel must take action to protect human life in Gaza, siding with South Africa after it accused Israel of committing genocide in the territory — while stopping short of demanding a ceasefire.

South Africa accused Israel of genocide on Dec. 29, three months after a Hamas attack killed 1,200 people and took many more hostage. Israel responded by launching a war on Hamas in Gaza which, at the time of the ICJ filing, had killed more than 23,000 people, according to Hamas-run health authorities.

The case, which won widespread support across the Global South, represents a step by President Cyril Ramaphosa to reclaim the moral authority that South Africa gained after Nelson Mandela became president and then lost during Jacob Zuma’s corruption-tainted decade in power, according to political analysts.