On July 23, 2024, China mediated an agreement between Palestinian factions, including Hamas and Fatah, to end their longstanding division and form a national unity government.