Jerusalem( CNN) A longtime senior Hamas official was elected Saturday to supplant the Palestinian militant group’s outgoing head, Khaled Meshaal, an official in Meshaal’s office told CNN.

Hamas’ Shura Council picked Ismail Haniya to become the new leader. Haniya is a onetime Palestinian prime minister are stationed in Gaza — which the group has controlled for 10 years.

The Shura Council will decide whether Haniya will follow the example of Meshaal and live outside Gaza. Meshaal has been living in expatriate in Qatar and once were living in Syria.

What’s the Israeli-Palestinian two-state answer?

Hamas leader: Trump has ‘historic opportunity’