Chief Justice resigns