A federal judge ruled Tuesday that poker is more a game of skill than chance and cannot be prosecuted under a law created to stop organized crime families from making millions of dollars from gambling.

The decision by Judge Jack Weinstein in Brooklyn was embraced by advocates of card games pushing to legalize Internet poker in the United States. The judge relied extensively on the findings of a defense expert who analyzed online poker games.