Egypt’s Islamist president has waded into a bitter Palestinian rivalry, meeting separately with leaders of the factions.

Mohammed Morsi first talked to Palestinian Authority President Mahmoud Abbas on Wednesday and then met with Hamas leader Khaled Mashaal.

Hamas is an offshoot of Morsi’s Muslim Brotherhood organization.

In November 2012, the Morsi administration mediated a ceasefire between Hamas and Israel that ended the IDF’s Operation Pillar of Defense.

The two Palestinian groups have been at odds since Hamas overran Gaza in 2007, ousting from the area forces from Fatah, which Abbas leads. Many efforts to end the split have failed since then.

In a sign that the equation may be changing with the Brotherhood’s rise to power in Egypt, for the first time Hamas allowed thousands of Fatah backers to rally in Gaza last week.

In 2011, Mashaal and Abbas signed a reconciliation agreement, but it was not implemented.