London, Sept 9 : Noted author JK Rowling has won the copyright case against a fan, who planned to publish a Harry Potter Lexicon.
Judge Robert Patterson in US District Court in Manhattan ruled in favour of the writer and Warner Brothers Entertainment - which has produced the Potter films.
In his ruling, the judge said, Rowling had proved that The Harry Potter Lexicon would cause her irreparable harm as a writer.
After the ruling, Rowling said that she is delighted that the issue has been resolved favourably.
"I took no pleasure at all in bringing legal action and am delighted that this issue has been resolved favourably," the Telegraph quoted her, as saying.
"I went to court to uphold the right of authors everywhere to protect their own original work. The court has upheld that right," she added.
She said that the unofficial book had taken an "enormous amount" of her work and "added virtually no original commentary of its own".
"Many books have been published which offer original insights into the world of Harry Potter. The Lexicon just is not one of them," she added.
The 43 year old writer had testified in New York in April that she had been deeply upset and unable to write because of plans to release the unauthorised Potter tome.
She said the book violated her copyright and "constitutes wholesale theft of 17 years of my hard work".
The judge said that RDR Books, an independent US publisher, had "failed to establish an affirmative defence of fair use" and so publication of its book should be stopped.