Israeli Prime Minister Benjamin Netanyahu has appointed a close Likud party ally as justice minister.

Amir Ohana's appointment on Wednesday came as Netanyahu heads an interim government following the dissolution of parliament last week. The prime minister also faces a hearing before the attorney general over corruption allegations and possible indictment.

Ohana is an ardent Netanyahu backer and has voiced support for a bill to grant a seated prime minister immunity from prosecution.

It remains unclear how, if at all, Ohana's appointment could impact the cases against the prime minister.

Netanyahu has also reportedly asked the attorney general for a second deferral of his hearing because of the snap elections called for September.

With his appointment, Ohana also becomes Israel's first openly gay Cabinet member.