How does resignation help his legacy?
It shuts down the ethics investigation that would surely uncover enough to put him in Alcee Hastings territory.
No more details get dragged out in the media.