Nathaniel Hawthorne (who as you can see was somewhat of a hottie) also experienced libel accusations in regard to one of his most famous works of fiction.
In The House of Seven Gables, the name of the corrupt, evil villain is Judge Pyncheon. It just so happens that there actually was a Judge Pyncheon, and one of his descendents wrote to Hawthorne, complaining of libel.
"It pains me to learn that I have given you what I am content to acknowledge a reasonable ground for offense, by borrowing the name of the Pyncheon family for my fictitious purposes, in the "House of the Seven Gables."
It never occurred to me, however, that the name was not as much the property of a romance-writer as that of Smith, for instance...
I intended no allusion to any Pyncheons, now or at any previous period extant...
You suggest that reparation is due for these injuries of my pen, but point out no mode in which it may be practicable. It is my own opinion that no real harm has been done; inasmuch as I expressly enter a protest, in the preface to "The House of the Seven Gables," against the narrative and the personages being considered as other than imaginary."
The entire letter is very apologetic in tone, and it seems that this was enough to "pacify" the complainant.
As it happens, we know Hawthorne absolutely meant no libel toward any Pyncheons because we know precisely on whom Judge Pyncheon was based.
But that is a tale for another day. :)