NEW YORK - A judge says "Harry Potter" author J.K. Rowling has won her claim that a fan violated her copyright with his plans to publish a Potter encyclopedia.

Judge Robert Patterson said in a ruling Monday that Rowling had proven that Steven Vander Ark's "Harry Potter Lexicon" would cause her irreparable harm as a writer. Vander Ark runs the popular Harry Potter Lexicon website.