(File image) Saif al-Islam, son of the late Libyan leader Muammar Gaddafi, is expected to go on trial in Tripoli.

Tripoli - Muammar Gaddafi’s son and former heir Saif al-Islam will be put on trial inside Libya and there will be a verdict before the middle of June, a Libyan official said on Monday.

The decision comes despite appeals by rights groups to Libyan authorities to hand him over to the International Criminal Court in The Hague for trial, amid fears that he may not get a fair trial in Libya.

A trial in the capital Tripoli would, however, mark a small step forward for the central government, which has been struggling to unify the country under its authority since Muammar Gaddafi’s capture and killing last year.

Saif al-Islam had been held until now by his captors, ex-rebels from the town of Zintan, one of dozens of militias across the country operating outside government control. For months, the Zintan militia refused to give him up to Tripoli's officials.

Spokesperson of the ruling National Transitional Council Mohammed al-Hareizi said that Saif al-Islam will be transferred to Tripoli within 10 days and that his trial will conclude before parliamentary elections scheduled two months from now.

It was not immediately clear if he would be tried in a military court, where there is no appeal.

“He will be tried for rape, murder, corruption and we expect him to be tried and a verdict rendered before the upcoming elections in mid-June,” Al-Hareizi told reporters in Tripoli.

No timeframe was given for when his trial would begin, but Al-Hareizi said the trial could start as early as this month.

Saif al-Islam staunchly backed his father in his brutal crackdown on rebels in the regime's final days, warning of “rivers of blood” if demonstrators refused to accept government offers of reform.

The eight-month civil war, which began with protests inspired by successful revolts in Libya's neighbours Tunisia and Egypt, left thousands of people dead.

Saif al-Islam was captured in the southern desert of Libya in November by revolutionary fighters from Zintan. They have kept him in a secret location in the western Libyan town ever since as the government negotiated for his handover.

Zintan military council spokesperson Hassan Jwaili confirmed on Monday that they would hand Saif al-Islam over to authorities in Tripoli “some time this week with no conditions”.

Gaddafi, his son Saif al-Islam and former military intelligence chief Abdullah al-Senussi were named in arrest warrants the ICC issued in June for attacks against unarmed civilians in Benghazi, Tripoli, and other parts of Libya in February. The ICC said it was itself investigating numerous allegations of sexual violence by Gaddafi’s forces, and there are allegations that rape was used during the uprising to quell dissent.

Rights groups say that Al-Islam should face an international tribunal. Former rebels who suffered at the regime's hands have shown little regard for due process, and the murky circumstances surrounding the deaths of Gaddafi and another son Motassim on October 20, and the decision to lay out their bodies for public viewing, drew widespread criticism.

Libyan officials, however, insist that they will be the ones to try Al-Islam.

Saif al-Islam “has to be tried in Libya where it's a well-known fact that he has committed more crimes against the Libyan people than he did to others”, the NTC spokesperson said.

“It's a priority to try him under the Libyan law by Libyan judges on Libyan soil,” Al-Hareizi said, adding that authorities are taking necessary measures to ensure a fair trial. - Sapa-AP