South Africa's President Cyril Ramaphosa has welcomed the deal between Israel and Hamas for a four-day pause in fighting.
The start of the pause is due to be announced within 24 hours.
As part of the deal, Hamas will free 50 hostages it seized last month; Israel will release about 150 Palestinian prisoners.
In a statement, Ramaphosa said, "As a member of the international community that stands for peace, justice and the rule of international law in all parts of the world, South Africa welcomes the agreement reached.
“It is my hope that the achievement of this pause will strengthen efforts to achieve an outright end to the current conflict," he added.
South Africa's government - led by the African National Congress (ANC) - is a long-standing ally of the Palestinians.
Source: BBC