The resignation of Fiji's Chief Justice, Daniel Fatiaki, has come as a shock to many people in the country.
Daniel Fatiaki resigned as Fiji's Chief Justice on Friday, almost two years after the military told him to vacate his office.
The move was announced by the interim Attorney General Aiyaz Sayed Khaiyum.
He says Mr Fatiaki will be paid 148,000 US dollars and remain entitled to the privileges of a retired Chief Justice of Fiji.
Mr Fatiaki challenged his suspension and petition signed by about 100 lawyers called on President Iloilo to reinstate Mr Fatiaki.
Our correspondent in Fiji, Matelita Ragogo, says Mr Fatiaki's case drew a lot of interest in the country.
"For most people it also represented an action that would have proven that most what the interim administration did when they came into power were baseless and unfounded, and that most of there actions were really on the whims of whoever was heading or leading it."